diff --git a/samples/notebook/notebook.h b/samples/notebook/notebook.h index 2d32a1f064..59e67f49f1 100644 --- a/samples/notebook/notebook.h +++ b/samples/notebook/notebook.h @@ -48,7 +48,7 @@ DECLARE_APP(MyApp) class MyNotebook : public wxNotebook { public: - MyNotebook(wxWindow *parent, wxWindowID id = -1, + MyNotebook(wxWindow *parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0);