X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e5633f9a1f59f0ebf3131477c8c5d107931def01..09b895cb4a954494063eb17d3dc302a654fd99e5:/include/wx/cocoa/msgdlg.h diff --git a/include/wx/cocoa/msgdlg.h b/include/wx/cocoa/msgdlg.h index 7b69bf6e50..62c1d1dc7f 100644 --- a/include/wx/cocoa/msgdlg.h +++ b/include/wx/cocoa/msgdlg.h @@ -25,10 +25,11 @@ DECLARE_WXCOCOA_OBJC_CLASS(NSAlert); #endif #endif -#if defined(__WX_COMPILING_COCOA_MSGDLG_MM__) || wxUSE_COCOA_NATIVE_MSGDLG +#include "wx/generic/msgdlgg.h" + +#if wxUSE_COCOA_NATIVE_MSGDLG #define wxMessageDialog wxCocoaMessageDialog #else - #include "wx/generic/msgdlgg.h" #define wxMessageDialog wxGenericMessageDialog #endif @@ -38,7 +39,7 @@ DECLARE_WXCOCOA_OBJC_CLASS(NSAlert); -class WXDLLEXPORT wxCocoaMessageDialog: public wxMessageDialogBase +class WXDLLIMPEXP_CORE wxCocoaMessageDialog: public wxMessageDialogBase { DECLARE_DYNAMIC_CLASS(wxCocoaMessageDialog) DECLARE_NO_COPY_CLASS(wxCocoaMessageDialog)