X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f618020a15f1647a83aaeab1fe315f90497a9876..31ad423e4fb556ec225a63b161154d3bf3445c1b:/include/wx/gtk/mdi.h?ds=sidebyside diff --git a/include/wx/gtk/mdi.h b/include/wx/gtk/mdi.h index 5dd2ae1762..69104769f2 100644 --- a/include/wx/gtk/mdi.h +++ b/include/wx/gtk/mdi.h @@ -11,7 +11,7 @@ #ifndef __MDIH__ #define __MDIH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif @@ -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: