X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9e691f46b2ec1b5dbbff2e51131e3c532e688a89..24f4ad95920746ebc6cfc6f2ab86f65fb53345ca:/include/wx/gtk/private.h diff --git a/include/wx/gtk/private.h b/include/wx/gtk/private.h index aa0dd2841e..93ea5878c4 100644 --- a/include/wx/gtk/private.h +++ b/include/wx/gtk/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