wxSystemSettings::GetMetric returns -1 if the metric is not supported

by the port.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-09-29 21:56:22 +00:00
parent 49090f6f10
commit 1d451c5bd1
12 changed files with 231 additions and 510 deletions

View File

@@ -217,6 +217,9 @@ All:
- active mode support in wxFTP (Randall Fox)
- sped up wxHTTP and wxFTP
- added wxStringInput/OutputStreams
- wxSystemSettings::GetMetric now returns -1 for metrics that are not
supported, instead of zero.
All (GUI):

View File

@@ -99,7 +99,8 @@ standalone function named {\tt wxSystemSettings\_GetFont}}
\func{static int}{GetMetric}{\param{wxSystemMetric}{ index}}
Returns a system metric.
Returns the value of a system metric, or -1 if the metric is not
supported on the current platform.
{\it index} can be one of: