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 #if defined(__GNUG__) && !defined(__APPLE__)
16 #pragma interface "dyntbarhnd.h"
19 #include "wx/fl/controlbar.h"
20 #include "wx/fl/dyntbar.h"
23 Dynamic toolbar dimension handler.
26 class WXDLLIMPEXP_FL cbDynToolBarDimHandler
: public cbBarDimHandlerBase
28 DECLARE_DYNAMIC_CLASS( cbDynToolBarDimHandler
)
31 // Called when the bar changes state.
33 void OnChangeBarState(cbBarInfo
* pBar
, int newState
);
35 // Called when a bar is resized.
37 void OnResizeBar( cbBarInfo
* pBar
, const wxSize
& given
, wxSize
& preferred
);
40 #endif /* __DYNTBARHND_G__ */