]> git.saurik.com Git - wxWidgets.git/commitdiff
Initialize wxLogWindow::m_pLogFrame in ctor to avoid (rare) crash.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 15 Dec 2010 13:36:44 +0000 (13:36 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 15 Dec 2010 13:36:44 +0000 (13:36 +0000)
If the log frame creation itself generates log messages, the code using
wxLogWindow could crash because its m_pLogFrame member variable wasn't
initialized yet at this moment.

Do set it to NULL initially now to avoid this.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775


No differences found