Test custom editor in the dataview sample
Show how to create and use a custom editor in the custom renderer.
This commit is contained in:
@@ -8,6 +8,10 @@
|
||||
// Licence: wxWindows licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "wx/hashmap.h"
|
||||
|
||||
WX_DECLARE_HASH_MAP(unsigned, wxString, wxIntegerHash, wxIntegerEqual,
|
||||
IntToStringMap);
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// MyMusicTreeModelNode: a node inside MyMusicTreeModel
|
||||
@@ -235,6 +239,7 @@ public:
|
||||
private:
|
||||
wxArrayString m_textColValues;
|
||||
wxArrayString m_iconColValues;
|
||||
IntToStringMap m_customColValues;
|
||||
wxIcon m_icon[2];
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user