// ========================================================================
// wxNotebook
// ========================================================================
-class WXDLLEXPORT wxNotebook: public wxNotebookBase, protected wxCocoaNSTabView
+class WXDLLIMPEXP_CORE wxNotebook: public wxNotebookBase, protected wxCocoaNSTabView
{
DECLARE_DYNAMIC_CLASS(wxNotebook)
DECLARE_EVENT_TABLE()
// ------------------------------------------------------------------------
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);
// ------------------------------------------------------------------------
// ------------------------------------------------------------------------
public:
// set the currently selected page, return the index of the previously
- // selected one (or -1 on error)
+ // selected one (or wxNOT_FOUND on error)
int SetSelection(size_t nPage);
// get the currently selected page
int GetSelection() const;
wxNotebookPage *win,
const wxString& strText,
bool bSelect = false,
- int imageId = -1 );
+ int imageId = NO_IMAGE );
protected:
};