]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/lboxcmn.cpp
fixed TREE_ITEM_MENU generation from right mouse clicks: don't pass WM_RBUTTONDOWN...
[wxWidgets.git] / src / common / lboxcmn.cpp
index 26bc0951884dddc774ed405fe06a99f1a8b18f58..1ded1f2bb5453b6b6a086fdfe4e0fadc9876b3ae 100644 (file)
@@ -118,7 +118,7 @@ void wxListBoxBase::DeselectAll(int itemToLeaveSelected)
 
 void wxListBoxBase::Command(wxCommandEvent& event)
 {
-    SetSelection(event.m_commandInt, event.m_extraLong != 0);
+    SetSelection(event.GetInt(), event.GetExtraLong() != 0);
     (void)ProcessEvent(event);
 }