X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c801d85f158c4cba50b588807daabdcbd0ed3853..4875458c3e56c10f92e6ba9d85bea68435386beb:/include/wx/generic/textdlgg.h diff --git a/include/wx/generic/textdlgg.h b/include/wx/generic/textdlgg.h index 0cf94426a3..e93dd84f5b 100644 --- a/include/wx/generic/textdlgg.h +++ b/include/wx/generic/textdlgg.h @@ -20,8 +20,8 @@ #include "wx/dialog.h" // Handy dialog functions (will be converted into classes at some point) -WXDLLEXPORT_DATA(extern const char*) wxGetTextFromUserPromptStr; -WXDLLEXPORT_DATA(extern const char*) wxEmptyString; +WXDLLEXPORT_DATA(extern const wxChar*) wxGetTextFromUserPromptStr; +WXDLLEXPORT_DATA(extern const wxChar*) wxEmptyString; #define wxID_TEXT 3000 @@ -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