1999-06-28 17:39:49 -04: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 16:53:33 -04:00
|
|
|
// Licence: wxWindows licence
|
1999-06-28 17:39:49 -04:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef _WX_MSW_STATLINE_H_
|
|
|
|
#define _WX_MSW_STATLINE_H_
|
|
|
|
|
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
// wxStaticLine
|
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
|
2008-03-26 11:06:00 -04:00
|
|
|
class WXDLLIMPEXP_CORE wxStaticLine : public wxStaticLineBase
|
1999-06-28 17:39:49 -04:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
// constructors and pseudo-constructors
|
|
|
|
wxStaticLine() { }
|
|
|
|
|
|
|
|
wxStaticLine( wxWindow *parent,
|
2005-03-10 21:13:30 -05:00
|
|
|
wxWindowID id = wxID_ANY,
|
|
|
|
const wxPoint& pos = wxDefaultPosition,
|
|
|
|
const wxSize& size = wxDefaultSize,
|
1999-06-28 17:39:49 -04:00
|
|
|
long style = wxLI_HORIZONTAL,
|
2006-12-09 09:52:59 -05:00
|
|
|
const wxString &name = wxStaticLineNameStr )
|
1999-06-28 17:39:49 -04:00
|
|
|
{
|
|
|
|
Create(parent, id, pos, size, style, name);
|
|
|
|
}
|
|
|
|
|
|
|
|
bool Create( wxWindow *parent,
|
2005-03-10 21:13:30 -05:00
|
|
|
wxWindowID id = wxID_ANY,
|
|
|
|
const wxPoint& pos = wxDefaultPosition,
|
|
|
|
const wxSize& size = wxDefaultSize,
|
1999-06-28 17:39:49 -04:00
|
|
|
long style = wxLI_HORIZONTAL,
|
2006-12-09 09:52:59 -05:00
|
|
|
const wxString &name = wxStaticLineNameStr );
|
1999-12-29 14:18:01 -05:00
|
|
|
|
|
|
|
// overriden base class virtuals
|
2004-09-03 21:53:42 -04:00
|
|
|
virtual bool AcceptsFocus() const { return false; }
|
2002-02-19 19:25:54 -05:00
|
|
|
|
|
|
|
// usually overridden base class virtuals
|
|
|
|
virtual WXDWORD MSWGetStyle(long style, WXDWORD *exstyle) const;
|
2003-07-21 20:24:07 -04:00
|
|
|
|
|
|
|
DECLARE_DYNAMIC_CLASS_NO_COPY(wxStaticLine)
|
1999-06-28 17:39:49 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // _WX_MSW_STATLINE_H_
|
|
|
|
|
|
|
|
|