destruction.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20747
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
public:
// constructors and pseudo-constructors
public:
// constructors and pseudo-constructors
+ wxStaticLine() { m_statbox = NULL; }
wxStaticLine( wxWindow *parent,
wxWindowID id,
wxStaticLine( wxWindow *parent,
wxWindowID id,
Create(parent, id, pos, size, style, name);
}
Create(parent, id, pos, size, style, name);
}
+ virtual ~wxStaticLine();
+
bool Create( wxWindow *parent,
wxWindowID id,
const wxPoint &pos = wxDefaultPosition,
bool Create( wxWindow *parent,
wxWindowID id,
const wxPoint &pos = wxDefaultPosition,
long style,
const wxString &name)
{
long style,
const wxString &name)
{
if ( !CreateBase(parent, id, pos, size, style, wxDefaultValidator, name) )
return FALSE;
if ( !CreateBase(parent, id, pos, size, style, wxDefaultValidator, name) )
return FALSE;
+wxStaticLine::~wxStaticLine()
+{
+ delete m_statbox;
+}
WXWidget wxStaticLine::GetMainWidget() const
{
WXWidget wxStaticLine::GetMainWidget() const
{