Use wxListCtrlNameStr for the generic control too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -31,7 +31,6 @@ class WXDLLEXPORT wxDropTarget;
|
|||||||
// constants
|
// constants
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
extern WXDLLEXPORT_DATA(const wxChar) wxGenericListCtrlNameStr[];
|
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
// internal classes
|
// internal classes
|
||||||
@@ -61,7 +60,7 @@ public:
|
|||||||
const wxSize &size = wxDefaultSize,
|
const wxSize &size = wxDefaultSize,
|
||||||
long style = wxLC_ICON,
|
long style = wxLC_ICON,
|
||||||
const wxValidator& validator = wxDefaultValidator,
|
const wxValidator& validator = wxDefaultValidator,
|
||||||
const wxString &name = wxGenericListCtrlNameStr)
|
const wxString &name = wxListCtrlNameStr)
|
||||||
{
|
{
|
||||||
Create(parent, winid, pos, size, style, validator, name);
|
Create(parent, winid, pos, size, style, validator, name);
|
||||||
}
|
}
|
||||||
@@ -73,7 +72,7 @@ public:
|
|||||||
const wxSize &size = wxDefaultSize,
|
const wxSize &size = wxDefaultSize,
|
||||||
long style = wxLC_ICON,
|
long style = wxLC_ICON,
|
||||||
const wxValidator& validator = wxDefaultValidator,
|
const wxValidator& validator = wxDefaultValidator,
|
||||||
const wxString &name = wxGenericListCtrlNameStr);
|
const wxString &name = wxListCtrlNameStr);
|
||||||
|
|
||||||
bool GetColumn( int col, wxListItem& item ) const;
|
bool GetColumn( int col, wxListItem& item ) const;
|
||||||
bool SetColumn( int col, wxListItem& item );
|
bool SetColumn( int col, wxListItem& item );
|
||||||
|
Reference in New Issue
Block a user