[commit] r1332 - trunk/GME/Gme
GMESRC Repository Notifications
gme-commit at list.isis.vanderbilt.edu
Tue May 31 17:00:26 CDT 2011
Author: ksmyth
Date: Tue May 31 17:00:25 2011
New Revision: 1332
Log:
Fix Alt-F,C keyboard shortcut (and maybe others)
Modified:
trunk/GME/Gme/GMEApp.cpp
Modified: trunk/GME/Gme/GMEApp.cpp
==============================================================================
--- trunk/GME/Gme/GMEApp.cpp Tue May 31 12:42:16 2011 (r1331)
+++ trunk/GME/Gme/GMEApp.cpp Tue May 31 17:00:25 2011 (r1332)
@@ -458,6 +458,9 @@
// CG: The following lines were added by the Splash Screen component.
if (CSplashWnd::PreTranslateAppMessage(pMsg))
return TRUE;
+ // KMS: m_pMainWnd->PreTranslateMessage here for Alt-F,C. Otherwise, CGMEView::PreTranslateMessage TranslateAccelerator will return TRUE
+ if (m_pMainWnd && m_pMainWnd->PreTranslateMessage(pMsg))
+ return TRUE;
return CWinAppEx::PreTranslateMessage(pMsg);
}
More information about the gme-commit
mailing list