X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ff0ea71ceacc214261f90946cfa7c9b5980c40fd..585266618c27ac77a5e5316c03e06ffc514715c9:/src/msw/ownerdrw.cpp diff --git a/src/msw/ownerdrw.cpp b/src/msw/ownerdrw.cpp index 8ea7c54e0f..f0f1223260 100644 --- a/src/msw/ownerdrw.cpp +++ b/src/msw/ownerdrw.cpp @@ -31,6 +31,7 @@ #include "wx/utils.h" #endif +#include "wx/settings.h" #include "wx/ownerdrw.h" #include "wx/menuitem.h" @@ -51,6 +52,8 @@ wxOwnerDrawn::wxOwnerDrawn(const wxString& str, m_bOwnerDrawn = FALSE; m_nHeight = 0; m_nMarginWidth = ms_nLastMarginWidth; + if (wxNORMAL_FONT) + m_font = * wxNORMAL_FONT; } #if defined(__WXMSW__) && defined(__WIN32__) && defined(SM_CXMENUCHECK)