X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e450aa692b887adbae4350896f6c90ec8e1368e3..408ac1b8cf965067dbc0c36beabac0c8a5769501:/include/wx/notebook.h?ds=inline diff --git a/include/wx/notebook.h b/include/wx/notebook.h index ec0dfa5ba3..aac71c2032 100644 --- a/include/wx/notebook.h +++ b/include/wx/notebook.h @@ -48,7 +48,7 @@ enum // array of notebook pages typedef wxWindow wxNotebookPage; // so far, any window can be a page -WX_DEFINE_EXPORTED_ARRAY(wxNotebookPage *, wxArrayPages); +WX_DEFINE_EXPORTED_ARRAY_NO_PTR(wxNotebookPage *, wxArrayPages); #define wxNOTEBOOK_NAME _T("notebook") @@ -159,7 +159,8 @@ public: // hit test, returns which tab is hit and, optionally, where (icon, label) // (not implemented on all platforms) - virtual int HitTest(const wxPoint& pt, long *flags = NULL) const + virtual int HitTest(const wxPoint& WXUNUSED(pt), + long * WXUNUSED(flags) = NULL) const { return wxNOT_FOUND; } @@ -218,7 +219,7 @@ private: int m_nSel, // currently selected page m_nOldSel; // previously selected page - DECLARE_DYNAMIC_CLASS(wxNotebookEvent) + DECLARE_DYNAMIC_CLASS_NO_COPY(wxNotebookEvent) }; // ----------------------------------------------------------------------------