From ce6fbc83acbe2e850436f7656c39b7c1478812f4 Mon Sep 17 00:00:00 2001 From: Chris Elliott Date: Sat, 25 Nov 2006 18:34:56 +0000 Subject: [PATCH] fix missing int return type git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/wincmn.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) -- 2.50.0