Distrib file updates; test for bitmap presence in controls.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -158,6 +158,8 @@ bool MyApp::OnInit()
|
||||
MyDialog* dialog = new MyDialog("VC++ MakeProject");
|
||||
dialog->ShowModal();
|
||||
|
||||
delete dialog;
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
@@ -1031,7 +1033,7 @@ MyDialog::MyDialog(const wxString& title, const wxPoint& pos, const wxSize& size
|
||||
|
||||
void MyDialog::OnQuit(wxCommandEvent& event)
|
||||
{
|
||||
this->Destroy();
|
||||
this->EndModal(wxID_OK);
|
||||
}
|
||||
|
||||
void MyDialog::OnAbout(wxCommandEvent& event)
|
||||
|
Reference in New Issue
Block a user