// Created: 13.11.97
// RCS-ID: $Id$
// Copyright: (c) 1998 Vadim Zeitlin <zeitlin@dptmaths.ens-cachan.fr>
-// Licence: wxWindows license
+// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
// ============================================================================
= new OwnerDrawnFrame(NULL, wxT("wxWidgets Ownerdraw Sample"),
50, 50, 450, 340);
- SetTopWindow(pFrame);
-
return true;
}
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);
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);
: 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();