const wxSize& size = wxDefaultSize,
long style = wxLC_ICON,
const wxValidator& validator = wxDefaultValidator,
- const wxString& name = _T("wxListCtrl"))
+ const wxString& name = wxListCtrlNameStr)
{
Init();
const wxSize& size = wxDefaultSize,
long style = wxLC_ICON,
const wxValidator& validator = wxDefaultValidator,
- const wxString& name = _T("wxListCtrl"));
+ const wxString& name = wxListCtrlNameStr);
// Attributes
bool SetItemState(long item, long state, long stateMask) ;
// Sets the item image
-#if WXWIN_COMPATIBILITY_2_4
- wxDEPRECATED(bool SetItemImage(long item, int image, int selImage)) ;
-#endif
- bool SetItemImage(long item, int image) ;
+ bool SetItemImage(long item, int image, int selImage = -1) ;
// Gets the item text
wxString GetItemText(long item) const ;
// convert our styles to Windows
virtual WXDWORD MSWGetStyle(long style, WXDWORD *exstyle) const;
+ // special Windows message handling
+ virtual WXLRESULT MSWWindowProc(WXUINT nMsg,
+ WXWPARAM wParam,
+ WXLPARAM lParam);
+
wxTextCtrl* m_textCtrl; // The control used for editing a label
wxImageList * m_imageListNormal; // The image list for normal icons