Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong syntax for GetMessageFromUser #2

Open
ramezrafla opened this issue Feb 17, 2014 · 0 comments
Open

Wrong syntax for GetMessageFromUser #2

ramezrafla opened this issue Feb 17, 2014 · 0 comments

Comments

@ramezrafla
Copy link

In CppTrial-pg228A.pl, '20' is always displayed as starting value in the input box:

Replace wrong code (third argument is starting value):

 Wx::GetTextFromUser( 
                 "This is some text, actually a lot of text\nEven two rows of text",
                 "Enter a String: ", wxOK | wxCANCEL, $self);

With

 Wx::GetTextFromUser( 
                 "This is some text, actually a lot of text\nEven two rows of text",
                 "Enter a String: ", "Starting value");

Reference: http://www.perlmonks.org/?node_id=1018586

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant