statline.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /////////////////////////////////////////////////////////////////////////////
  2. // Name: wx/gtk1/statline.h
  3. // Purpose:
  4. // Author: Robert Roebling
  5. // Copyright: (c) 1998 Robert Roebling
  6. // Licence: wxWindows licence
  7. /////////////////////////////////////////////////////////////////////////////
  8. #ifndef __GTKSTATICLINEH__
  9. #define __GTKSTATICLINEH__
  10. #include "wx/defs.h"
  11. #if wxUSE_STATLINE
  12. // ----------------------------------------------------------------------------
  13. // wxStaticLine
  14. // ----------------------------------------------------------------------------
  15. class WXDLLIMPEXP_CORE wxStaticLine : public wxStaticLineBase
  16. {
  17. public:
  18. wxStaticLine();
  19. wxStaticLine(wxWindow *parent,
  20. wxWindowID id = wxID_ANY,
  21. const wxPoint &pos = wxDefaultPosition,
  22. const wxSize& size = wxDefaultSize,
  23. long style = wxLI_HORIZONTAL,
  24. const wxString &name = wxStaticLineNameStr);
  25. bool Create(wxWindow *parent,
  26. wxWindowID id = wxID_ANY,
  27. const wxPoint& pos = wxDefaultPosition,
  28. const wxSize& size = wxDefaultSize,
  29. long style = wxLI_HORIZONTAL,
  30. const wxString &name = wxStaticLineNameStr);
  31. static wxVisualAttributes
  32. GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
  33. private:
  34. DECLARE_DYNAMIC_CLASS(wxStaticLine)
  35. };
  36. #endif // wxUSE_STATLINE
  37. #endif // __GTKSTATICLINEH__