minifram.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /////////////////////////////////////////////////////////////////////////////
  2. // Name: wx/os2/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. // Copyright: (c) David Webster
  10. // Licence: wxWindows licence
  11. /////////////////////////////////////////////////////////////////////////////
  12. #ifndef _WX_MINIFRAM_H_
  13. #define _WX_MINIFRAM_H_
  14. #include "wx/frame.h"
  15. class WXDLLIMPEXP_CORE wxMiniFrame: public wxFrame {
  16. DECLARE_DYNAMIC_CLASS(wxMiniFrame)
  17. public:
  18. inline wxMiniFrame(void) {}
  19. inline wxMiniFrame(wxWindow *parent,
  20. wxWindowID id,
  21. const wxString& title,
  22. const wxPoint& pos = wxDefaultPosition,
  23. const wxSize& size = wxDefaultSize,
  24. long style = wxDEFAULT_FRAME_STYLE,
  25. const wxString& name = wxFrameNameStr)
  26. {
  27. Create(parent, id, title, pos, size, style | wxFRAME_TOOL_WINDOW | wxFRAME_FLOAT_ON_PARENT, name);
  28. }
  29. protected:
  30. };
  31. #endif
  32. // _WX_MINIFRAM_H_