]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/tbarbase.cpp
Reorganize wxCollapsiblePane event and layout code under GTK+
[wxWidgets.git] / src / common / tbarbase.cpp
index 1b7d9d00686b0e7ee54c18b1d5f8b6fbfd243f24..97fe65f63142988dcc7a132be923b9948e0f51d8 100644 (file)
@@ -625,7 +625,7 @@ bool wxToolBarBase::OnLeftClick(int id, bool toggleDown)
     event.SetExtraLong((long)toggleDown);
 
     // Send events to this toolbar instead (and thence up the window hierarchy)
-    GetEventHandler()->ProcessEvent(event);
+    HandleWindowEvent(event);
 
     return true;
 }