From 648f70f51ce7d130a2ba921c33f6cc152f097440 Mon Sep 17 00:00:00 2001 From: Kevin Wasserman Date: Thu, 14 Jun 2012 22:57:59 -0400 Subject: Send kfw 'obtain ticket' messages to main frame Previous versions of kfw would attempt to send 'obtain tickets' messages directly to the 'view' window by sending to the first child of the main frame. But with the ribbon UI, the ribbon toolbar is now the first child, so that method no longer works. Instead we now send the message to the main frame and the main frame forwards to the active view. Signed-off-by: Kevin Wasserman ticket: 7273 (new) queue: kfw target_version: 1.10.4 tags: pullup --- src/windows/leash/MainFrm.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/windows/leash/MainFrm.cpp') diff --git a/src/windows/leash/MainFrm.cpp b/src/windows/leash/MainFrm.cpp index c66486eeb..54815868a 100644 --- a/src/windows/leash/MainFrm.cpp +++ b/src/windows/leash/MainFrm.cpp @@ -418,6 +418,10 @@ LRESULT CMainFrame::WindowProc(UINT message, WPARAM wParam, LPARAM lParam) break; } break; + case ID_OBTAIN_TGT_WITH_LPARAM: + GetActiveView()->SendMessage(ID_OBTAIN_TGT_WITH_LPARAM, wParam, + lParam); + break; } if ( oldMin != m_isMinimum ) { -- cgit