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:
@@ -143,7 +143,7 @@ public:
|
|||||||
|
|
||||||
// callbacks
|
// callbacks
|
||||||
// ---------
|
// ---------
|
||||||
void OnWindowCreate(wxWindowCreateEvent& event);
|
void OnSize(wxSizeEvent& event);
|
||||||
void OnSelChange(wxNotebookEvent& event);
|
void OnSelChange(wxNotebookEvent& event);
|
||||||
void OnSetFocus(wxFocusEvent& event);
|
void OnSetFocus(wxFocusEvent& event);
|
||||||
void OnNavigationKey(wxNavigationKeyEvent& event);
|
void OnNavigationKey(wxNavigationKeyEvent& event);
|
||||||
|
@@ -68,8 +68,7 @@
|
|||||||
BEGIN_EVENT_TABLE(wxNotebook, wxControl)
|
BEGIN_EVENT_TABLE(wxNotebook, wxControl)
|
||||||
EVT_NOTEBOOK_PAGE_CHANGED(-1, wxNotebook::OnSelChange)
|
EVT_NOTEBOOK_PAGE_CHANGED(-1, wxNotebook::OnSelChange)
|
||||||
|
|
||||||
// doesn't work yet EVT_WINDOW_CREATE(wxNotebook::OnWindowCreate)
|
EVT_SIZE(wxNotebook::OnSize)
|
||||||
EVT_SIZE(wxNotebook::OnWindowCreate)
|
|
||||||
|
|
||||||
EVT_SET_FOCUS(wxNotebook::OnSetFocus)
|
EVT_SET_FOCUS(wxNotebook::OnSetFocus)
|
||||||
|
|
||||||
@@ -378,7 +377,7 @@ bool wxNotebook::InsertPage(int nPage,
|
|||||||
// 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
|
// make sure the current page is shown and has focus (it's useful because all
|
||||||
// pages are created invisible initially)
|
// pages are created invisible initially)
|
||||||
|
Reference in New Issue
Block a user