Applied patch [ 731719 ] Owner draw font leak/overuse

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2003-05-03 11:56:38 +00:00
parent 9d4a05be9b
commit 19b4237945
2 changed files with 19 additions and 5 deletions

View File

@@ -104,7 +104,7 @@ wxMenuItem::wxMenuItem(wxMenu *parentMenu,
: wxMenuItemBase(parentMenu, id, text, help,
isCheckable ? wxITEM_CHECK : wxITEM_NORMAL, subMenu)
#if wxUSE_OWNER_DRAWN
, wxOwnerDrawn(text, isCheckable)
, wxOwnerDrawn(text, isCheckable, true)
#endif // owner drawn
{
Init();