1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: Contrib. demo
4 // Author: Aleksandras Gluchovas
8 // Copyright: (c) Aleksandras Gluchovas
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef __DYNTBARHND_G__
13 #define __DYNTBARHND_G__
15 #include "wx/fl/controlbar.h"
16 #include "wx/fl/dyntbar.h"
19 Dynamic toolbar dimension handler.
22 class WXDLLIMPEXP_FL cbDynToolBarDimHandler
: public cbBarDimHandlerBase
24 DECLARE_DYNAMIC_CLASS( cbDynToolBarDimHandler
)
27 // Called when the bar changes state.
29 void OnChangeBarState(cbBarInfo
* pBar
, int newState
);
31 // Called when a bar is resized.
33 void OnResizeBar( cbBarInfo
* pBar
, const wxSize
& given
, wxSize
& preferred
);
36 #endif /* __DYNTBARHND_G__ */