]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/minifram.h
Workaround for GTK+ sensitivity bug
[wxWidgets.git] / include / wx / minifram.h
index 7453a7fe8ea5216b54db17a666b54f838ebb0825..3dfe5814299da50986f4afbe995ebbaf47dc4122 100644 (file)
@@ -14,6 +14,8 @@
 
 #include "wx/defs.h"
 
+#if wxUSE_MINIFRAME
+
 #if defined(__WXPALMOS__)
 #include "wx/palmos/minifram.h"
 #elif defined(__WXMSW__)
@@ -27,7 +29,7 @@
 #elif defined(__WXX11__)
 #include "wx/x11/minifram.h"
 #elif defined(__WXMAC__)
-#include "wx/mac/minifram.h"
+#include "wx/osx/minifram.h"
 #elif defined(__WXPM__)
 #include "wx/os2/minifram.h"
 #else
@@ -37,5 +39,5 @@
 typedef wxFrame wxMiniFrame;
 #endif
 
-#endif
-    // _WX_MINIFRAM_H_BASE_
+#endif // wxUSE_MINIFRAME
+#endif // _WX_MINIFRAM_H_BASE_