X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/aa4919edd16047bb9590658f7a9fbe50fc659bc1..b3ecee8d120ac8af59cbf82b00d4c7da9f648f53:/samples/ownerdrw/ownerdrw.cpp diff --git a/samples/ownerdrw/ownerdrw.cpp b/samples/ownerdrw/ownerdrw.cpp index 52b6c84518..b15aa9d68c 100644 --- a/samples/ownerdrw/ownerdrw.cpp +++ b/samples/ownerdrw/ownerdrw.cpp @@ -6,7 +6,7 @@ // Created: 13.11.97 // RCS-ID: $Id$ // Copyright: (c) 1998 Vadim Zeitlin -// Licence: wxWindows license +// Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// // ============================================================================ @@ -206,7 +206,7 @@ void OwnerDrawnFrame::InitMenu() drawn_menu->AppendSeparator(); - pItem = new wxMenuItem(drawn_menu, Menu_Drawn2, wxT("&Cheked item"), + pItem = new wxMenuItem(drawn_menu, Menu_Drawn2, wxT("&Checked item"), wxT("check/uncheck me!"), wxITEM_CHECK); drawn_menu->Append(pItem); drawn_menu->Check(Menu_Drawn2, true); @@ -232,7 +232,7 @@ void OwnerDrawnFrame::InitMenu() native_menu->AppendSeparator(); - pItem = new wxMenuItem(native_menu, Menu_Native2, wxT("&Cheked item"), + pItem = new wxMenuItem(native_menu, Menu_Native2, wxT("&Checked item"), wxT("check/uncheck me!"), wxITEM_CHECK); native_menu->Append(pItem); native_menu->Check(Menu_Native2, true); @@ -265,7 +265,7 @@ OwnerDrawnFrame::OwnerDrawnFrame(wxFrame *frame, const wxChar *title, : wxFrame(frame, wxID_ANY, title, wxPoint(x, y), wxSize(w, h)) { // set the icon - SetIcon(wxIcon(wxT("mondrian"))); + SetIcon(wxICON(sample)); // create the menu InitMenu();