]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/mdi.h
Make list consistent with tree in terms of Vetoed changes closing the inline edit...
[wxWidgets.git] / include / wx / gtk / mdi.h
index 5dd2ae17626a0c7853394daa37f0aeb384b2274e..b6e054b6482fff347586b8a3a98a625e78388f52 100644 (file)
@@ -11,7 +11,7 @@
 #ifndef __MDIH__
 #define __MDIH__
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface
 #endif
 
@@ -144,7 +144,7 @@ public:
 #endif
 
     // no size hints
-    virtual void SetSizeHints( int WXUNUSED(minW),
+    virtual void DoSetSizeHints( int WXUNUSED(minW),
                                int WXUNUSED(minH),
                                int WXUNUSED(maxW) = -1,
                                int WXUNUSED(maxH) = -1,
@@ -184,6 +184,11 @@ public:
     bool               m_justInserted;
 
 protected:
+    // override wxFrame methods to not do anything
+    virtual void DoSetSize(int x, int y,
+                           int width, int height,
+                           int sizeFlags = wxSIZE_AUTO);
+    virtual void DoSetClientSize(int width, int height);
     virtual void DoGetClientSize( int *width, int *height ) const;
 
 private: