// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#ifdef __GNUG__
- #pragma implementation "updatesmgr.h"
-#endif
-
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
cbDockPane& pane = *panes[n];
// store pane state
pane.mUMgrData.StoreItemState( pane.mBoundsInParent );
- pane.mUMgrData.SetDirty( FALSE );
+ pane.mUMgrData.SetDirty( false );
for( size_t i = 0; i != pane.GetRowList().Count(); ++i )
{
// store row state
row.mUMgrData.StoreItemState( row.mBoundsInParent );
- row.mUMgrData.SetDirty( FALSE );
+ row.mUMgrData.SetDirty( false );
for( size_t k = 0; k != row.mBars.Count(); ++k )
{
// store bar state
bar.mUMgrData.StoreItemState( bar.mBoundsInParent );
- bar.mUMgrData.SetDirty( FALSE );
+ bar.mUMgrData.SetDirty( false );
}
}
}
// nothing here, could be overriden by more sophisticated updates-managers
}
-void cbSimpleUpdatesMgr::OnRowWillChange( cbRowInfo* pRow, cbDockPane* pInPane )
+void cbSimpleUpdatesMgr::OnRowWillChange( cbRowInfo* WXUNUSED(pRow), cbDockPane* WXUNUSED(pInPane) )
{
// -/-
}
-void cbSimpleUpdatesMgr::OnBarWillChange( cbBarInfo* pBar,
- cbRowInfo* pInRow, cbDockPane* pInPane )
+void cbSimpleUpdatesMgr::OnBarWillChange( cbBarInfo* WXUNUSED(pBar),
+ cbRowInfo* WXUNUSED(pInRow), cbDockPane* WXUNUSED(pInPane) )
{
// -/-
}
-void cbSimpleUpdatesMgr::OnPaneMarginsWillChange( cbDockPane* pPane )
+void cbSimpleUpdatesMgr::OnPaneMarginsWillChange( cbDockPane* WXUNUSED(pPane) )
{
// -/-
}
-void cbSimpleUpdatesMgr::OnPaneWillChange( cbDockPane* pPane )
+void cbSimpleUpdatesMgr::OnPaneWillChange( cbDockPane* WXUNUSED(pPane) )
{
// -/-
}
wxDC* pDc = NULL;
- bool rowChanged = FALSE;
+ bool rowChanged = false;
// FIXME:: the below should not be fixed
cbBarInfo* barsToRepaint[256];
if ( WasChanged( row.mUMgrData, row.mBoundsInParent ) )
- rowChanged = TRUE;
+ rowChanged = true;
else
for( size_t k = 0; k != row.mBars.Count(); ++k )
pBar->mpBarWnd->Refresh();
// FIXME::
- //info.mpBarWnd->Show(FALSE);
- //info.mpBarWnd->Show(TRUE);
+ //info.mpBarWnd->Show(false);
+ //info.mpBarWnd->Show(true);
}
pNode = pNode->GetNext();