X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3cd94a0d119ade811cd876a309cfe6d28b5c36dd..b9f933ab5d4a293790d0f5186c434229678c76ea:/include/wx/generic/listctrl.h diff --git a/include/wx/generic/listctrl.h b/include/wx/generic/listctrl.h index 8ac82905be..5c745a1c81 100644 --- a/include/wx/generic/listctrl.h +++ b/include/wx/generic/listctrl.h @@ -17,12 +17,14 @@ #include "wx/defs.h" #include "wx/object.h" -#include "wx/imaglist.h" +#include "wx/generic/imaglist.h" + #include "wx/control.h" #include "wx/timer.h" #include "wx/dcclient.h" #include "wx/scrolwin.h" #include "wx/settings.h" +#include "wx/listbase.h" #if wxUSE_DRAG_AND_DROP class WXDLLEXPORT wxDropTarget; @@ -220,7 +222,29 @@ private: DECLARE_DYNAMIC_CLASS(wxGenericListCtrl); }; +#if !defined(__WXMSW__) || defined(__WIN16__) || defined(__WXUNIVERSAL__) +/* + * wxListCtrl has to be a real class or we have problems with + * the run-time information. + */ -#endif // __LISTCTRLH_G__ +class WXDLLEXPORT wxListCtrl: public wxGenericListCtrl +{ + DECLARE_DYNAMIC_CLASS(wxListCtrl) -// vi:sts=4:sw=4:et +public: + wxListCtrl() {} + + wxListCtrl(wxWindow *parent, wxWindowID id = -1, + const wxPoint& pos = wxDefaultPosition, + const wxSize& size = wxDefaultSize, + long style = wxLC_ICON, + const wxValidator &validator = wxDefaultValidator, + const wxString &name = "listctrl" ) + : wxGenericListCtrl(parent, id, pos, size, style, validator, name) + { + } +}; +#endif // !__WXMSW__ || __WIN16__ || __WXUNIVERSAL__ + +#endif // __LISTCTRLH_G__