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:
@@ -1577,6 +1577,9 @@ void wxPropertyGrid::CorrectEditorWidgetSizeX()
|
|||||||
|
|
||||||
void wxPropertyGrid::CorrectEditorWidgetPosY()
|
void wxPropertyGrid::CorrectEditorWidgetPosY()
|
||||||
{
|
{
|
||||||
|
if ( m_selColumn == -1 )
|
||||||
|
return;
|
||||||
|
|
||||||
if ( m_selected && (m_wndEditor || m_wndEditor2) )
|
if ( m_selected && (m_wndEditor || m_wndEditor2) )
|
||||||
{
|
{
|
||||||
wxRect r = GetEditorWidgetRect(m_selected, m_selColumn);
|
wxRect r = GetEditorWidgetRect(m_selected, m_selColumn);
|
||||||
|
Reference in New Issue
Block a user