fix missing int return type
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -590,7 +590,7 @@ wxSize wxWindowBase::DoGetBestSize() const
|
|||||||
// helper of GetWindowBorderSize(): as many ports don't implement support for
|
// helper of GetWindowBorderSize(): as many ports don't implement support for
|
||||||
// wxSYS_BORDER/EDGE_X/Y metrics in their wxSystemSettings, use hard coded
|
// wxSYS_BORDER/EDGE_X/Y metrics in their wxSystemSettings, use hard coded
|
||||||
// fallbacks in this case
|
// fallbacks in this case
|
||||||
static wxGetMetricOrDefault(wxSystemMetric what)
|
static int wxGetMetricOrDefault(wxSystemMetric what)
|
||||||
{
|
{
|
||||||
int rc = wxSystemSettings::GetMetric(what);
|
int rc = wxSystemSettings::GetMetric(what);
|
||||||
if ( rc == -1 )
|
if ( rc == -1 )
|
||||||
|
Reference in New Issue
Block a user