home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / wxos2240.zip / wxWindows-2.4.0 / include / wx / os2 / minifram.h < prev    next >
C/C++ Source or Header  |  1999-10-11  |  1KB  |  42 lines

  1. /////////////////////////////////////////////////////////////////////////////
  2. // Name:        minifram.h
  3. // Purpose:     wxMiniFrame class. A small frame for e.g. floating toolbars.
  4. //              If there is no equivalent on your platform, just make it a
  5. //              normal frame.
  6. // Author:      David Webster
  7. // Modified by:
  8. // Created:     10/10/99
  9. // RCS-ID:      $Id: MINIFRAM.H,v 1.3 1999/10/11 02:49:06 DW Exp $
  10. // Copyright:   (c) David Webster
  11. // Licence:     wxWindows licence
  12. /////////////////////////////////////////////////////////////////////////////
  13.  
  14. #ifndef _WX_MINIFRAM_H_
  15. #define _WX_MINIFRAM_H_
  16.  
  17. #include "wx/frame.h"
  18.  
  19. class WXDLLEXPORT wxMiniFrame: public wxFrame {
  20.  
  21.   DECLARE_DYNAMIC_CLASS(wxMiniFrame)
  22.  
  23. public:
  24.   inline wxMiniFrame(void) {}
  25.   inline wxMiniFrame(wxWindow *parent,
  26.            wxWindowID id,
  27.            const wxString& title,
  28.            const wxPoint& pos = wxDefaultPosition,
  29.            const wxSize& size = wxDefaultSize,
  30.            long style = wxDEFAULT_FRAME_STYLE,
  31.            const wxString& name = wxFrameNameStr)
  32.   {
  33.       Create(parent, id, title, pos, size, style | wxFRAME_TOOL_WINDOW | wxFRAME_FLOAT_ON_PARENT, name);
  34.   }
  35.  
  36. protected:
  37. };
  38.  
  39. #endif
  40.     // _WX_MINIFRAM_H_
  41.  
  42.