]> git.saurik.com Git - wxWidgets.git/blob - contrib/include/wx/fl/dyntbarhnd.h
generate makefile.unx files using bakefile
[wxWidgets.git] / contrib / include / wx / fl / dyntbarhnd.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: dyntbarhnd.h
3 // Purpose: Contrib. demo
4 // Author: Aleksandras Gluchovas
5 // Modified by:
6 // Created: 23/01/99
7 // RCS-ID: $Id$
8 // Copyright: (c) Aleksandras Gluchovas
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifndef __DYNTBARHND_G__
13 #define __DYNTBARHND_G__
14
15 #include "wx/fl/controlbar.h"
16 #include "wx/fl/dyntbar.h"
17
18 /*
19 Dynamic toolbar dimension handler.
20 */
21
22 class WXDLLIMPEXP_FL cbDynToolBarDimHandler : public cbBarDimHandlerBase
23 {
24 DECLARE_DYNAMIC_CLASS( cbDynToolBarDimHandler )
25 public:
26
27 // Called when the bar changes state.
28
29 void OnChangeBarState(cbBarInfo* pBar, int newState );
30
31 // Called when a bar is resized.
32
33 void OnResizeBar( cbBarInfo* pBar, const wxSize& given, wxSize& preferred );
34 };
35
36 #endif /* __DYNTBARHND_G__ */
37