X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e5633f9a1f59f0ebf3131477c8c5d107931def01..b23bc769d3d1943ca2b02ca90701d86b00880af9:/include/wx/cocoa/msgdlg.h?ds=sidebyside diff --git a/include/wx/cocoa/msgdlg.h b/include/wx/cocoa/msgdlg.h index 7b69bf6e50..1a22cb9c23 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