X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1d6fcbcc7088e9c104b3dc5b4704a07f728d55ae..8257d7cd478c54532cc7d8fd0ace9faf5e9efb23:/include/wx/cocoa/notebook.h diff --git a/include/wx/cocoa/notebook.h b/include/wx/cocoa/notebook.h index 97cfd33c4c..8083ec895b 100644 --- a/include/wx/cocoa/notebook.h +++ b/include/wx/cocoa/notebook.h @@ -48,7 +48,7 @@ public: // ------------------------------------------------------------------------ protected: // Notebooks cannot be enabled/disabled - virtual void CocoaSetEnabled(bool enable) { } + virtual void CocoaSetEnabled(bool WXUNUSED(enable)) { } virtual void CocoaDelegate_tabView_didSelectTabViewItem(WX_NSTabViewItem tabviewItem); virtual bool CocoaDelegate_tabView_shouldSelectTabViewItem(WX_NSTabViewItem tabviewItem); // ------------------------------------------------------------------------ @@ -57,7 +57,6 @@ protected: public: // set the currently selected page, return the index of the previously // selected one (or -1 on error) - // NB: this function will _not_ generate wxEVT_NOTEBOOK_PAGE_xxx events int SetSelection(size_t nPage); // get the currently selected page int GetSelection() const;