X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/14057bf4dc1e07742d46651a8930ad658fda46dd..f5766910b6731eb03e82371416e9778203396ce7:/samples/minifram/minifram.h?ds=sidebyside diff --git a/samples/minifram/minifram.h b/samples/minifram/minifram.h index d71035f3d5..97b2a2a527 100644 --- a/samples/minifram/minifram.h +++ b/samples/minifram/minifram.h @@ -6,7 +6,7 @@ // Created: 23/07/98 // RCS-ID: $Id$ // Copyright: (c) Julian Smart and Robert Roebling -// Licence: wxWindows licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #include "wx/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,7 +36,7 @@ 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);