From 7e9dfde99b985fdddd7b6a037a267287790881ee Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Fri, 20 Sep 2002 21:06:47 +0000 Subject: [PATCH] Fix typo. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/x11/settings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/x11/settings.cpp b/src/x11/settings.cpp index 3dd8d91cb3..ef5de6e208 100644 --- a/src/x11/settings.cpp +++ b/src/x11/settings.cpp @@ -124,7 +124,7 @@ int wxSystemSettingsNative::GetMetric(wxSystemMetric index) // TODO return 0; case wxSYS_SCREEN_X: - return DisplayHeight( wxGlobalDisplay(), 0 ); + return DisplayWidth( wxGlobalDisplay(), 0 ); case wxSYS_SCREEN_Y: return DisplayHeight( wxGlobalDisplay(), 0 );