home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / wxos2233.zip / wxOS2-2_3_3.zip / wxWindows-2.3.3 / contrib / include / wx / fl / dyntbarhnd.h < prev    next >
C/C++ Source or Header  |  2002-09-08  |  1KB  |  42 lines

  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: dyntbarhnd.h,v 1.3 2002/09/07 12:10:19 GD Exp $
  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. /*
  23. Dynamic toolbar dimension handler.
  24. */
  25.  
  26. class cbDynToolBarDimHandler : public cbBarDimHandlerBase
  27. {
  28.     DECLARE_DYNAMIC_CLASS( cbDynToolBarDimHandler )
  29. public:
  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.  
  42.