]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/infobar.cpp
Add doc for wxGraphicsContext.Create(), which is a lightweight context with no target...
[wxWidgets.git] / src / gtk / infobar.cpp
index 9963cdb51683aa82351491a1403071e1162fd744..defc0738aa459e7aec3cb537fc52c80e4e72c04b 100644 (file)
@@ -197,7 +197,7 @@ void wxInfoBar::Dismiss()
 
 void wxInfoBar::GTKResponse(int btnid)
 {
-    wxCommandEvent event(wxEVT_COMMAND_BUTTON_CLICKED, btnid);
+    wxCommandEvent event(wxEVT_BUTTON, btnid);
     event.SetEventObject(this);
 
     if ( !HandleWindowEvent(event) )