]> git.saurik.com Git - wxWidgets.git/blame_incremental - contrib/include/wx/fl/dyntbarhnd.h
Tweaks to install guide
[wxWidgets.git] / contrib / include / wx / fl / dyntbarhnd.h
... / ...
CommitLineData
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#if defined(__GNUG__) && !defined(__APPLE__)
16 #pragma interface "dyntbarhnd.h"
17#endif
18
19#include "wx/fl/controlbar.h"
20#include "wx/fl/dyntbar.h"
21
22/*
23Dynamic toolbar dimension handler.
24*/
25
26class WXDLLIMPEXP_FL cbDynToolBarDimHandler : public cbBarDimHandlerBase
27{
28 DECLARE_DYNAMIC_CLASS( cbDynToolBarDimHandler )
29public:
30
31 // Called when the bar changes state.
32
33 void OnChangeBarState(cbBarInfo* pBar, int newState );
34
35 // Called when a bar is resized.
36
37 void OnResizeBar( cbBarInfo* pBar, const wxSize& given, wxSize& preferred );
38};
39
40#endif /* __DYNTBARHND_G__ */
41