use the new wxSystemSettings API everywhere
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -869,7 +869,7 @@ void wxLogDialog::CreateDetailsControls()
|
||||
// if the height as computed from list items exceeds, together with the
|
||||
// actual message & controls, the screen, make it smaller
|
||||
int heightMax =
|
||||
(3*wxSystemSettings::GetSystemMetric(wxSYS_SCREEN_Y))/5 - GetSize().y;
|
||||
(3*wxSystemSettings::GetMetric(wxSYS_SCREEN_Y))/5 - GetSize().y;
|
||||
|
||||
m_listctrl->SetSize(-1, wxMin(height, heightMax));
|
||||
}
|
||||
|
Reference in New Issue
Block a user