]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/listbkg.cpp
Remove persistence related files ag
[wxWidgets.git] / src / generic / listbkg.cpp
index d7cf2df1db5cb156c1a8534b78b83d508013fbf5..0b90b6526fd2eb48adae4de2d9f3d9545745e332 100644 (file)
@@ -55,8 +55,8 @@
 
 IMPLEMENT_DYNAMIC_CLASS(wxListbook, wxBookCtrlBase)
 
-const wxEventType wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING = wxNewEventType();
-const wxEventType wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED = wxNewEventType();
+wxDEFINE_EVENT( wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING, wxBookCtrlEvent )
+wxDEFINE_EVENT( wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED,  wxBookCtrlEvent )
 
 BEGIN_EVENT_TABLE(wxListbook, wxBookCtrlBase)
     EVT_SIZE(wxListbook::OnSize)