]> git.saurik.com Git - wxWidgets.git/blame - contrib/include/wx/fl/dyntbarhnd.h
wxPalette unified. Source cleaning.
[wxWidgets.git] / contrib / include / wx / fl / dyntbarhnd.h
CommitLineData
8e08b761 1/////////////////////////////////////////////////////////////////////////////
4cbc57f0 2// Name: dyntbarhnd.h
8e08b761
JS
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
4cbc57f0 9// Licence: wxWindows licence
8e08b761
JS
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef __DYNTBARHND_G__
13#define __DYNTBARHND_G__
14
8e08b761
JS
15#include "wx/fl/controlbar.h"
16#include "wx/fl/dyntbar.h"
17
4cbc57f0
JS
18/*
19Dynamic toolbar dimension handler.
20*/
21
510b9edb 22class WXDLLIMPEXP_FL cbDynToolBarDimHandler : public cbBarDimHandlerBase
8e08b761 23{
4cbc57f0 24 DECLARE_DYNAMIC_CLASS( cbDynToolBarDimHandler )
8e08b761 25public:
4cbc57f0
JS
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 );
8e08b761
JS
34};
35
36#endif /* __DYNTBARHND_G__ */
37