X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2f6c54eb076d760cbb6fb15e899f15fbbd575850..e960c20e389061c0db09e03fdaf9ffe3a418779b:/samples/minifram/minifram.h diff --git a/samples/minifram/minifram.h b/samples/minifram/minifram.h index ea3c215c51..4d2197b3e9 100644 --- a/samples/minifram/minifram.h +++ b/samples/minifram/minifram.h @@ -23,7 +23,7 @@ class MyApp: public wxApp class MyMiniFrame: public wxMiniFrame { public: - MyMiniFrame(wxFrame *parent, wxWindowID id = -1, const wxString& title = "wxToolBar Sample", + MyMiniFrame(wxFrame *parent, wxWindowID id = wxID_ANY, const wxString& title = _T("wxToolBar Sample"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize ); void OnCloseWindow(wxCloseEvent& event); @@ -36,11 +36,15 @@ DECLARE_EVENT_TABLE() class MyMainFrame: public wxFrame { public: - MyMainFrame(wxFrame *parent, wxWindowID id = -1, const wxString& title = "wxToolBar Sample", + MyMainFrame(wxFrame *parent, wxWindowID id = wxID_ANY, const wxString& title = _T("wxToolBar Sample"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize ); void OnCloseWindow(wxCloseEvent& event); void OnReparent(wxCommandEvent& event); + void OnSetSize_150_150(wxCommandEvent &event); + void OnSetSize_200_200(wxCommandEvent &event); + void OnSetMaxSize_150_150(wxCommandEvent &event); + void OnSetMaxSize_300_300(wxCommandEvent &event); DECLARE_EVENT_TABLE() };