Don't explicitly refresh entire wxPropertyGrid while refreshing wxPropertyGridManager
wxPG is a child of wxPGManager and is refreshed automatically when updated region of wxPGManager contains wxPG window.
This commit is contained in:
parent
09ff7edfbe
commit
8429fd0229
@ -1454,8 +1454,7 @@ void wxPropertyGridManager::OnPaint( wxPaintEvent& WXUNUSED(event) )
|
||||
|
||||
void wxPropertyGridManager::Refresh(bool eraseBackground, const wxRect* rect )
|
||||
{
|
||||
m_pPropGrid->Refresh(eraseBackground);
|
||||
wxWindow::Refresh(eraseBackground,rect);
|
||||
wxPanel::Refresh(eraseBackground, rect);
|
||||
}
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user