Fixed crash when expanding/collapsing categories too quickly (re-entrancy issue)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Jaakko Salli 2008-12-23 20:09:19 +00:00
parent 8763842294
commit aace2c4f96

View File

@ -1577,6 +1577,9 @@ void wxPropertyGrid::CorrectEditorWidgetSizeX()
void wxPropertyGrid::CorrectEditorWidgetPosY()
{
if ( m_selColumn == -1 )
return;
if ( m_selected && (m_wndEditor || m_wndEditor2) )
{
wxRect r = GetEditorWidgetRect(m_selected, m_selColumn);