]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/radiobut.cpp
Add support for wxSL_INVERSE flag. Also uses new inverse logic to make Mac vertical...
[wxWidgets.git] / src / motif / radiobut.cpp
index b633e9cb20d2f0fa1e805e82889b4907cf1f0398..424afc16b5e9c245c7851620d082119c0eb65666 100644 (file)
@@ -13,6 +13,9 @@
 #pragma implementation "radiobut.h"
 #endif
 
 #pragma implementation "radiobut.h"
 #endif
 
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
 #ifdef __VMS
 #define XtDisplay XTDISPLAY
 #endif
 #ifdef __VMS
 #define XtDisplay XTDISPLAY
 #endif
@@ -133,7 +136,7 @@ bool wxRadioButton::GetValue() const
 
 void wxRadioButton::Command (wxCommandEvent & event)
 {
 
 void wxRadioButton::Command (wxCommandEvent & event)
 {
-    SetValue ( (event.m_commandInt != 0) );
+    SetValue ( (event.GetInt() != 0) );
     ProcessCommand (event);
 }
 
     ProcessCommand (event);
 }