void wxFrameLayout::ReparentWindow( wxWindow* pChild, wxWindow* pNewParent )
{
#ifdef __WXMSW__
+#if 0
if ( pChild->GetParent() )
{
pNewParent->GetChildren().Append( pChild );
pChild->SetParent( pNewParent );
+#endif
+ pChild->Reparent(pNewParent);
return;
#endif
return;
- pChild->ReParent( pNewParent );
+ //pChild->ReParent( pNewParent );
- return;
+ //return;
#endif
wxMessageBox( "Sorry, docking is not supported for ports other than MSW and wxGTK" );
pMiniFrm->Create( &GetParentFrame(), -1, pBar->mName,
wxPoint( 50,50 ),
wxSize ( 0, 0 ),
- wxSTAY_ON_TOP //| wxTHICK_FRAME
+ wxFRAME_FLOAT_ON_PARENT | wxFRAME_TOOL_WINDOW
);
pMiniFrm->SetClient( pBar->mpBarWnd );