1999-06-28 21:39:49 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: msw/statline.h
|
|
|
|
// Purpose: MSW version of wxStaticLine class
|
|
|
|
// Author: Vadim Zeitlin
|
|
|
|
// Created: 28.06.99
|
|
|
|
// Version: $Id$
|
|
|
|
// Copyright: (c) 1998 Vadim Zeitlin
|
2004-05-23 20:53:33 +00:00
|
|
|
// Licence: wxWindows licence
|
1999-06-28 21:39:49 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef _WX_MSW_STATLINE_H_
|
|
|
|
#define _WX_MSW_STATLINE_H_
|
|
|
|
|
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
// wxStaticLine
|
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
|
2008-03-26 15:06:00 +00:00
|
|
|
class WXDLLIMPEXP_CORE wxStaticLine : public wxStaticLineBase
|
1999-06-28 21:39:49 +00:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
// constructors and pseudo-constructors
|
|
|
|
wxStaticLine() { }
|
|
|
|
|
|
|
|
wxStaticLine( wxWindow *parent,
|
2005-03-11 02:13:30 +00:00
|
|
|
wxWindowID id = wxID_ANY,
|
|
|
|
const wxPoint& pos = wxDefaultPosition,
|
|
|
|
const wxSize& size = wxDefaultSize,
|
1999-06-28 21:39:49 +00:00
|
|
|
long style = wxLI_HORIZONTAL,
|
2006-12-09 14:52:59 +00:00
|
|
|
const wxString &name = wxStaticLineNameStr )
|
1999-06-28 21:39:49 +00:00
|
|
|
{
|
|
|
|
Create(parent, id, pos, size, style, name);
|
|
|
|
}
|
|
|
|
|
|
|
|
bool Create( wxWindow *parent,
|
2005-03-11 02:13:30 +00:00
|
|
|
wxWindowID id = wxID_ANY,
|
|
|
|
const wxPoint& pos = wxDefaultPosition,
|
|
|
|
const wxSize& size = wxDefaultSize,
|
1999-06-28 21:39:49 +00:00
|
|
|
long style = wxLI_HORIZONTAL,
|
2006-12-09 14:52:59 +00:00
|
|
|
const wxString &name = wxStaticLineNameStr );
|
1999-12-29 19:18:01 +00:00
|
|
|
|
|
|
|
// overriden base class virtuals
|
2004-09-04 01:53:42 +00:00
|
|
|
virtual bool AcceptsFocus() const { return false; }
|
2002-02-20 00:25:54 +00:00
|
|
|
|
|
|
|
// usually overridden base class virtuals
|
|
|
|
virtual WXDWORD MSWGetStyle(long style, WXDWORD *exstyle) const;
|
2003-07-22 00:24:07 +00:00
|
|
|
|
|
|
|
DECLARE_DYNAMIC_CLASS_NO_COPY(wxStaticLine)
|
1999-06-28 21:39:49 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // _WX_MSW_STATLINE_H_
|
|
|
|
|
|
|
|
|