]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/aui/auidemo.cpp
fixed notebook event bug
[wxWidgets.git] / samples / aui / auidemo.cpp
index e1281019f84551a5b51c07624b2b1a2384f40c60..8eb56840b70efffb89a7bf4c512c71b5d1383b94 100644 (file)
@@ -626,7 +626,7 @@ BEGIN_EVENT_TABLE(MyFrame, wxFrame)
     EVT_UPDATE_UI(ID_HorizontalGradient, MyFrame::OnUpdateUI)
     EVT_MENU_RANGE(MyFrame::ID_FirstPerspective, MyFrame::ID_FirstPerspective+1000,
                    MyFrame::OnRestorePerspective)
-    EVT_AUI_PANECLOSE(MyFrame::OnPaneClose)
+    EVT_AUI_PANE_CLOSE(MyFrame::OnPaneClose)
     EVT_AUINOTEBOOK_ALLOW_DND(wxID_ANY, MyFrame::OnAllowNotebookDnD)
     EVT_AUINOTEBOOK_PAGE_CLOSE(wxID_ANY, MyFrame::OnNotebookPageClose)
 END_EVENT_TABLE()