X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8dee26e1070f431f22963e41e030b14a4f9a709a..9581362b151a80bc62bf3ed6f9fae70481ea7723:/src/propgrid/manager.cpp diff --git a/src/propgrid/manager.cpp b/src/propgrid/manager.cpp index 096228ac54..444902899c 100644 --- a/src/propgrid/manager.cpp +++ b/src/propgrid/manager.cpp @@ -528,6 +528,18 @@ void wxPropertyGridManager::SetWindowStyleFlag( long style ) // ----------------------------------------------------------------------- +bool wxPropertyGridManager::Reparent( wxWindowBase *newParent ) +{ + if ( m_pPropGrid ) + m_pPropGrid->OnTLPChanging((wxWindow*)newParent); + + bool res = wxPanel::Reparent(newParent); + + return res; +} + +// ----------------------------------------------------------------------- + // Actually shows given page. bool wxPropertyGridManager::DoSelectPage( int index ) {