X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2049ba38adafa0ec146880de29f26e32dd69a125..306dfc2b3d49ca45445bdfb2164fe1eea45ab321:/include/wx/generic/msgdlgg.h diff --git a/include/wx/generic/msgdlgg.h b/include/wx/generic/msgdlgg.h index 724d4c6e9d..c9f3778037 100644 --- a/include/wx/generic/msgdlgg.h +++ b/include/wx/generic/msgdlgg.h @@ -40,11 +40,11 @@ public: DECLARE_EVENT_TABLE() }; -#ifndef __WXMSW__ +#if !defined( __WXMSW__ ) && !defined( __WXMAC__) #define wxMessageDialog wxGenericMessageDialog int wxMessageBox(const wxString& message, const wxString& caption = wxMessageBoxCaptionStr, - long style = wxOK|wxCENTRE, wxWindow *parent = NULL, int x = -1, int y = -1); + long style = wxOK|wxCENTRE, wxWindow *parent = (wxWindow *) NULL, int x = -1, int y = -1); #endif