diff --git a/src/propgrid/manager.cpp b/src/propgrid/manager.cpp index 67edffed93..0f6e3bd17c 100644 --- a/src/propgrid/manager.cpp +++ b/src/propgrid/manager.cpp @@ -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); } // -----------------------------------------------------------------------