/////////////////////////////////////////////////////////////////////////////
-// Name: No names yet.
-// Purpose: Contrib. demo
+// Name: dyntbarhnd.cpp
+// Purpose: cbDynToolBarDimHandler implementation.
// Author: Aleksandras Gluchovas
// Modified by:
// Created: 23/01/99
// RCS-ID: $Id$
// Copyright: (c) Aleksandras Gluchovas
-// Licence: wxWindows license
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifdef __GNUG__
#pragma hdrstop
#endif
-
#ifndef WX_PRECOMP
#include "wx/wx.h"
#endif
#include "wx/fl/dyntbarhnd.h"
-
/***** Implementation for class cbDynToolBarDimHandler *****/
IMPLEMENT_DYNAMIC_CLASS( cbDynToolBarDimHandler, cbBarDimHandlerBase )
-void cbDynToolBarDimHandler::OnChangeBarState(cbBarInfo* pBar, int newState )
+void cbDynToolBarDimHandler::OnChangeBarState(cbBarInfo* WXUNUSED(pBar), int WXUNUSED(newState) )
{
- // nothing
+ // nothing
}
void cbDynToolBarDimHandler::OnResizeBar( cbBarInfo* pBar,
- const wxSize& given,
- wxSize& preferred )
+ const wxSize& given,
+ wxSize& preferred )
{
- wxASSERT( pBar->mpBarWnd ); // DBG:: should be present
+ wxASSERT( pBar->mpBarWnd ); // DBG:: should be present
- wxDynamicToolBar* pTBar = (wxDynamicToolBar*)pBar->mpBarWnd;
+ wxDynamicToolBar* pTBar = (wxDynamicToolBar*)pBar->mpBarWnd;
- pTBar->GetPreferredDim( given, preferred );
+ pTBar->GetPreferredDim( given, preferred );
}