]> git.saurik.com Git - wxWidgets.git/commit
Test for wxAuiMDIClientWindow being non-NULL before using it.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 1 Oct 2012 09:55:27 +0000 (09:55 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 1 Oct 2012 09:55:27 +0000 (09:55 +0000)
commit91ad3a26e39458e6fcd593165ad0a7aaccbe86a1
tree85930edac0c553384d9fc18c207b83dd812c2ab8
parent77dd7daad2df0faac2b4e846ac9bb6aff588278c
Test for wxAuiMDIClientWindow being non-NULL before using it.

wxAuiMDIParentFrame::GetActiveChild() may be called before the client window
is created, don't crash in this case but just return NULL.

Closes #14684.

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