summaryrefslogtreecommitdiffstats
path: root/views/controls/button/native_button_win.cc
diff options
context:
space:
mode:
Diffstat (limited to 'views/controls/button/native_button_win.cc')
-rw-r--r--views/controls/button/native_button_win.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/controls/button/native_button_win.cc b/views/controls/button/native_button_win.cc
index 9e24fc3..eae509c 100644
--- a/views/controls/button/native_button_win.cc
+++ b/views/controls/button/native_button_win.cc
@@ -49,7 +49,7 @@ void NativeButtonWin::UpdateLabel() {
void NativeButtonWin::UpdateFont() {
SendMessage(native_view(), WM_SETFONT,
- reinterpret_cast<WPARAM>(native_button_->font().hfont()),
+ reinterpret_cast<WPARAM>(native_button_->font().GetNativeFont()),
FALSE);
button_size_valid_ = false;
}