class MyMiniFrame: public wxMiniFrame
{
public:
- MyMiniFrame(wxFrame *parent, wxWindowID id = -1, const wxString& title = _T("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);
class MyMainFrame: public wxFrame
{
public:
- MyMainFrame(wxFrame *parent, wxWindowID id = -1, const wxString& title = _T("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()
};