MSW needs size for wxImageList

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2007-12-18 10:49:02 +00:00
parent 1117d56f50
commit 75a2e42601

View File

@@ -785,7 +785,7 @@ MyFrame::MyFrame(wxFrame *frame, const wxString &title, int x, int y, int w, int
wxDataViewTreeCtrl *treectrl2 = new wxDataViewTreeCtrl( this, -1, wxDefaultPosition, wxSize(300,200) );
wxImageList *ilist = new wxImageList;
wxImageList *ilist = new wxImageList( 16, 16 );
ilist->Add( wxIcon(small1_xpm) );
treectrl2->SetImageList( ilist );