Update comment in wxRendererMSW::GetCheckBoxSize related to DPI

This commit is contained in:
Maarten Bent 2019-09-28 22:45:23 +02:00
parent 85a2769ae5
commit 092d507714

View File

@ -550,8 +550,8 @@ wxRendererMSW::DrawTitleBarBitmap(wxWindow *win,
wxSize wxRendererMSW::GetCheckBoxSize(wxWindow* win)
{
// Even though we don't use the window in this implementation, still check
// that it's valid to avoid surprises when using themes.
// We must have a valid window in order to return the size which is correct
// for the display this window is on.
wxCHECK_MSG( win, wxSize(0, 0), "Must have a valid window" );
return wxSize(wxGetSystemMetrics(SM_CXMENUCHECK, win),