X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9b0b5ba76e7311091f473e5591cb74c05f6912d6..b14ba1f11722aeb4e4dcd52a686f5a50335776a1:/src/gtk1/settings.cpp diff --git a/src/gtk1/settings.cpp b/src/gtk1/settings.cpp index b8ace18988..600f0310a9 100644 --- a/src/gtk1/settings.cpp +++ b/src/gtk1/settings.cpp @@ -379,6 +379,7 @@ int wxSystemSettingsNative::GetMetric( wxSystemMetric index, wxWindow* win ) switch (index) { +#ifdef __WXGTK20__ case wxSYS_BORDER_X: case wxSYS_BORDER_Y: case wxSYS_EDGE_X: @@ -460,6 +461,7 @@ int wxSystemSettingsNative::GetMetric( wxSystemMetric index, wxWindow* win ) } return -1; // no window specified +#endif // gtk2 case wxSYS_CURSOR_X: case wxSYS_CURSOR_Y: