]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dirdlg.h
Set/GetTitle out of wxWindowBase, forked and put to gtk/window.h and mgl/window.h...
[wxWidgets.git] / include / wx / dirdlg.h
index 4e93c93c65acc0efb45e8ebbd7173b3e95c6335b..6ac8eb2c0cd8789d4fa4a89c50006c0513e900f7 100644 (file)
@@ -1,6 +1,8 @@
 #ifndef _WX_DIRDLG_H_BASE_
 #define _WX_DIRDLG_H_BASE_
 
+#if wxUSE_DIRDLG
+
 // ----------------------------------------------------------------------------
 // constants
 // ----------------------------------------------------------------------------
@@ -22,7 +24,7 @@ WXDLLEXPORT_DATA(extern const wxChar*) wxEmptyString;
 #elif defined(__WXQT__)
 #include "wx/qt/dirdlg.h"
 #elif defined(__WXMAC__)
-#ifdef __WXMAC_X__
+#ifdef __DARWIN__
 #include "wx/generic/dirdlgg.h"
 #else
 #include "wx/mac/dirdlg.h"
@@ -33,5 +35,7 @@ WXDLLEXPORT_DATA(extern const wxChar*) wxEmptyString;
 #include "wx/stubs/dirdlg.h"
 #endif
 
+#endif // wxUSE_DIRDLG
+
 #endif
     // _WX_DIRDLG_H_BASE_