]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/settings.cpp
cgimagecreate from wxbitmap crashes 10.2 - turn off. Put in right click handler to...
[wxWidgets.git] / src / gtk1 / settings.cpp
index b8ace189883fcee87aa847ae5c36c4daa5f980e0..600f0310a949460f5a8cbfed8bbfd3cd4ff7b67f 100644 (file)
@@ -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: