Removed wxWS_EX_NO_AUTOFOCUS (use AcceptsFocus instead)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2000-10-04 14:33:20 +00:00
parent 08793a6da9
commit 4f43043985
4 changed files with 4 additions and 7 deletions

View File

@@ -1897,7 +1897,7 @@ long wxWindow::MSWWindowProc(WXUINT message, WXWPARAM wParam, WXLPARAM lParam)
case WM_LBUTTONDOWN:
// set focus to this window
if ((GetExtraStyle() & wxWS_EX_NO_AUTOFOCUS) != wxWS_EX_NO_AUTOFOCUS)
if (AcceptsFocus())
SetFocus();
// fall through