public:
wxDataViewCtrl() : wxScrollHelperNative(this)
{
- //No sorting column at start, I think
- m_sortingColumn = NULL;
Init();
}
const wxValidator& validator = wxDefaultValidator )
: wxScrollHelperNative(this)
{
- m_sortingColumn = NULL;
Create(parent, id, pos, size, style, validator );
}
{
m_cols.DeleteContents(true);
m_notifier = NULL;
+
+ // No sorting column at start
+ m_sortingColumn = NULL;
+ m_headerArea = NULL;
}
bool wxDataViewCtrl::Create(wxWindow *parent, wxWindowID id,
if ( (style & wxBORDER_MASK) == 0)
style |= wxBORDER_SUNKEN;
+ Init();
+
if (!wxControl::Create( parent, id, pos, size,
style | wxScrolledWindowStyle, validator))
return false;
SetInitialSize(size);
- Init();
-
#ifdef __WXMAC__
MacSetClipChildren( true );
#endif