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:
Artur Wieczorek 2018-10-12 23:29:02 +02:00
parent 09ff7edfbe
commit 8429fd0229

View File

@ -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);
}
// -----------------------------------------------------------------------