Use const wxWindow in wxSystemSettings::GetMetric
This commit is contained in:
@@ -96,7 +96,7 @@ wxColour wxSystemSettings::GetColour(wxSystemColour index)
|
||||
return wxTheme::Get()->GetColourScheme()->Get(col);
|
||||
}
|
||||
|
||||
int wxSystemSettings::GetMetric(wxSystemMetric index, wxWindow *win)
|
||||
int wxSystemSettings::GetMetric(wxSystemMetric index, const wxWindow* win)
|
||||
{
|
||||
switch ( index )
|
||||
{
|
||||
|
Reference in New Issue
Block a user