]> git.saurik.com Git - wxWidgets.git/commitdiff
fix missing int return type
authorChris Elliott <biol75@york.ac.uk>
Sat, 25 Nov 2006 18:34:56 +0000 (18:34 +0000)
committerChris Elliott <biol75@york.ac.uk>
Sat, 25 Nov 2006 18:34:56 +0000 (18:34 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/wincmn.cpp

index 5a5ca178914f6a72d8c19a007a1d8bb8c2fabd54..3f63607dca9c49ee41fa6bd2ce1e10f7d03047fe 100644 (file)
@@ -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 )