]> git.saurik.com Git - wxWidgets.git/commitdiff
#if fix so we don't end up using the generic header on wxMac
authorRobin Dunn <robin@alldunn.com>
Mon, 13 Sep 2004 23:19:23 +0000 (23:19 +0000)
committerRobin Dunn <robin@alldunn.com>
Mon, 13 Sep 2004 23:19:23 +0000 (23:19 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/dirdlg.h

index b9e6edd3a6183afb6901821e28c0960ba5c9d463..c6f4454aac5b13f4f6ce7fa672ef7c9441da4388 100644 (file)
@@ -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