[sword-svn] r143 - trunk/src/SwordReader_GUI/SRFramework
dtrotzjr at www.crosswire.org
dtrotzjr at www.crosswire.org
Tue Jul 1 17:49:32 MST 2008
Author: dtrotzjr
Date: 2008-07-01 17:49:31 -0700 (Tue, 01 Jul 2008)
New Revision: 143
Modified:
trunk/src/SwordReader_GUI/SRFramework/SRWnd.cpp
Log:
Minor Focus problem addressed. (Do we want a window that gets asked to show itself to also steal the focus implicitly or do we require an explicit call to SRWnd::SetFocus()?)
Modified: trunk/src/SwordReader_GUI/SRFramework/SRWnd.cpp
===================================================================
--- trunk/src/SwordReader_GUI/SRFramework/SRWnd.cpp 2008-06-23 02:00:13 UTC (rev 142)
+++ trunk/src/SwordReader_GUI/SRFramework/SRWnd.cpp 2008-07-02 00:49:31 UTC (rev 143)
@@ -70,6 +70,7 @@
::ShowWindow(m_hWnd, SW_SHOW);
::InvalidateRect(m_hWnd, NULL, TRUE);
::UpdateWindow(m_hWnd);
+ ::SetFocus(m_hWnd);
}
void SRWnd::Hide()
More information about the sword-cvs
mailing list