projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
switching to compositing operators (fixes #9881), adding layers
[wxWidgets.git]
/
include
/
wx
/
palmos
/
listctrl.h
diff --git
a/include/wx/palmos/listctrl.h
b/include/wx/palmos/listctrl.h
index 1ad47caae04e471608cd7398e300c70eb1d2ab68..91a6eaf5e4da64e537b4e91369122ae3e081a33a 100644
(file)
--- a/
include/wx/palmos/listctrl.h
+++ b/
include/wx/palmos/listctrl.h
@@
-2,7
+2,7
@@
// Name: wx/palmos/listctrl.h
// Purpose: wxListCtrl class
// Author: William Osborne - minimal working wxPalmOS port
// Name: wx/palmos/listctrl.h
// Purpose: wxListCtrl class
// Author: William Osborne - minimal working wxPalmOS port
-// Modified by:
+// Modified by:
Yunhui Fu
// Created: 10/13/04
// RCS-ID: $Id$
// Copyright: (c) William Osborne
// Created: 10/13/04
// RCS-ID: $Id$
// Copyright: (c) William Osborne
@@
-20,7
+20,7
@@
#include "wx/textctrl.h"
#include "wx/textctrl.h"
-class WXDLL
EXPORT
wxImageList;
+class WXDLL
IMPEXP_FWD_CORE
wxImageList;
/*
The wxListCtrl can show lists of items in four different modes:
/*
The wxListCtrl can show lists of items in four different modes:
@@
-73,7
+73,7
@@
class WXDLLEXPORT wxImageList;
*/
*/
-class WXDLL
EXPORT
wxListCtrl: public wxControl
+class WXDLL
IMPEXP_CORE
wxListCtrl: public wxControl
{
public:
/*
{
public:
/*
@@
-166,7
+166,8
@@
public:
long GetItemData(long item) const ;
// Sets the item data
long GetItemData(long item) const ;
// Sets the item data
- bool SetItemData(long item, long data) ;
+ bool SetItemPtrData(long item, wxUIntPtr data);
+ bool SetItemData(long item, long data) { return SetItemPtrData(item, data); }
// Gets the item rectangle
bool GetItemRect(long item, wxRect& rect, int code = wxLIST_RECT_BOUNDS) const ;
// Gets the item rectangle
bool GetItemRect(long item, wxRect& rect, int code = wxLIST_RECT_BOUNDS) const ;
@@
-375,9
+376,6
@@
protected:
// return the text for the given column of the given item
virtual wxString OnGetItemText(long item, long column) const;
// return the text for the given column of the given item
virtual wxString OnGetItemText(long item, long column) const;
- // return the text for the given column of the given item
- virtual wxString OnGetItemText(long item, long column) const;
-
// return the icon for the given item. In report view, OnGetItemImage will
// only be called for the first column. See OnGetItemColumnImage for
// details.
// return the icon for the given item. In report view, OnGetItemImage will
// only be called for the first column. See OnGetItemColumnImage for
// details.
@@
-390,7
+388,7
@@
private:
DECLARE_DYNAMIC_CLASS(wxListCtrl)
DECLARE_EVENT_TABLE()
DECLARE_DYNAMIC_CLASS(wxListCtrl)
DECLARE_EVENT_TABLE()
- DECLARE_NO_COPY_CLASS(wxListCtrl)
+ wxDECLARE_NO_COPY_CLASS(wxListCtrl);
};
#endif // wxUSE_LISTCTRL
};
#endif // wxUSE_LISTCTRL