]> git.saurik.com Git - wxWidgets.git/commitdiff
no real changes, just use HandleWindowEvent() instead of GetEventHandler()->SafelyPro...
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 23 Jan 2008 23:03:40 +0000 (23:03 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 23 Jan 2008 23:03:40 +0000 (23:03 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/menucmn.cpp

index e97a419bd609a7877703a7d720d4ba18d9799f0e..e2d31c67f2fc88731fee9870c5f52115af65e624 100644 (file)
@@ -465,7 +465,7 @@ bool wxMenuBase::SendEvent(int id, int checked)
             wxWindow *win = menu->GetInvokingWindow();
             if ( win )
             {
             wxWindow *win = menu->GetInvokingWindow();
             if ( win )
             {
-                processed = win->GetEventHandler()->SafelyProcessEvent(event);
+                processed = win->HandleWindowEvent(event);
                 break;
             }
 
                 break;
             }