]> git.saurik.com Git - wxWidgets.git/commitdiff
no real changes
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 30 Sep 2003 12:33:28 +0000 (12:33 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 30 Sep 2003 12:33:28 +0000 (12:33 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/ownerdrw/ownerdrw.cpp

index d50f6207fe15ddac2868281edc06a185bd33d30b..651aedcccc69e4d707f6785edd5ba6f31b052e1b 100644 (file)
@@ -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;