X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ddb2cbee44dfd04cc60072d284e7ce24ec5dabf0..467175ab3f2177aa824ceb7b67934fd54ce4e8e0:/include/wx/generic/listctrl.h?ds=sidebyside diff --git a/include/wx/generic/listctrl.h b/include/wx/generic/listctrl.h index 7011156080..19e874c53e 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 @@ -36,15 +28,9 @@ class WXDLLEXPORT wxDropTarget; // internal classes //----------------------------------------------------------------------------- -class WXDLLEXPORT wxListHeaderData; -class WXDLLEXPORT wxListItemData; - class WXDLLEXPORT wxListHeaderWindow; class WXDLLEXPORT wxListMainWindow; -class WXDLLEXPORT wxListRenameTimer; -class WXDLLEXPORT wxListTextCtrl; - //----------------------------------------------------------------------------- // wxListCtrl //----------------------------------------------------------------------------- @@ -197,6 +183,9 @@ public: virtual bool SetFont( const wxFont &font ); virtual bool SetCursor( const wxCursor &cursor ); + virtual int GetScrollPos(int orient) const; + virtual void SetScrollPos(int orient, int pos, bool refresh = true); + #if wxUSE_DRAG_AND_DROP virtual void SetDropTarget( wxDropTarget *dropTarget ); virtual wxDropTarget *GetDropTarget() const; @@ -286,4 +275,4 @@ public: }; #endif // !__WXMSW__ || __WXUNIVERSAL__ -#endif // __LISTCTRLH_G__ +#endif // _WX_GENERIC_LISTCTRL_H_