From: Robin Dunn Date: Mon, 13 Sep 2004 23:19:23 +0000 (+0000) Subject: #if fix so we don't end up using the generic header on wxMac X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/67f6e901e6ce0810c892a2b792dcec8b2300053f #if fix so we don't end up using the generic header on wxMac git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/dirdlg.h b/include/wx/dirdlg.h index b9e6edd3a6..c6f4454aac 100644 --- a/include/wx/dirdlg.h +++ b/include/wx/dirdlg.h @@ -43,11 +43,11 @@ public: */ // Universal and non-port related switches with need for generic implementation -#if defined(__WXUNIVERSAL__) || \ - defined(__WXWINCE__) || \ - defined(__SALFORDC__) || \ - !wxUSE_OLE || \ - (defined (__GNUWIN32__) && !wxUSE_NORLANDER_HEADERS) +#if defined(__WXMSW__) && (defined(__WXUNIVERSAL__) || \ + defined(__WXWINCE__) || \ + defined(__SALFORDC__) || \ + !wxUSE_OLE || \ + (defined (__GNUWIN32__) && !wxUSE_NORLANDER_HEADERS)) #include "wx/generic/dirdlgg.h" #define wxDirDialog wxGenericDirDialog