X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8e08b761b0c5ecb6df295785b78f1f3637331887..d66c3960d541cf9e3ba10519a49a9e34b4ddfc81:/contrib/src/fl/dyntbarhnd.cpp diff --git a/contrib/src/fl/dyntbarhnd.cpp b/contrib/src/fl/dyntbarhnd.cpp index e375851436..2893383160 100644 --- a/contrib/src/fl/dyntbarhnd.cpp +++ b/contrib/src/fl/dyntbarhnd.cpp @@ -1,12 +1,12 @@ ///////////////////////////////////////////////////////////////////////////// -// 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__ @@ -20,30 +20,28 @@ #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 ); }