X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/333d70525c5f8caff27c8847160daf5fd5ccef46..e319bb30f7e88242f56144fcc279b57047566a6b:/src/common/wincmn.cpp diff --git a/src/common/wincmn.cpp b/src/common/wincmn.cpp index 5a5ca17891..3f63607dca 100644 --- a/src/common/wincmn.cpp +++ b/src/common/wincmn.cpp @@ -590,7 +590,7 @@ wxSize wxWindowBase::DoGetBestSize() const // helper of GetWindowBorderSize(): as many ports don't implement support for // wxSYS_BORDER/EDGE_X/Y metrics in their wxSystemSettings, use hard coded // fallbacks in this case -static wxGetMetricOrDefault(wxSystemMetric what) +static int wxGetMetricOrDefault(wxSystemMetric what) { int rc = wxSystemSettings::GetMetric(what); if ( rc == -1 )