Corrected missing pipe in treectrl.h, wxOK->wxID_OK in wxGetTextFromUser,
no offsets in 2 functions in wxDC git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@91 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -136,7 +136,7 @@ wxString wxGetTextFromUser(const wxString& message, const wxString& caption,
|
||||
int x, int y, bool WXUNUSED(centre) )
|
||||
{
|
||||
wxTextEntryDialog dialog(parent, message, caption, defaultValue, wxOK|wxCANCEL, wxPoint(x, y));
|
||||
if (dialog.ShowModal() == wxOK)
|
||||
if (dialog.ShowModal() == wxID_OK)
|
||||
return dialog.GetValue();
|
||||
else
|
||||
return wxString("");
|
||||
|
Reference in New Issue
Block a user