]> git.saurik.com Git - wxWidgets.git/blame - contrib/include/wx/fl/dyntbarhnd.h
Avoid warnings from mgl headers if possible.
[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
ab7ce33c 15#if defined(__GNUG__) && !defined(__APPLE__)
8e08b761
JS
16 #pragma interface "dyntbarhnd.h"
17#endif
18
19#include "wx/fl/controlbar.h"
20#include "wx/fl/dyntbar.h"
21
4cbc57f0
JS
22/*
23Dynamic toolbar dimension handler.
24*/
25
510b9edb 26class WXDLLIMPEXP_FL cbDynToolBarDimHandler : public cbBarDimHandlerBase
8e08b761 27{
4cbc57f0 28 DECLARE_DYNAMIC_CLASS( cbDynToolBarDimHandler )
8e08b761 29public:
4cbc57f0
JS
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 );
8e08b761
JS
38};
39
40#endif /* __DYNTBARHND_G__ */
41