From: Włodzimierz Skiba Date: Fri, 28 May 2004 10:45:07 +0000 (+0000) Subject: Missed header, -1->wxID_ANY replacements. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/30deac1fa50bd132e57aa386f3c844d275dc95ea Missed header, -1->wxID_ANY replacements. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/except/except.cpp b/samples/except/except.cpp index 04a13cff97..e0747a4b4c 100644 --- a/samples/except/except.cpp +++ b/samples/except/except.cpp @@ -37,7 +37,8 @@ #include "wx/button.h" #include "wx/sizer.h" - #include "wx/utils.h" // for wxMessageBox + #include "wx/utils.h" + #include "wx/msgdlg.h" #endif // ---------------------------------------------------------------------------- @@ -216,7 +217,7 @@ void MyApp::OnUnhandledException() // frame constructor MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size, long style) - : wxFrame(NULL, -1, title, pos, size, style) + : wxFrame(NULL, wxID_ANY, title, pos, size, style) { // set the frame icon SetIcon(wxICON(mondrian)); @@ -302,7 +303,7 @@ void MyFrame::OnAbout(wxCommandEvent& WXUNUSED(event)) // ============================================================================ MyDialog::MyDialog(wxFrame *parent) - : wxDialog(parent, -1, wxString(_T("Throw exception dialog"))) + : wxDialog(parent, wxID_ANY, wxString(_T("Throw exception dialog"))) { wxSizer *sizerTop = new wxBoxSizer(wxVERTICAL);