]> git.saurik.com Git - wxWidgets.git/commitdiff
wxGTK2: We don't need to check for __WXGTK20__ here
authorMart Raudsepp <leio@gentoo.org>
Thu, 6 Apr 2006 11:59:07 +0000 (11:59 +0000)
committerMart Raudsepp <leio@gentoo.org>
Thu, 6 Apr 2006 11:59:07 +0000 (11:59 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/settings.cpp

index fc0926f43989fcfffd23f3cce2f4c038fd2adff0..a7ed537f030b293c8d342637c8b7e17f4e73aed9 100644 (file)
@@ -537,7 +537,7 @@ int wxSystemSettingsNative::GetMetric( wxSystemMetric index, wxWindow* win )
         case wxSYS_ICON_Y:     return 32;
 
         case wxSYS_SCREEN_X:
-#if defined(__WXGTK20__) && GTK_CHECK_VERSION(2,2,0)
+#if GTK_CHECK_VERSION(2,2,0)
             if (window && !gtk_check_version(2,2,0))
                 return gdk_screen_get_width(gdk_drawable_get_screen(window));
             else
@@ -545,7 +545,7 @@ int wxSystemSettingsNative::GetMetric( wxSystemMetric index, wxWindow* win )
                 return gdk_screen_width();
 
         case wxSYS_SCREEN_Y:
-#if defined(__WXGTK20__) && GTK_CHECK_VERSION(2,2,0)
+#if GTK_CHECK_VERSION(2,2,0)
             if (window && !gtk_check_version(2,2,0))
                 return gdk_screen_get_height(gdk_drawable_get_screen(window));
             else