]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/toolbkg.cpp
add accessors for sockaddr to wxSockAddress (closes #10511)
[wxWidgets.git] / src / generic / toolbkg.cpp
index 969960b9881697770c04e3f42e6cbe8baaf74cfa..638fe2f86a254eb35bd4449bbe9da797b4dc11ae 100644 (file)
@@ -45,8 +45,8 @@
 
 IMPLEMENT_DYNAMIC_CLASS(wxToolbook, wxBookCtrlBase)
 
-const wxEventType wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING = wxNewEventType();
-const wxEventType wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED = wxNewEventType();
+wxDEFINE_EVENT( wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING, wxBookCtrlEvent );
+wxDEFINE_EVENT( wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED,  wxBookCtrlEvent );
 
 BEGIN_EVENT_TABLE(wxToolbook, wxBookCtrlBase)
     EVT_SIZE(wxToolbook::OnSize)