wxNotebook compilation fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 1999-06-10 20:48:15 +00:00
parent 04e8174b84
commit 9026ad85a9
2 changed files with 3 additions and 4 deletions

View File

@ -143,7 +143,7 @@ public:
// callbacks
// ---------
void OnWindowCreate(wxWindowCreateEvent& event);
void OnSize(wxSizeEvent& event);
void OnSelChange(wxNotebookEvent& event);
void OnSetFocus(wxFocusEvent& event);
void OnNavigationKey(wxNavigationKeyEvent& event);

View File

@ -68,8 +68,7 @@
BEGIN_EVENT_TABLE(wxNotebook, wxControl)
EVT_NOTEBOOK_PAGE_CHANGED(-1, wxNotebook::OnSelChange)
// doesn't work yet EVT_WINDOW_CREATE(wxNotebook::OnWindowCreate)
EVT_SIZE(wxNotebook::OnWindowCreate)
EVT_SIZE(wxNotebook::OnSize)
EVT_SET_FOCUS(wxNotebook::OnSetFocus)
@ -378,7 +377,7 @@ bool wxNotebook::InsertPage(int nPage,
// wxNotebook callbacks
// ----------------------------------------------------------------------------
void wxNotebook::OnWindowCreate(wxWindowCreateEvent& event)
void wxNotebook::OnSize(wxSizeEvent& event)
{
// make sure the current page is shown and has focus (it's useful because all
// pages are created invisible initially)