]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/notebook.cpp
Corrected wxRTTI for wxNotebook so dynamic casting to wxBookCtrlBase works
[wxWidgets.git] / src / univ / notebook.cpp
index 392f13c4aa5a6c9c6684b0e4279f0762b7963a44..a1c7d867f29b677399547b685281b13fbecc3e8b 100644 (file)
@@ -114,7 +114,7 @@ END_EVENT_TABLE()
 // implementation
 // ============================================================================
 
-IMPLEMENT_DYNAMIC_CLASS(wxNotebook, wxControl)
+IMPLEMENT_DYNAMIC_CLASS(wxNotebook, wxBookCtrlBase)
 IMPLEMENT_DYNAMIC_CLASS(wxNotebookEvent, wxCommandEvent)
 
 // ----------------------------------------------------------------------------