]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/checkbox.cpp
fix another memory leak in SetCommand() (coverity checker CID 52)
[wxWidgets.git] / src / motif / checkbox.cpp
index 9b35bfe8504c69ce33b15dad6b936f479aa1d517..9a274cc63a3a7909302374e2bbad4e5cc4220856 100644 (file)
@@ -182,7 +182,7 @@ void wxCheckBox::DoSet3StateValue(wxCheckBoxState state)
                    NULL );
 #else
     XmToggleButtonSetState ((Widget) m_mainWidget,
-                            (Boolean) state == wxCHK_CHECKED, True);
+                            state == wxCHK_CHECKED, True);
 #endif
 
     m_inSetValue = false;