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:
parent
8763842294
commit
aace2c4f96
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user