X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8029fe033ce9f31b3d9fabeecd06f6cddc24600c..39c0acb66674c5e0424633cf162e6c10c92178d4:/include/wx/generic/mdig.h?ds=sidebyside diff --git a/include/wx/generic/mdig.h b/include/wx/generic/mdig.h index 715f4a22d3..1f6a7311de 100644 --- a/include/wx/generic/mdig.h +++ b/include/wx/generic/mdig.h @@ -12,7 +12,7 @@ #ifndef _WX_MDIG_H_ #define _WX_MDIG_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "mdig.h" #endif @@ -175,8 +175,8 @@ public: #endif // no icon - void SetIcon( const wxIcon &icon ) { /*m_icons = wxIconBundle( icon );*/} - void SetIcons( const wxIconBundle &icons ) { /*m_icons = icons;*/ } + void SetIcon( const wxIcon& WXUNUSED(icon) ) { } + void SetIcons( const wxIconBundle& WXUNUSED(icons) ) { } // no maximize etc virtual void Maximize( bool WXUNUSED(maximize) = TRUE) { /* Has no effect */ } @@ -237,7 +237,7 @@ public: ~wxGenericMDIClientWindow(); virtual bool CreateClient( wxGenericMDIParentFrame *parent, long style = wxVSCROLL | wxHSCROLL ); - virtual int SetSelection(int nPage); + virtual int SetSelection(size_t nPage); protected: void PageChanged(int OldSelection, int newSelection);