]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/textdlgg.h
fixed sending 2 events (normal and bogus cancel one) when ending to edit a tree ctrl...
[wxWidgets.git] / include / wx / generic / textdlgg.h
index 876389d0e7e5c02a92a2a315f479e69448e12814..b255dd89a46e3a7227b6f6d69bb150f0de4d6be6 100644 (file)
@@ -78,9 +78,9 @@ wxGetTextFromUser(const wxString& message,
                   const wxString& caption = wxGetTextFromUserPromptStr,
                   const wxString& default_value = wxEmptyString,
                   wxWindow *parent = (wxWindow *) NULL,
                   const wxString& caption = wxGetTextFromUserPromptStr,
                   const wxString& default_value = wxEmptyString,
                   wxWindow *parent = (wxWindow *) NULL,
-                  int x = -1,
-                  int y = -1,
-                  bool centre = TRUE);
+                  int x = wxDefaultCoord,
+                  int y = wxDefaultCoord,
+                  bool centre = true);
 
 wxString WXDLLEXPORT
 wxGetPasswordFromUser(const wxString& message,
 
 wxString WXDLLEXPORT
 wxGetPasswordFromUser(const wxString& message,