]> git.saurik.com Git - wxWidgets.git/commit
Check that focused window is non-NULL before using it in wxComboCtrl.
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 11 Apr 2013 16:54:41 +0000 (16:54 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 11 Apr 2013 16:54:41 +0000 (16:54 +0000)
commite3b507e93e3751ebcec5a1881ffe9558d78dfbf5
tree26b906924b976b364853621f6c275c9d96563b1b
parent5ae1a6697062752f2098a7a6edf0b91e1a42b10a
Check that focused window is non-NULL before using it in wxComboCtrl.

wxWindow::FindFocus() may return NULL, don't crash by attempting to
dereference the pointer returned by it.

Closes #15146.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/common/combocmn.cpp