summaryrefslogtreecommitdiffstats
path: root/views/controls/tabbed_pane/native_tabbed_pane_win.cc
diff options
context:
space:
mode:
Diffstat (limited to 'views/controls/tabbed_pane/native_tabbed_pane_win.cc')
-rw-r--r--views/controls/tabbed_pane/native_tabbed_pane_win.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/controls/tabbed_pane/native_tabbed_pane_win.cc b/views/controls/tabbed_pane/native_tabbed_pane_win.cc
index 23b2c50..8abc73c 100644
--- a/views/controls/tabbed_pane/native_tabbed_pane_win.cc
+++ b/views/controls/tabbed_pane/native_tabbed_pane_win.cc
@@ -284,7 +284,7 @@ void NativeTabbedPaneWin::CreateNativeControl() {
NULL);
HFONT font = ResourceBundle::GetSharedInstance().
- GetFont(ResourceBundle::BaseFont).hfont();
+ GetFont(ResourceBundle::BaseFont).GetNativeFont();
SendMessage(tab_control, WM_SETFONT, reinterpret_cast<WPARAM>(font), FALSE);
// Create the view container which is a child of the TabControl.