]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/listbox.cpp
We need to update the scrollbar even if it's not shown, otherwise it can get stuck...
[wxWidgets.git] / src / os2 / listbox.cpp
index 7cbcb464b9f909543d0fa1fa0d290b3955153449..8e785dc5d9632401b08a2b2a38e670148caa827d 100644 (file)
@@ -810,7 +810,7 @@ bool wxListBox::OS2Command(
     {
         n = -1;
     }
-    vEvent.m_commandInt = n;
+    vEvent.SetInt(n);
     return GetEventHandler()->ProcessEvent(vEvent);
 } // end of wxListBox::OS2Command