]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/settings.cpp
Applied patch [ 650078 ] Add better checking to wxComboBox
[wxWidgets.git] / src / x11 / settings.cpp
index f7d484b3d6de748b7ff11f14f9412e226be95d2e..6a4d646d8f4a0710280d3f85611c122c1508fb2b 100644 (file)
@@ -19,6 +19,7 @@
 
 #include "wx/settings.h"
 #include "wx/gdicmn.h"
+#include "wx/x11/private.h"
 
 wxColour wxSystemSettingsNative::GetColour(wxSystemColour index)
 {
@@ -49,7 +50,7 @@ wxFont wxSystemSettingsNative::GetFont(wxSystemFont index)
         case wxSYS_DEFAULT_GUI_FONT:
         default:
         {
-            return wxFont(12, wxSWISS, wxNORMAL, wxNORMAL, FALSE);
+            return wxFont(12, wxNORMAL, wxNORMAL, wxNORMAL, FALSE);
             break;
         }
     }
@@ -123,11 +124,11 @@ int wxSystemSettingsNative::GetMetric(wxSystemMetric index)
             // TODO
             return 0;
         case wxSYS_SCREEN_X:
-            // TODO
-            return 0;
+            return DisplayWidth( wxGlobalDisplay(), 0 );
+            
         case wxSYS_SCREEN_Y:
-            // TODO
-            return 0;
+            return DisplayHeight( wxGlobalDisplay(), 0 );
+            
         case wxSYS_FRAMESIZE_X:
             // TODO
             return 0;