]> git.saurik.com Git - wxWidgets.git/commitdiff
Replaced hard-coded font size in ribbon art provider with a system defined font size...
authorPeter Cawley <corsix@corsix.org>
Sun, 8 Nov 2009 21:50:06 +0000 (21:50 +0000)
committerPeter Cawley <corsix@corsix.org>
Sun, 8 Nov 2009 21:50:06 +0000 (21:50 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/ribbon/art_msw.cpp

index 5ed271fe2a0ca013110d996da848f1c22503ecd7..48353d5b5b55b227ef2ca3333b878d9de91ba861 100644 (file)
@@ -86,7 +86,7 @@ static const char* const gallery_extension_xpm[] = {
 wxRibbonMSWArtProvider::wxRibbonMSWArtProvider(bool set_colour_scheme)
 {
     m_flags = 0;
-    m_tab_label_font = wxFont(8, wxDEFAULT, wxNORMAL, wxNORMAL, FALSE);
+    m_tab_label_font = *wxNORMAL_FONT;
     m_button_bar_label_font = m_tab_label_font;
     m_panel_label_font = m_tab_label_font;