]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/vlbox.cpp
Clean up indentation / tabs from previous patch
[wxWidgets.git] / src / generic / vlbox.cpp
index 0a08835aa4c5b795bada18469d7ac2aade1d8d52..2830f19c7b8c5b73829e991a05be1ef139766e43 100644 (file)
@@ -243,7 +243,7 @@ void wxVListBox::SendSelectedEvent()
 
     wxCommandEvent event(wxEVT_COMMAND_LISTBOX_SELECTED, GetId());
     event.SetEventObject(this);
-    event.m_commandInt = m_current;
+    event.SetInt(m_current);
 
     (void)GetEventHandler()->ProcessEvent(event);
 }
@@ -602,7 +602,7 @@ void wxVListBox::OnLeftDClick(wxMouseEvent& event)
     {
         wxCommandEvent event(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED, GetId());
         event.SetEventObject(this);
-        event.m_commandInt = item;
+        event.SetInt(item);
 
         (void)GetEventHandler()->ProcessEvent(event);
     }