]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/listbox.cpp
As small as possible reorganization within wxDateTime to please PCH in DLL build...
[wxWidgets.git] / src / univ / listbox.cpp
index c7e00cee0c0788017606f285f640dbb7c99dba41..1188a594b4d454f54636dd233897b9492e21bfed 100644 (file)
@@ -892,7 +892,7 @@ bool wxListBox::SendEvent(wxEventType type, int item)
         event.SetString(GetString(item));
     }
 
-    event.m_commandInt = item;
+    event.SetInt(item);
 
     return GetEventHandler()->ProcessEvent(event);
 }