]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/textdlgg.h
Fixed property list OnClose problem that caused Dialog Editor problem
[wxWidgets.git] / include / wx / generic / textdlgg.h
index 0cf94426a375fac2351a4785c8f497fbad85e5af..5b5eccb267ef68379279f6039db2f964a5d24b46 100644 (file)
@@ -44,7 +44,7 @@ DECLARE_EVENT_TABLE()
 };
 
 wxString WXDLLEXPORT wxGetTextFromUser(const wxString& message, const wxString& caption = wxGetTextFromUserPromptStr,
-                        const wxString& default_value = wxEmptyString, wxWindow *parent = NULL,
+                        const wxString& default_value = wxEmptyString, wxWindow *parent = (wxWindow *) NULL,
                         int x = -1, int y = -1, bool centre = TRUE);
 
 #endif