]> git.saurik.com Git - wxWidgets.git/commit
Fix crash on wxDataViewCtrl creation after r73565.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 4 Mar 2013 11:48:26 +0000 (11:48 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 4 Mar 2013 11:48:26 +0000 (11:48 +0000)
commit09f84bc71682e86a035497694e3dda907ebe78b9
tree1fe33082ca6e62bea6011770000407b357172bdc
parent29ec9f9b021bea91e5cfedfc9602b069a935496e
Fix crash on wxDataViewCtrl creation after r73565.

Initialize m_clientArea to NULL to avoid crash in SetFont() which is called
during the control creation.

This might still be not 100% correct as the initial font is not set at all for
the client area but at least it fixes the crash.

See #15056.

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