X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c2c0dabfa61fc435265f3dc71122592d359f0119..3ba18664fc65e3494695bbd57250bcee36625c91:/src/x11/settings.cpp diff --git a/src/x11/settings.cpp b/src/x11/settings.cpp index f7d484b3d6..ef5de6e208 100644 --- a/src/x11/settings.cpp +++ b/src/x11/settings.cpp @@ -19,6 +19,7 @@ #include "wx/settings.h" #include "wx/gdicmn.h" +#include "wx/x11/private.h" wxColour wxSystemSettingsNative::GetColour(wxSystemColour index) { @@ -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;