Determine correct checkbox size when using theme.

This commit is contained in:
Maarten Bent
2015-12-16 20:59:27 +01:00
parent dd29ecf840
commit 64c4e0674c
3 changed files with 20 additions and 5 deletions

View File

@@ -712,9 +712,9 @@ wxRendererGeneric::DrawCheckBox(wxWindow *WXUNUSED(win),
}
}
wxSize wxRendererGeneric::GetCheckBoxSize(wxWindow *WXUNUSED(win))
wxSize wxRendererGeneric::GetCheckBoxSize(wxWindow *win)
{
return wxSize(16, 16);
return win->FromDIP(wxSize(16, 16));
}
void