]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/minifram.h
delete children in ~wxWindow dtor and not in the base class ~wxWindowNative as it...
[wxWidgets.git] / include / wx / gtk / minifram.h
index 1828439281b67d0c050750ebc9bdf129e2743f95..5f62b0af38e17982369feaa557ebcca3c51e6dbb 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"
 
@@ -53,6 +56,7 @@ public:
             long style = wxDEFAULT_FRAME_STYLE | wxTINY_CAPTION_HORIZ,
             const wxString& name = wxFrameNameStr);
 
+    virtual void SetTitle( const wxString &title );
  // implementation
  
     bool   m_isDragging;
@@ -60,5 +64,7 @@ public:
     int    m_diffX,m_diffY;
 };
 
+#endif
+
 #endif
   //  __GTKMINIFRAMEH__