Update comment in wxRendererMSW::GetCheckBoxSize related to DPI
This commit is contained in:
parent
85a2769ae5
commit
092d507714
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user