Changed several places using hard-coded size values to use FromDIP instead.

This commit is contained in:
Steve Browne
2015-11-24 12:21:43 -05:00
parent 6d38fb81dc
commit 633d04ca92
8 changed files with 14 additions and 10 deletions

View File

@@ -253,7 +253,7 @@ wxSize wxControl::DoGetBestSize() const
if (m_windowSizer)
return wxControlBase::DoGetBestSize();
return wxSize(DEFAULT_ITEM_WIDTH, DEFAULT_ITEM_HEIGHT);
return FromDIP(wxSize(DEFAULT_ITEM_WIDTH, DEFAULT_ITEM_HEIGHT));
}
wxBorder wxControl::GetDefaultBorder() const