]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/checkbox.cpp
adapting keycode field usage for EVT_CHAR in unicode to MSW variant (full unicode...
[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,
                    NULL );
 #else
     XmToggleButtonSetState ((Widget) m_mainWidget,
-                            (Boolean) state == wxCHK_CHECKED, True);
+                            state == wxCHK_CHECKED, True);
 #endif
 
     m_inSetValue = false;
 #endif
 
     m_inSetValue = false;