#include "wx/textctrl.h"
-class WXDLLIMPEXP_CORE wxImageList;
+class WXDLLIMPEXP_FWD_CORE wxImageList;
#if wxUSE_DRAG_AND_DROP
-class WXDLLEXPORT wxDropTarget;
+class WXDLLIMPEXP_FWD_CORE wxDropTarget;
#endif
// ----------------------------------------------------------------------------
// internal classes
//-----------------------------------------------------------------------------
-class WXDLLEXPORT wxListHeaderWindow;
-class WXDLLEXPORT wxListMainWindow;
+class WXDLLIMPEXP_FWD_CORE wxListHeaderWindow;
+class WXDLLIMPEXP_FWD_CORE wxListMainWindow;
//-----------------------------------------------------------------------------
// wxListCtrl
virtual void Refresh(bool eraseBackground = true,
const wxRect *rect = NULL);
- virtual void Freeze();
- virtual void Thaw();
-
virtual bool SetBackgroundColour( const wxColour &colour );
virtual bool SetForegroundColour( const wxColour &colour );
virtual wxColour GetBackgroundColour() const;
virtual wxSize DoGetBestSize() const;
+ virtual void DoFreeze();
+ virtual void DoThaw();
+
// return the text for the given column of the given item
virtual wxString OnGetItemText(long item, long column) const;
virtual wxListItemAttr *OnGetItemAttr(long item) const;
// it calls our OnGetXXX() functions
- friend class WXDLLEXPORT wxListMainWindow;
+ friend class WXDLLIMPEXP_FWD_CORE wxListMainWindow;
private:
// create the header window
DECLARE_DYNAMIC_CLASS(wxGenericListCtrl)
};
-#if (!defined(__WXMSW__) || defined(__WXUNIVERSAL__)) && !defined(__WXMAC__)
+#if (!defined(__WXMSW__) || defined(__WXUNIVERSAL__)) && (!defined(__WXMAC__) || defined(__WXUNIVERSAL__))
/*
* wxListCtrl has to be a real class or we have problems with
* the run-time information.