wxCoord wxListMainWindow::GetLineHeight() const
{
- wxASSERT_MSG( HasFlag(wxLC_REPORT), _T("only works in report mode") );
-
// we cache the line height as calling GetTextExtent() is slow
if ( !m_lineHeight )
{
m_headerHeight = 0;
}
+wxGenericListCtrl::wxGenericListCtrl(wxWindow *parent,
+ wxWindowID winid,
+ const wxPoint &pos,
+ const wxSize &size,
+ long style,
+ const wxValidator& validator,
+ const wxString &name)
+{
+ Create(parent, winid, pos, size, style, validator, name);
+}
+
wxGenericListCtrl::~wxGenericListCtrl()
{
if (m_ownsImageListNormal)
m_mainWin = (wxListMainWindow*) NULL;
m_headerWin = (wxListHeaderWindow*) NULL;
+ m_headerHeight = 0;
+
if ( !(style & wxLC_MASK_TYPE) )
{
style = style | wxLC_LIST;
m_mainWin->Thaw();
}
+#if !defined(__WXMSW__) || defined(__WIN16__) || defined(__WXUNIVERSAL__)
+
+wxListCtrl::wxListCtrl()
+{
+}
+
+wxListCtrl::wxListCtrl(wxWindow *parent,
+ wxWindowID winid,
+ const wxPoint& pos,
+ const wxSize& size,
+ long style,
+ const wxValidator &validator,
+ const wxString &name)
+ : wxGenericListCtrl(parent, winid, pos, size, style, validator, name)
+{
+}
+
+#endif // !__WXMSW__ || __WIN16__ || __WXUNIVERSAL__
+
+wxListView::wxListView()
+{
+}
+
+wxListView::wxListView(wxWindow *parent,
+ wxWindowID winid,
+ const wxPoint& pos,
+ const wxSize& size,
+ long style,
+ const wxValidator& validator,
+ const wxString &name)
+{
+ Create(parent, winid, pos, size, style, validator, name);
+}
+
#endif // wxUSE_LISTCTRL