X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8dee26e1070f431f22963e41e030b14a4f9a709a..c753eb9269d1e6c99b80a2d782ce49d9864ac1da:/src/propgrid/manager.cpp?ds=sidebyside 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 ) {