]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/radiobox.cpp
fixes for animated GIFs playing (patch 1097003)
[wxWidgets.git] / src / motif / radiobox.cpp
index 774c4df47c5fa79edfeefeb0a8296ba59936aeb7..0c3f955a8230deb0e2e8b21ab17635cc986d8a82 100644 (file)
@@ -13,6 +13,9 @@
 #pragma implementation "radiobox.h"
 #endif
 
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
 #ifdef __VMS
 #define XtDisplay XTDISPLAY
 #endif
@@ -342,7 +345,7 @@ bool wxRadioBox::SetStringSelection (const wxString& s)
 
 void wxRadioBox::Command (wxCommandEvent & event)
 {
-    SetSelection (event.m_commandInt);
+    SetSelection (event.GetInt());
     ProcessCommand (event);
 }