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