]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/taskbar/tbtest.cpp
Fixed "torn" patch line
[wxWidgets.git] / samples / taskbar / tbtest.cpp
index 42ceee2723507d2e61e1df5e08257ba5d1b16a9c..114267dcae9e17b029befb0493a9685670adc29c 100644 (file)
@@ -47,6 +47,7 @@ bool MyApp::OnInit(void)
 BEGIN_EVENT_TABLE(MyDialog, wxDialog)
     EVT_BUTTON(wxID_OK, MyDialog::OnOK)
     EVT_BUTTON(wxID_EXIT, MyDialog::OnExit)
+    EVT_CLOSE(MyDialog::OnCloseWindow)
 END_EVENT_TABLE()