Initialize wxMDIParentFrame::m_accelWindowMenu in default ctor.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 21 Sep 2009 08:44:42 +0000 (08:44 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 21 Sep 2009 08:44:42 +0000 (08:44 +0000)
commit0fd2ecfed35280a776ebef0a45ef6eb868e9bd68
treecb7a1c5bd5e2c2585f8f3168ac0ee153e10f305f
parent4017f5ca49e153e04ffd1c49bc93afd31c1cdf87
Initialize wxMDIParentFrame::m_accelWindowMenu in default ctor.

If wxMDIParentFrame object was created without its Create() ever being called,
it crashed in its dtor trying to delete an uninitialized pointer, so do
initialize it to NULL in all ctors (via a helper Init() method, as usual).

Closes #11216.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/msw/mdi.h
src/msw/mdi.cpp