]> git.saurik.com Git - wxWidgets.git/commitdiff
Applied [ 876737 ] menu item with bitmap uses wrong font
authorJulian Smart <julian@anthemion.co.uk>
Sat, 17 Jan 2004 17:05:35 +0000 (17:05 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Sat, 17 Jan 2004 17:05:35 +0000 (17:05 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/menuitem.cpp

index 416be9674fef612200d3ad46cfec2c253c505fd8..4a17c4579be2ee5e406258102ea150b765c9a582 100644 (file)
@@ -135,7 +135,7 @@ wxMenuItem::wxMenuItem(wxMenu *pParentMenu,
                        wxMenu *pSubMenu)
           : wxMenuItemBase(pParentMenu, id, text, strHelp, kind, pSubMenu)
 #if wxUSE_OWNER_DRAWN
-            , wxOwnerDrawn(text, kind == wxITEM_CHECK)
+            , wxOwnerDrawn(text, kind == wxITEM_CHECK, true)
 #endif // owner drawn
 {
     Init();