X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/93cf77c076b699e8e0b3b0049bd4f80de15997dd..520e470fdd0daef09c77938db642e4583933c90d:/src/stubs/listctrl.cpp diff --git a/src/stubs/listctrl.cpp b/src/stubs/listctrl.cpp index a659399c63..0f4ed673a5 100644 --- a/src/stubs/listctrl.cpp +++ b/src/stubs/listctrl.cpp @@ -13,7 +13,8 @@ #pragma implementation "listctrl.h" #endif -#include "wx/listctrl.h" +#include "wx/stubs/textctrl.h" +#include "wx/stubs/listctrl.h" #if !USE_SHARED_LIBRARY IMPLEMENT_DYNAMIC_CLASS(wxListCtrl, wxControl) @@ -365,17 +366,14 @@ void wxListCtrl::SetImageList(wxImageList *imageList, int which) int flags = 0; if ( which == wxIMAGE_LIST_NORMAL ) { - flags = LVSIL_NORMAL; m_imageListNormal = imageList; } else if ( which == wxIMAGE_LIST_SMALL ) { - flags = LVSIL_SMALL; m_imageListSmall = imageList; } else if ( which == wxIMAGE_LIST_STATE ) { - flags = LVSIL_STATE; m_imageListState = imageList; } // TODO set image list