if ( mDoToolUpdates )
{
- int o = 0; //glt
- ++o;
-
// TBD::
}
}
void wxFrameView::CreateLayout()
{
- mpLayout = new wxFrameLayout( GetParentFrame(), mpFrameMgr->GetClientWindow(), FALSE );
+ mpLayout = new wxFrameLayout( GetParentFrame(), mpFrameMgr->GetClientWindow(), false );
}
wxFrameLayout* wxFrameView::GetLayout()
/***** Implementation for class wxFrameManager *****/
-void wxFrameManager::DoSerialize( wxObjectStorage& store )
+void wxFrameManager::DoSerialize( wxObjectStorage& WXUNUSED(store) )
{
#if 0
store.AddInitialRef( mpFrameWnd );
{
if ( i != mActiveViewNo )
- EnableMenusForView( (wxFrameView*)pNode->GetData(), FALSE );
+ EnableMenusForView( (wxFrameView*)pNode->GetData(), false );
pNode = pNode->GetNext();
}
- EnableMenusForView( GetView( mActiveViewNo ), TRUE );
+ EnableMenusForView( GetView( mActiveViewNo ), true );
}
/*** public methods ***/
}
}
- if ( mActiveViewNo >= mViews.GetCount() )
+ if ( mActiveViewNo >= (int)mViews.GetCount() )
mActiveViewNo = -1;
ActivateView( GetView( ( mActiveViewNo == -1 ) ? 0 : mActiveViewNo ) );
pFrmView->mpFrameMgr = this; // back ref.
}
-void wxFrameManager::RemoveView( wxFrameView* pFrmView )
+void wxFrameManager::RemoveView( wxFrameView* WXUNUSED(pFrmView) )
{
// TBD::
wxFAIL_MSG( _T("wxFrameManager::RemoveView() has not been implemented yet.") );
GetParentFrame()->PushEventHandler( pFrmView );
- EnableMenusForView( pFrmView, TRUE );
+ EnableMenusForView( pFrmView, true );
}
void wxFrameManager::SetClinetWindow( wxWindow* pFrameClient )
if ( pView->mpLayout )
pView->mpLayout->Deactivate();
- EnableMenusForView( pView, FALSE );
+ EnableMenusForView( pView, false );
}
void wxFrameManager::SaveViewsNow()
bool wxFrameManager::ReloadViews()
{
- return FALSE;
+ return false;
// TBD: ????
#if 0
if ( mSettingsFile == "" || !wxFileExists( mSettingsFile ) )
- return FALSE;
+ return false;
DestroyViews();
mStore.SetDataStream( stm );
DoSerialize( mStore );
- return TRUE;
+ return true;
#endif
}