git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2750
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// callbacks
// ---------
// callbacks
// ---------
- void OnWindowCreate(wxWindowCreateEvent& event);
+ void OnSize(wxSizeEvent& event);
void OnSelChange(wxNotebookEvent& event);
void OnSetFocus(wxFocusEvent& event);
void OnNavigationKey(wxNavigationKeyEvent& event);
void OnSelChange(wxNotebookEvent& event);
void OnSetFocus(wxFocusEvent& event);
void OnNavigationKey(wxNavigationKeyEvent& event);
BEGIN_EVENT_TABLE(wxNotebook, wxControl)
EVT_NOTEBOOK_PAGE_CHANGED(-1, wxNotebook::OnSelChange)
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)
EVT_SET_FOCUS(wxNotebook::OnSetFocus)
// wxNotebook callbacks
// ----------------------------------------------------------------------------
// 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)
{
// make sure the current page is shown and has focus (it's useful because all
// pages are created invisible initially)