]> git.saurik.com Git - wxWidgets.git/blobdiff - src/stubs/settings.cpp
fix for assert when setting tooltip for a readonly combo
[wxWidgets.git] / src / stubs / settings.cpp
index 0450dbc8e48596be31469573796c18d99cadde2a..2beda5c2a6896dee8513827fa63bc8eabb8af5e7 100644 (file)
 wxColour wxSystemSettings::GetSystemColour(int index)
 {
     // TODO
-       return col;
+       return wxColour();
 }
 
 wxFont wxSystemSettings::GetSystemFont(int index)
 {
     // TODO
-    return wxFont;
+    switch (index)
+    {
+        case wxSYS_DEVICE_DEFAULT_FONT:
+        {
+            break;
+        }
+        case wxSYS_DEFAULT_PALETTE:
+        {
+            break;
+        }
+        case wxSYS_SYSTEM_FIXED_FONT:
+        {
+            break;
+        }
+        case wxSYS_SYSTEM_FONT:
+        {
+            break;
+        }
+        default:
+        case wxSYS_DEFAULT_GUI_FONT:
+        {
+            break;
+        }
+    }
+
+    return wxFont();
 }
 
 // Get a system metric, e.g. scrollbar size