X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/debe6624c1e9d4bf3243381153d1e173c849bcd8..306dfc2b3d49ca45445bdfb2164fe1eea45ab321:/include/wx/generic/msgdlgg.h?ds=sidebyside diff --git a/include/wx/generic/msgdlgg.h b/include/wx/generic/msgdlgg.h index fb8aa5cc65..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, - 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