X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8a3e173a02857f1f2e166e068331d1a42b85f391..6ea48c514e0b911113020c76fdb83b64f5941ddb:/include/wx/generic/listctrl.h diff --git a/include/wx/generic/listctrl.h b/include/wx/generic/listctrl.h index f48222289a..07cec7f0c8 100644 --- a/include/wx/generic/listctrl.h +++ b/include/wx/generic/listctrl.h @@ -8,21 +8,13 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifndef __LISTCTRLH_G__ -#define __LISTCTRLH_G__ - -#include "wx/defs.h" -#include "wx/object.h" -#include "wx/imaglist.h" - -#include "wx/control.h" -#include "wx/timer.h" -#include "wx/dcclient.h" -#include "wx/scrolwin.h" -#include "wx/settings.h" -#include "wx/listctrl.h" +#ifndef _WX_GENERIC_LISTCTRL_H_ +#define _WX_GENERIC_LISTCTRL_H_ + #include "wx/textctrl.h" +class WXDLLIMPEXP_CORE wxImageList; + #if wxUSE_DRAG_AND_DROP class WXDLLEXPORT wxDropTarget; #endif @@ -31,21 +23,14 @@ class WXDLLEXPORT wxDropTarget; // constants // ---------------------------------------------------------------------------- -extern WXDLLEXPORT_DATA(const wxChar) wxGenericListCtrlNameStr[]; //----------------------------------------------------------------------------- // internal classes //----------------------------------------------------------------------------- -class WXDLLEXPORT wxListHeaderData; -class WXDLLEXPORT wxListItemData; - class WXDLLEXPORT wxListHeaderWindow; class WXDLLEXPORT wxListMainWindow; -class WXDLLEXPORT wxListRenameTimer; -class WXDLLEXPORT wxListTextCtrl; - //----------------------------------------------------------------------------- // wxListCtrl //----------------------------------------------------------------------------- @@ -61,7 +46,7 @@ public: const wxSize &size = wxDefaultSize, long style = wxLC_ICON, const wxValidator& validator = wxDefaultValidator, - const wxString &name = wxGenericListCtrlNameStr) + const wxString &name = wxListCtrlNameStr) { Create(parent, winid, pos, size, style, validator, name); } @@ -73,7 +58,7 @@ public: const wxSize &size = wxDefaultSize, long style = wxLC_ICON, const wxValidator& validator = wxDefaultValidator, - const wxString &name = wxGenericListCtrlNameStr); + const wxString &name = wxListCtrlNameStr); bool GetColumn( int col, wxListItem& item ) const; bool SetColumn( int col, wxListItem& item ); @@ -287,4 +272,4 @@ public: }; #endif // !__WXMSW__ || __WXUNIVERSAL__ -#endif // __LISTCTRLH_G__ +#endif // _WX_GENERIC_LISTCTRL_H_