use a single wxBookCtrlEvent class for all wxBookCtrlBase-derived controls (#9667)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -112,7 +112,7 @@ static void gtk_notebook_page_change_callback(GtkNotebook *WXUNUSED(widget),
|
||||
notebook->m_skipNextPageChangeEvent = false;
|
||||
|
||||
// make wxNotebook::GetSelection() return the correct (i.e. consistent
|
||||
// with wxNotebookEvent::GetSelection()) value even though the page is
|
||||
// with wxBookCtrlEvent::GetSelection()) value even though the page is
|
||||
// not really changed in GTK+
|
||||
notebook->m_selection = page;
|
||||
}
|
||||
@@ -126,7 +126,7 @@ static void gtk_notebook_page_change_callback(GtkNotebook *WXUNUSED(widget),
|
||||
else // change allowed
|
||||
{
|
||||
// make wxNotebook::GetSelection() return the correct (i.e. consistent
|
||||
// with wxNotebookEvent::GetSelection()) value even though the page is
|
||||
// with wxBookCtrlEvent::GetSelection()) value even though the page is
|
||||
// not really changed in GTK+
|
||||
notebook->m_selection = page;
|
||||
|
||||
@@ -865,10 +865,4 @@ wxNotebook::GetClassDefaultAttributes(wxWindowVariant WXUNUSED(variant))
|
||||
return GetDefaultAttributesFromGTKWidget(gtk_notebook_new);
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// wxNotebookEvent
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
IMPLEMENT_DYNAMIC_CLASS(wxNotebookEvent, wxNotifyEvent)
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user