]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/minifram.h
Fix some compilation and linking errors in samples.
[wxWidgets.git] / include / wx / gtk1 / minifram.h
index 1828439281b67d0c050750ebc9bdf129e2743f95..bedee8e0270e3c2d1910419f200bc97143d3e261 100644 (file)
 #ifndef __GTKMINIFRAMEH__
 #define __GTKMINIFRAMEH__
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
 #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__