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:
@@ -1454,8 +1454,7 @@ void wxPropertyGridManager::OnPaint( wxPaintEvent& WXUNUSED(event) )
|
|||||||
|
|
||||||
void wxPropertyGridManager::Refresh(bool eraseBackground, const wxRect* rect )
|
void wxPropertyGridManager::Refresh(bool eraseBackground, const wxRect* rect )
|
||||||
{
|
{
|
||||||
m_pPropGrid->Refresh(eraseBackground);
|
wxPanel::Refresh(eraseBackground, rect);
|
||||||
wxWindow::Refresh(eraseBackground,rect);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// -----------------------------------------------------------------------
|
// -----------------------------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user