X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e1d63b79352db5290a9f86428d193bd6a08ef32f..4add61fd8b7e56adeb912503c67f4cf1a4065e79:/include/wx/palmos/notebook.h diff --git a/include/wx/palmos/notebook.h b/include/wx/palmos/notebook.h index 2548ccce4f..5e85e4259d 100644 --- a/include/wx/palmos/notebook.h +++ b/include/wx/palmos/notebook.h @@ -12,10 +12,6 @@ #ifndef _NOTEBOOK_H #define _NOTEBOOK_H -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma interface "notebook.h" -#endif - #if wxUSE_NOTEBOOK // ---------------------------------------------------------------------------- @@ -28,7 +24,7 @@ // wxNotebook // ---------------------------------------------------------------------------- -class WXDLLEXPORT wxNotebookPageInfo : public wxObject +class WXDLLIMPEXP_CORE wxNotebookPageInfo : public wxObject { public : wxNotebookPageInfo() { m_page = NULL ; m_imageId = -1 ; m_selected = false ; } @@ -52,7 +48,7 @@ private : WX_DECLARE_EXPORTED_LIST(wxNotebookPageInfo, wxNotebookPageInfoList ); -class WXDLLEXPORT wxNotebook : public wxNotebookBase +class WXDLLIMPEXP_CORE wxNotebook : public wxNotebookBase { public: // ctors @@ -91,6 +87,9 @@ public: // get the currently selected page int GetSelection() const { return m_nSelection; } + // changes the selected page without sending events + int ChangeSelection(size_t nPage); + // set/get the title of a page bool SetPageText(size_t nPage, const wxString& strText); wxString GetPageText(size_t nPage) const; @@ -146,7 +145,7 @@ public: // callbacks // --------- void OnSize(wxSizeEvent& event); - void OnSelChange(wxNotebookEvent& event); + void OnSelChange(wxBookCtrlEvent& event); void OnNavigationKey(wxNavigationKeyEvent& event); // base class virtuals