]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/listbox.cpp
fixed typo in last commit
[wxWidgets.git] / src / msw / listbox.cpp
index a34af86c4167a17389dcc39f7973309a53be1805..6e50fde3e0af5c3288bd00357f91ec362524d40f 100644 (file)
@@ -732,7 +732,7 @@ bool wxListBox::MSWCommand(WXUINT param, WXWORD WXUNUSED(id))
         event.SetExtraLong( HasMultipleSelection() ? IsSelected(n) : true );
     }
 
-    event.m_commandInt = n;
+    event.SetInt(n);
 
     return GetEventHandler()->ProcessEvent(event);
 }