]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/checkbox.cpp
Do not allow multiple selection when dragging in the 'value' column
[wxWidgets.git] / src / gtk / checkbox.cpp
index 17c3ff9548378cbcd8bf29a216069e6ca55263cf..82606be7ffda18fb9c6874a8b30b37fc9caf0a27 100644 (file)
@@ -67,7 +67,7 @@ static void gtk_checkbox_toggled_callback(GtkWidget *widget, wxCheckBox *cb)
             }
             else
             {
-                wxFAIL_MSG(_T("3state wxCheckBox in unexpected state!"));
+                wxFAIL_MSG(wxT("3state wxCheckBox in unexpected state!"));
             }
 
             cb->GTKEnableEvents();
@@ -171,7 +171,7 @@ void wxCheckBox::SetValue( bool state )
 
     if (state == GetValue())
         return;
+
     GTKDisableEvents();
 
     gtk_toggle_button_set_active( GTK_TOGGLE_BUTTON(m_widgetCheckbox), state );