]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/minifram.h
Cleaned up paint DC cache in ~wxPaintDC to avoid spurious memory warning
[wxWidgets.git] / include / wx / gtk / minifram.h
index 1828439281b67d0c050750ebc9bdf129e2743f95..f0edcd4b4d6ed320d839bd649b051332c3014c75 100644 (file)
@@ -15,6 +15,9 @@
 #endif
 
 #include "wx/defs.h"
 #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__