Checkbox needs an extra pixel in height on WinCE
authorJulian Smart <julian@anthemion.co.uk>
Thu, 29 Jul 2004 08:44:42 +0000 (08:44 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Thu, 29 Jul 2004 08:44:42 +0000 (08:44 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/checkbox.cpp

index f0f19718b05c291631af1949a2d063fb5e6bc751..681c4e5a109f820269c8dea905b633e09d5c9007 100644 (file)
@@ -194,6 +194,9 @@ wxSize wxCheckBox::DoGetBestSize() const
         wCheckbox = s_checkSize;
         hCheckbox = s_checkSize;
     }
+#ifdef __WXWINCE__
+    hCheckbox += 1;
+#endif
 
     return wxSize(wCheckbox, hCheckbox);
 }