]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/listbox.cpp
set wxUSE_CRASHREPORT and wxUSE_STACKWALKER to 0 as well, and not only wxUSE_ON_FATAL...
[wxWidgets.git] / src / gtk1 / listbox.cpp
index ebfc45da5dd1903b03b0ca4744f2b1eb253ee663..70203eb2db04f41625f84543cf32cb0c00fe3147 100644 (file)
@@ -194,7 +194,7 @@ gtk_listbox_button_release_callback( GtkWidget * WXUNUSED(widget),
         n = -1;
     }
 
-    event.m_commandInt = n;
+    event.SetInt(n);
 
     listbox->GetEventHandler()->ProcessEvent( event );
 
@@ -320,7 +320,7 @@ gtk_listbox_key_press_callback( GtkWidget *widget, GdkEventKey *gdk_event, wxLis
             {
                 n = -1;
             }
-            new_event.m_commandInt = n;
+            new_event.SetInt(n);
             listbox->GetEventHandler()->ProcessEvent( new_event );
         }
     }
@@ -393,7 +393,7 @@ static void gtk_listitem_select_cb( GtkWidget *widget,
         n = -1;
     }
 
-    event.m_commandInt = n;
+    event.SetInt(n);
 
 //    No longer required with new code in wxLB_SINGLE
 //    listbox->GetEventHandler()->AddPendingEvent( event );