X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8e08b761b0c5ecb6df295785b78f1f3637331887..3f4f90c2a0c1f274d1918b320132ed0ca2922fe5:/contrib/src/fl/dyntbarhnd.cpp?ds=inline diff --git a/contrib/src/fl/dyntbarhnd.cpp b/contrib/src/fl/dyntbarhnd.cpp index e375851436..2a819c5b9b 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 ) { - // 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 ); }