X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5d44b24ee63543390aa28e1eb4ff162da4264838..bd330a69c9555c29c6fc448a61e58e0d49402c47:/src/os2/checkbox.cpp diff --git a/src/os2/checkbox.cpp b/src/os2/checkbox.cpp index 0101e79a0c..eaa7389885 100644 --- a/src/os2/checkbox.cpp +++ b/src/os2/checkbox.cpp @@ -15,6 +15,9 @@ #ifndef WX_PRECOMP #include "wx/checkbox.h" #include "wx/brush.h" + #include "wx/scrolwin.h" + #include "wx/dcscreen.h" + #include "wx/settings.h" #endif #include "wx/os2/private.h" @@ -153,7 +156,7 @@ wxSize wxCheckBox::DoGetBestSize() const { wxScreenDC vDc; - vDc.SetFont(wxSystemSettings::GetSystemFont(wxSYS_DEFAULT_GUI_FONT)); + vDc.SetFont(wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT)); // // The height of a standard button in the dialog units is 8,