]> git.saurik.com Git - wxWidgets.git/commit - include/wx/window.h
don't check whether the window is shown and enabled in AcceptsFocus() itself
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 25 Mar 2007 22:36:24 +0000 (22:36 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 25 Mar 2007 22:36:24 +0000 (22:36 +0000)
commitad02525dadb780a4bacb6482ac633e90a10fe25c
treef1f3a21dc2c74c58fffa93c57ebfbe18351f9a96
parent4542739ccb3b2ad47afc66b7a3182568a182b71f
don't check whether the window is shown and enabled in AcceptsFocus() itself
as it makes overriding it in derived classes problematic; provide a separate
non virtual CanAcceptFocus() method checking whether the window accepts focus
and if it can accept it now and use it instead of AcceptsFocus(); documented
AcceptsFocus() and AcceptsFocusFromKeyboard()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
14 files changed:
docs/latex/wx/window.tex
include/wx/window.h
src/dfb/nonownedwnd.cpp
src/gtk/window.cpp
src/gtk1/window.cpp
src/mac/carbon/toplevel.cpp
src/mgl/toplevel.cpp
src/mgl/window.cpp
src/msw/control.cpp
src/msw/window.cpp
src/os2/control.cpp
src/os2/window.cpp
src/univ/themes/win32.cpp
src/x11/app.cpp