X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c801d85f158c4cba50b588807daabdcbd0ed3853..7f42cff13eaba35dda3527b2ca658dd00b9e7a46:/include/wx/generic/msgdlgg.h?ds=sidebyside diff --git a/include/wx/generic/msgdlgg.h b/include/wx/generic/msgdlgg.h index a2029036a5..c9f3778037 100644 --- a/include/wx/generic/msgdlgg.h +++ b/include/wx/generic/msgdlgg.h @@ -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