]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/spinctrl.cpp
define wxUSE_REGKEY for WinCE too (closes #10211)
[wxWidgets.git] / src / gtk / spinctrl.cpp
index 952d00378436cc7b079f554e9b6203c1471909a9..cb2d02f4f78540169d5b65996b4452c79ba80c02 100644 (file)
@@ -142,7 +142,7 @@ double wxSpinCtrlGTKBase::DoGetValue() const
 
     GtkDisableEvents();
     gtk_spin_button_update( GTK_SPIN_BUTTON(m_widget) );
-    wx_const_cast(wxSpinCtrlGTKBase*, this)->m_value =
+    const_cast<wxSpinCtrlGTKBase*>(this)->m_value =
         gtk_spin_button_get_value(GTK_SPIN_BUTTON(m_widget));
     GtkEnableEvents();