]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/slider.cpp
reSWIGged
[wxWidgets.git] / src / gtk1 / slider.cpp
index 93ec5c8fffc9e3ae2340df3aa0dd518688f1495c..c5d5be31fe8108b74d6b168b119499b11bcb7571 100644 (file)
@@ -41,6 +41,7 @@ static const float sensitivity = 0.02;
 // "value_changed"
 //-----------------------------------------------------------------------------
 
 // "value_changed"
 //-----------------------------------------------------------------------------
 
+extern "C" {
 static void gtk_slider_callback( GtkAdjustment *adjust,
                                  SCROLLBAR_CBACK_ARG
                                  wxSlider *win )
 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 );
 }
     cevent.SetInt( value );
     win->GetEventHandler()->ProcessEvent( cevent );
 }
+}
 
 //-----------------------------------------------------------------------------
 // wxSlider
 
 //-----------------------------------------------------------------------------
 // wxSlider