X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9e691f46b2ec1b5dbbff2e51131e3c532e688a89..edb8f2985fc838f92c60d9efd42462441f3caea9:/include/wx/gtk1/private.h diff --git a/include/wx/gtk1/private.h b/include/wx/gtk1/private.h index aa0dd2841e..93ea5878c4 100644 --- a/include/wx/gtk1/private.h +++ b/include/wx/gtk1/private.h @@ -87,12 +87,9 @@ #define NOTEBOOK_PANEL(nb) GTK_NOTEBOOK(nb)->panel #endif -// VZ: I _think_ that in GTK+ 2.0 the scroll type is passed to the -// value_changed callback as a 2nd argument but I'm not at all sure about -// it, if this is false all occurences of this macro must be changed! #ifdef __WXGTK20__ - #define SCROLLBAR_CBACK_ARG GtkScrollType scrollType, - #define GET_SCROLL_TYPE(w) scrollType + #define SCROLLBAR_CBACK_ARG + #define GET_SCROLL_TYPE(w) GTK_SCROLL_JUMP #else #define SCROLLBAR_CBACK_ARG #define GET_SCROLL_TYPE(w) GTK_RANGE((w))->scroll_type