]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/resource/resource.cpp
small fix to the sample
[wxWidgets.git] / samples / resource / resource.cpp
index 836cf563a4f43b27ee2acc74725bd54146245570..588b3873ff532d72f8eddef364741a4910ab772a 100644 (file)
@@ -173,13 +173,6 @@ void MyFrame::OnTestDialog(wxCommandEvent& WXUNUSED(event) )
       dialog->Close(TRUE);
 }
 
-bool MyFrame::OnClose(void)
-{
-  Show(FALSE);
-
-  return TRUE;
-}
-
 BEGIN_EVENT_TABLE(MyDialog, wxDialog)
   //   EVT_BUTTON(RESOURCE_OK, MyDialog::OnOk)
        EVT_BUTTON(ID_BUTTON109, MyDialog::OnCancel)