projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Compilation fix for STL build after ID range changes in XRC.
[wxWidgets.git]
/
src
/
xrc
/
xh_tree.cpp
diff --git
a/src/xrc/xh_tree.cpp
b/src/xrc/xh_tree.cpp
index 1591d626a75c43f41eb91c57415cdb5d8cbb4c2a..dc7e178161af6638c0239091284a03bc0f1e8ec8 100644
(file)
--- a/
src/xrc/xh_tree.cpp
+++ b/
src/xrc/xh_tree.cpp
@@
-51,10
+51,14
@@
wxObject *wxTreeCtrlXmlHandler::DoCreateResource()
tree->Create(m_parentAsWindow,
GetID(),
GetPosition(), GetSize(),
tree->Create(m_parentAsWindow,
GetID(),
GetPosition(), GetSize(),
- GetStyle(
_
T("style"), wxTR_DEFAULT_STYLE),
+ GetStyle(
wx
T("style"), wxTR_DEFAULT_STYLE),
wxDefaultValidator,
GetName());
wxDefaultValidator,
GetName());
+ wxImageList *imagelist = GetImageList();
+ if ( imagelist )
+ tree->AssignImageList(imagelist);
+
SetupWindow(tree);
return tree;
SetupWindow(tree);
return tree;