X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a756f210019dd5b51331b7181c816d3882146a30..91b4bd63177025704dd39679a2a7c4198eeb7909:/src/os2/checkbox.cpp diff --git a/src/os2/checkbox.cpp b/src/os2/checkbox.cpp index 8311751388..2c18c0eb22 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" @@ -128,7 +131,7 @@ bool wxCheckBox::Create( ,(PVOID)&lColor ); - SetFont(pParent->GetFont()); + SetFont(*wxSMALL_FONT); SetSize( nX ,nY