From: Vadim Zeitlin Date: Tue, 30 Sep 2003 12:33:28 +0000 (+0000) Subject: no real changes X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/2ef76992c86daff306a62042d9467e118c36cf1f no real changes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/ownerdrw/ownerdrw.cpp b/samples/ownerdrw/ownerdrw.cpp index d50f6207fe..651aedcccc 100644 --- a/samples/ownerdrw/ownerdrw.cpp +++ b/samples/ownerdrw/ownerdrw.cpp @@ -113,8 +113,11 @@ void OwnerDrawnFrame::InitMenu() fontBmp(14, wxDEFAULT, wxNORMAL, wxNORMAL, FALSE); // sorry for my artistic skills... - wxBitmap bmpBell(_T("bell")), bmpSound(_T("sound")), bmpNoSound(_T("nosound")); - wxBitmap bmpInfo(_T("info")), bmpInfo_mono(_T("info_mono")); + wxBitmap bmpBell(_T("bell")), + bmpSound(_T("sound")), + bmpNoSound(_T("nosound")), + bmpInfo(_T("info")), + bmpInfo_mono(_T("info_mono")); // construct submenu pItem = new wxMenuItem(sub_menu, Menu_Sub1, _T("Submenu &first"), _T("large")); @@ -182,13 +185,11 @@ void OwnerDrawnFrame::InitMenu() _T("display program information"), wxITEM_NORMAL); pAboutItem->SetBitmap(bmpInfo); pAboutItem->SetDisabledBitmap(bmpInfo_mono); - pAboutItem->SetOwnerDrawn(TRUE); file_menu->Append(pAboutItem); file_menu->AppendSeparator(); pItem = new wxMenuItem(file_menu, Menu_Quit, _T("&Quit"), _T("Normal item"), wxITEM_NORMAL); - pItem->SetFont(*wxNORMAL_FONT); file_menu->Append(pItem); wxMenuBar *menu_bar = new wxMenuBar;