X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e27ce4e910f99ab572a609b7d560abf56440f81d..58a8ab88685a72ac030d5e2ade62b4d796f11bed:/include/wx/gtk1/mdi.h diff --git a/include/wx/gtk1/mdi.h b/include/wx/gtk1/mdi.h index 5ca18eee70..d49600fa0a 100644 --- a/include/wx/gtk1/mdi.h +++ b/include/wx/gtk1/mdi.h @@ -116,7 +116,7 @@ class wxMDIChildFrame: public wxFrame long style = wxDEFAULT_FRAME_STYLE, const wxString& name = wxFrameNameStr ); virtual void SetMenuBar( wxMenuBar *menu_bar ); - virtual wxMenuBar *GetMenuBar(); + virtual wxMenuBar *GetMenuBar() const; virtual void GetClientSize( int *width, int *height ) const; virtual void AddChild( wxWindow *child ); @@ -131,13 +131,16 @@ class wxMDIChildFrame: public wxFrame virtual void SetStatusWidths( int WXUNUSED(n), int *WXUNUSED(width) ) {} // no size hints - virtual void SetSizeHints( int WXUNUSED(minW), int WXUNUSED(minH), int WXUNUSED(maxW), - int WXUNUSED(maxH), int WXUNUSED(incW) ) {} + virtual void SetSizeHints( int WXUNUSED(minW), int WXUNUSED(minH), + int WXUNUSED(maxW), int WXUNUSED(maxH), + int WXUNUSED(incW) ) + { + } // no toolbar bars virtual wxToolBar* CreateToolBar( long WXUNUSED(style), wxWindowID WXUNUSED(id), const wxString& WXUNUSED(name) ) { return (wxToolBar*)NULL; } - virtual wxToolBar *GetToolBar() { return (wxToolBar*)NULL; } + virtual wxToolBar *GetToolBar() const { return (wxToolBar*)NULL; } // no icon void SetIcon( const wxIcon &icon ) { m_icon = icon; }