]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/radiobut.cpp
switch OSX implementations to unicode text ctrl meanwhile
[wxWidgets.git] / src / msw / radiobut.cpp
index 2b3b4925cca385208aab87af2b2f59d5ca6f74cb..c49c9600452cb02260bbf22e71f325bb96d042f5 100644 (file)
@@ -237,7 +237,7 @@ bool wxRadioButton::GetValue() const
 
 void wxRadioButton::Command (wxCommandEvent& event)
 {
-    SetValue(event.m_commandInt != 0);
+    SetValue(event.GetInt() != 0);
     ProcessCommand(event);
 }