]> git.saurik.com Git - wxWidgets.git/commitdiff
don't assert on unsupported metric in wxSystemSettingsNative::GetMetric()
authorVáclav Slavík <vslavik@fastmail.fm>
Thu, 20 Nov 2008 12:28:08 +0000 (12:28 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Thu, 20 Nov 2008 12:28:08 +0000 (12:28 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/dfb/settings.cpp

index a30af695a90ccd9fba224a4065aa217010d812f4..1fcc8a371d4c502eef61be1079efad926d7b7f67 100644 (file)
@@ -78,7 +78,6 @@ int wxSystemSettingsNative::GetMetric(wxSystemMetric index,
             return val;
 
         default:
-            wxFAIL_MSG( "unsupported metric" );
             return -1;
     }
 }