X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f36e602b3f4cccedfa2d8932c288f3dfed7b549e..5df8beb1d95030c94f678458fc1980049f537992:/include/wx/generic/mdig.h?ds=sidebyside diff --git a/include/wx/generic/mdig.h b/include/wx/generic/mdig.h index d43fc4130c..f4366808cc 100644 --- a/include/wx/generic/mdig.h +++ b/include/wx/generic/mdig.h @@ -20,6 +20,9 @@ #include "wx/panel.h" #include "wx/notebook.h" +class WXDLLIMPEXP_FWD_CORE wxIcon; +class WXDLLIMPEXP_FWD_CORE wxIconBundle; + extern WXDLLEXPORT_DATA(const char) wxStatusLineNameStr[]; @@ -152,14 +155,6 @@ public: virtual void SetStatusWidths( int WXUNUSED(n), const int WXUNUSED(widths_field)[] ) {} #endif - // no size hints - virtual void DoSetSizeHints( int WXUNUSED(minW), - int WXUNUSED(minH), - int WXUNUSED(maxW) = wxDefaultCoord, - int WXUNUSED(maxH) = wxDefaultCoord, - int WXUNUSED(incW) = wxDefaultCoord, - int WXUNUSED(incH) = wxDefaultCoord) {} - #if wxUSE_TOOLBAR // no toolbar bars virtual wxToolBar* CreateToolBar( long WXUNUSED(style), @@ -170,6 +165,7 @@ public: #endif // no icon + void SetIcon(const wxIcon& WXUNUSED(icon)) { } virtual void SetIcons( const wxIconBundle& WXUNUSED(icons) ) { } // no maximize etc @@ -207,6 +203,11 @@ protected: virtual void DoMoveWindow(int x, int y, int width, int height); + // no size hints + virtual void DoSetSizeHints(int WXUNUSED(minW), int WXUNUSED(minH), + int WXUNUSED(maxW), int WXUNUSED(maxH), + int WXUNUSED(incW), int WXUNUSED(incH)) {} + // This function needs to be called when a size change is confirmed, // we needed this function to prevent any body from the outside // changing the panel... it messes the UI layout when we would allow it.