From c4b10e41c7c275927fcc9999f81b6f65eadc7d31 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Mon, 5 Apr 1999 16:13:24 +0000 Subject: [PATCH] MSWOnCommand bug fixed git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/frame.cpp | 2 +- src/msw/mdi.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/msw/frame.cpp b/src/msw/frame.cpp index 811bea77ca..5c9b873da5 100644 --- a/src/msw/frame.cpp +++ b/src/msw/frame.cpp @@ -750,7 +750,7 @@ bool wxFrame::MSWOnCommand(WXWORD id, WXWORD cmd, WXHWND control) return FALSE; } else - return FALSE; + return wxWindow::MSWOnCommand(id, cmd, control); } void wxFrame::MSWOnMenuHighlight(WXWORD nItem, WXWORD nFlags, WXHMENU hSysMenu) diff --git a/src/msw/mdi.cpp b/src/msw/mdi.cpp index 2b1b74d1b7..b076f851be 100644 --- a/src/msw/mdi.cpp +++ b/src/msw/mdi.cpp @@ -492,7 +492,7 @@ bool wxMDIParentFrame::MSWOnCommand(WXWORD id, WXWORD cmd, WXHWND control) */ } - return FALSE; + return wxWindow::MSWOnCommand(id, cmd, control); } void wxMDIParentFrame::MSWOnMenuHighlight(WXWORD nItem, WXWORD nFlags, WXHMENU hSysMenu) @@ -867,7 +867,7 @@ bool wxMDIChildFrame::MSWOnCommand(WXWORD id, WXWORD cmd, WXHWND control) return TRUE; } else - return FALSE; + return wxWindow::MSWOnCommand(id, cmd, control); } long wxMDIChildFrame::MSWDefWindowProc(WXUINT message, WXUINT wParam, WXLPARAM lParam) -- 2.45.2