wxGTK2: We don't need to check for __WXGTK20__ here

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mart Raudsepp
2006-04-06 11:59:07 +00:00
parent 8d3dd06948
commit afeb58f16b

View 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