public:
// constructors and pseudo-constructors
- wxStaticLine() { }
+ wxStaticLine() { m_statbox = NULL; }
wxStaticLine( wxWindow *parent,
wxWindowID id,
Create(parent, id, pos, size, style, name);
}
+ virtual ~wxStaticLine();
+
bool Create( wxWindow *parent,
wxWindowID id,
const wxPoint &pos = wxDefaultPosition,
long style,
const wxString &name)
{
+ m_statbox = NULL;
+
if ( !CreateBase(parent, id, pos, size, style, wxDefaultValidator, name) )
return FALSE;
return TRUE;
}
+wxStaticLine::~wxStaticLine()
+{
+ delete m_statbox;
+}
WXWidget wxStaticLine::GetMainWidget() const
{