]> git.saurik.com Git - wxWidgets.git/blob - utils/framelayout/src/dyntbarhnd.h
don't crash when invalid colour is set as fg/bg colour
[wxWidgets.git] / utils / framelayout / src / dyntbarhnd.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: No names yet.
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 license
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifndef __DYNTBARHND_G__
13 #define __DYNTBARHND_G__
14
15 #include "controlbar.h"
16 #include "dyntbar.h"
17
18 class cbDynToolBarDimHandler : public cbBarDimHandlerBase
19 {
20 DECLARE_DYNAMIC_CLASS( cbDynToolBarDimHandler )
21 public:
22 void OnChangeBarState(cbBarInfo* pBar, int newState );
23 void OnResizeBar( cbBarInfo* pBar, const wxSize& given, wxSize& preferred );
24 };
25
26 #endif