minifram.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /////////////////////////////////////////////////////////////////////////////
  2. // Name: wx/motif/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: Julian Smart
  7. // Modified by:
  8. // Created: 17/09/98
  9. // Copyright: (c) Julian Smart
  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() {}
  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|wxTINY_CAPTION,
  25. const wxString& name = wxFrameNameStr)
  26. {
  27. // Use wxFrame constructor in absence of more specific code.
  28. Create(parent, id, title, pos, size, style, name);
  29. }
  30. virtual ~wxMiniFrame() {}
  31. protected:
  32. };
  33. #endif
  34. // _WX_MINIFRAM_H_