X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3baba4c60db58ad50a939094f0dc5951c5ee1704..8f2ee25db4652f96f28bc8f8370bebc974e533ff:/src/gtk/slider.cpp?ds=sidebyside diff --git a/src/gtk/slider.cpp b/src/gtk/slider.cpp index 93ec5c8fff..c5d5be31fe 100644 --- a/src/gtk/slider.cpp +++ b/src/gtk/slider.cpp @@ -41,6 +41,7 @@ static const float sensitivity = 0.02; // "value_changed" //----------------------------------------------------------------------------- +extern "C" { static void gtk_slider_callback( GtkAdjustment *adjust, SCROLLBAR_CBACK_ARG wxSlider *win ) @@ -72,6 +73,7 @@ static void gtk_slider_callback( GtkAdjustment *adjust, cevent.SetInt( value ); win->GetEventHandler()->ProcessEvent( cevent ); } +} //----------------------------------------------------------------------------- // wxSlider