X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/479cd5de40ca8029c79e780170fa7c0af7ec0297..d62b93c4677b5cf595f06bfae41e7ac38f2581b6:/include/wx/generic/msgdlgg.h diff --git a/include/wx/generic/msgdlgg.h b/include/wx/generic/msgdlgg.h index 80e9d48827..74f55850b4 100644 --- a/include/wx/generic/msgdlgg.h +++ b/include/wx/generic/msgdlgg.h @@ -6,13 +6,13 @@ // Created: 01/02/97 // RCS-ID: $Id$ // Copyright: (c) -// Licence: wxWindows licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef __MSGDLGH_G__ #define __MSGDLGH_G__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "msgdlgg.h" #endif @@ -22,7 +22,7 @@ // type is an 'or' (|) of wxOK, wxCANCEL, wxYES_NO // Returns wxYES/NO/OK/CANCEL -WXDLLEXPORT_DATA(extern const wxChar*) wxMessageBoxCaptionStr; +extern WXDLLEXPORT_DATA(const wxChar*) wxMessageBoxCaptionStr; class WXDLLEXPORT wxGenericMessageDialog: public wxDialog { @@ -43,18 +43,8 @@ private: DECLARE_EVENT_TABLE() }; -#if !defined( __WXMSW__ ) && !defined( __WXMAC__) && !defined(__WXPM__) +#if (!defined( __WXMSW__ ) && !defined( __WXMAC__) && !defined(__WXPM__)) || defined(__WXUNIVERSAL__) #define wxMessageDialog wxGenericMessageDialog - -int wxMessageBox( const wxString& message - ,const wxString& caption = wxMessageBoxCaptionStr - ,long style = wxOK|wxCENTRE - ,wxWindow *parent = (wxWindow *) NULL - ,int x = -1 - ,int y = -1 - ); - #endif -#endif - // __MSGDLGH_G__ +#endif // __MSGDLGH_G__