fixed crashing generic dir dialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
b387781ceb
commit
e951f847fa
@ -173,7 +173,7 @@ wxDirCtrl::wxDirCtrl(wxWindow *parent, const wxWindowID id, const wxString &WXUN
|
||||
:
|
||||
wxTreeCtrl( parent, id, pos, size, style, wxDefaultValidator, name )
|
||||
{
|
||||
#ifdef __WXMSW__
|
||||
#ifndef __WXMSW__
|
||||
m_imageListNormal = new wxImageList(16, 16, TRUE);
|
||||
m_imageListNormal->Add(wxICON(icon1));
|
||||
m_imageListNormal->Add(wxICON(icon2));
|
||||
|
Loading…
Reference in New Issue
Block a user