Adjust scroll bar and refresh the grid after changing virtual width
This commit is contained in:
@@ -4691,6 +4691,8 @@ void wxPropertyGrid::SetVirtualWidth( int width )
|
|||||||
SetInternalFlag(wxPG_FL_HAS_VIRTUAL_WIDTH);
|
SetInternalFlag(wxPG_FL_HAS_VIRTUAL_WIDTH);
|
||||||
}
|
}
|
||||||
m_pState->SetVirtualWidth( width );
|
m_pState->SetVirtualWidth( width );
|
||||||
|
RecalculateVirtualSize();
|
||||||
|
Refresh();
|
||||||
}
|
}
|
||||||
|
|
||||||
void wxPropertyGrid::SetFocusOnCanvas()
|
void wxPropertyGrid::SetFocusOnCanvas()
|
||||||
|
Reference in New Issue
Block a user