#ifndef WX_PRECOMP
#include "wx/cmndata.h"
+ #include "wx/toplevel.h"
#endif
#include "wx/fontutil.h"
-#include "wx/toplevel.h"
// Using gtk_list_new, which is deprecated since GTK2
// Using gtk_object_sink, which is deprecated since GTK+-2.9.0
"gtk-dnd-drag-threshold", &drag_threshold, NULL);
}
- return drag_threshold * 2;
+ // The correct thing here would be to double the value
+ // since that is what the API wants. But the values
+ // are much bigger under GNOME than under Windows and
+ // just seem to much in many cases to be useful.
+ // drag_threshold *= 2;
+
+ return drag_threshold;
// MBN: ditto for icons
case wxSYS_ICON_X: return 32;