]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/minifram.h
added native wxColourDialog for GTK2
[wxWidgets.git] / include / wx / gtk1 / minifram.h
index 1828439281b67d0c050750ebc9bdf129e2743f95..6c2e4cedf39b48d38dba269d443b11a3814474a7 100644 (file)
 #ifndef __GTKMINIFRAMEH__
 #define __GTKMINIFRAMEH__
 
 #ifndef __GTKMINIFRAMEH__
 #define __GTKMINIFRAMEH__
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface
 #endif
 
 #include "wx/defs.h"
 #pragma interface
 #endif
 
 #include "wx/defs.h"
+
+#if wxUSE_MINIFRAME
+
 #include "wx/object.h"
 #include "wx/frame.h"
 
 #include "wx/object.h"
 #include "wx/frame.h"
 
@@ -60,5 +63,7 @@ public:
     int    m_diffX,m_diffY;
 };
 
     int    m_diffX,m_diffY;
 };
 
+#endif
+
 #endif
   //  __GTKMINIFRAMEH__
 #endif
   //  __GTKMINIFRAMEH__