X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c801d85f158c4cba50b588807daabdcbd0ed3853..c96faa7c9b1926d63a2fff32ac4508d3138a7bee:/include/wx/generic/msgdlgg.h?ds=sidebyside diff --git a/include/wx/generic/msgdlgg.h b/include/wx/generic/msgdlgg.h index a2029036a5..6f7401a217 100644 --- a/include/wx/generic/msgdlgg.h +++ b/include/wx/generic/msgdlgg.h @@ -22,7 +22,7 @@ // type is an 'or' (|) of wxOK, wxCANCEL, wxYES_NO // Returns wxYES/NO/OK/CANCEL -WXDLLEXPORT_DATA(extern const char*) wxMessageBoxCaptionStr; +WXDLLEXPORT_DATA(extern const wxChar*) wxMessageBoxCaptionStr; class WXDLLEXPORT wxGenericMessageDialog: public wxDialog { @@ -40,11 +40,11 @@ public: DECLARE_EVENT_TABLE() }; -#ifndef __WINDOWS__ +#if !defined( __WXMSW__ ) && !defined( __WXMAC__) #define wxMessageDialog wxGenericMessageDialog int wxMessageBox(const wxString& message, const wxString& caption = wxMessageBoxCaptionStr, - const long style = wxOK|wxCENTRE, wxWindow *parent = NULL, const int x = -1, const int y = -1); + long style = wxOK|wxCENTRE, wxWindow *parent = (wxWindow *) NULL, int x = -1, int y = -1); #endif