]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/slider.cpp
* Changed "true" to "TRUE" in some file: "true" doesn't exist in BC++ 5
[wxWidgets.git] / src / gtk / slider.cpp
index 891fcf61f908c7b5813b2016e9fd2e57f1fb5da7..4b2385afd1c2e2756546d86d036e506cf463f263 100644 (file)
@@ -34,7 +34,7 @@ void gtk_slider_callback( GtkWidget *WXUNUSED(widget), wxSlider *win )
   float diff = win->m_adjust->value - win->m_oldPos;
   if (fabs(diff) < 0.2) return;
   
   float diff = win->m_adjust->value - win->m_oldPos;
   if (fabs(diff) < 0.2) return;
   
-  int command = 0;
+  wxEventType command = wxEVT_NULL;
   
   float line_step = win->m_adjust->step_increment;
   float page_step = win->m_adjust->page_increment;
   
   float line_step = win->m_adjust->step_increment;
   float page_step = win->m_adjust->page_increment;