projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
create tests/window directory for wxWindow tests
[wxWidgets.git]
/
src
/
palmos
/
notebook.cpp
diff --git
a/src/palmos/notebook.cpp
b/src/palmos/notebook.cpp
index 71aca55caab233abc9865c3fea035b906529abef..bca31c6f8613ff4e38e4824834e43c3a118b0d9a 100644
(file)
--- a/
src/palmos/notebook.cpp
+++ b/
src/palmos/notebook.cpp
@@
-36,12
+36,12
@@
#include "wx/listimpl.cpp"
#include "wx/listimpl.cpp"
-WX_DEFINE_LIST( wxNotebookPageInfoList )
;
+WX_DEFINE_LIST( wxNotebookPageInfoList )
DEFINE_EVENT_TYPE(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED)
DEFINE_EVENT_TYPE(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING)
DEFINE_EVENT_TYPE(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED)
DEFINE_EVENT_TYPE(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING)
-BEGIN_EVENT_TABLE(wxNotebook, wx
Control
)
+BEGIN_EVENT_TABLE(wxNotebook, wx
BookCtrlBase
)
EVT_NOTEBOOK_PAGE_CHANGED(wxID_ANY, wxNotebook::OnSelChange)
EVT_SIZE(wxNotebook::OnSize)
EVT_NOTEBOOK_PAGE_CHANGED(wxID_ANY, wxNotebook::OnSelChange)
EVT_SIZE(wxNotebook::OnSize)
@@
-87,7
+87,7
@@
wxBEGIN_FLAGS( wxNotebookStyle )
wxEND_FLAGS( wxNotebookStyle )
wxEND_FLAGS( wxNotebookStyle )
-IMPLEMENT_DYNAMIC_CLASS_XTI(wxNotebook, wx
Control
,"wx/notebook.h")
+IMPLEMENT_DYNAMIC_CLASS_XTI(wxNotebook, wx
BookCtrlBase
,"wx/notebook.h")
IMPLEMENT_DYNAMIC_CLASS_XTI(wxNotebookPageInfo, wxObject , "wx/notebook.h" )
wxCOLLECTION_TYPE_INFO( wxNotebookPageInfo * , wxNotebookPageInfoList ) ;
IMPLEMENT_DYNAMIC_CLASS_XTI(wxNotebookPageInfo, wxObject , "wx/notebook.h" )
wxCOLLECTION_TYPE_INFO( wxNotebookPageInfo * , wxNotebookPageInfoList ) ;
@@
-124,7
+124,7
@@
wxEND_HANDLERS_TABLE()
wxCONSTRUCTOR_4( wxNotebookPageInfo , wxNotebookPage* , Page , wxString , Text , bool , Selected , int , ImageId )
#else
wxCONSTRUCTOR_4( wxNotebookPageInfo , wxNotebookPage* , Page , wxString , Text , bool , Selected , int , ImageId )
#else
-IMPLEMENT_DYNAMIC_CLASS(wxNotebook, wx
Control
)
+IMPLEMENT_DYNAMIC_CLASS(wxNotebook, wx
BookCtrlBase
)
IMPLEMENT_DYNAMIC_CLASS(wxNotebookPageInfo, wxObject )
#endif
IMPLEMENT_DYNAMIC_CLASS(wxNotebookEvent, wxNotifyEvent)
IMPLEMENT_DYNAMIC_CLASS(wxNotebookPageInfo, wxObject )
#endif
IMPLEMENT_DYNAMIC_CLASS(wxNotebookEvent, wxNotifyEvent)
@@
-194,6
+194,11
@@
int wxNotebook::SetSelection(size_t nPage)
return 0;
}
return 0;
}
+int wxNotebook::ChangeSelection(size_t nPage)
+{
+ return 0;
+}
+
bool wxNotebook::SetPageText(size_t nPage, const wxString& strText)
{
return false;
bool wxNotebook::SetPageText(size_t nPage, const wxString& strText)
{
return false;