X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e5633f9a1f59f0ebf3131477c8c5d107931def01..9eaadb1b8c3963bd1e2a8abc9ecc67375081dd05:/include/wx/cocoa/msgdlg.h 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