Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Plugins development => Topic started by: zaazbb on May 22, 2012, 05:09:24 pm

Title: wxTreeListCtrl in wxsmith does't match wxWidgets2.9.3 library??
Post by: zaazbb on May 22, 2012, 05:09:24 pm
wxTreeListCtrl in wxsmith (codeblocks svn7966) do not match wxWidgets2.9.3 library??

i draw a wxTreeListCtrl control in wxsmith, and meet lots of errors when compiling.

it include a error head file "#include <wx/treelistctrl.h>". (in wxwidgets2.9.3 ,the right code is "#include <wx/treelist.h>").
and it use a error constructor which does't match wxwidgets2.9.3.
and it use many error member function, those all does't exist or have a error name in wxwidgets2.9.3. for example, "AddColumn()", "AddRoot()", and so on.

 ::)
Title: Re: wxTreeListCtrl in wxsmith does't match wxWidgets2.9.3 library??
Post by: stahta01 on May 22, 2012, 06:05:47 pm
From http://wiki.wxwidgets.org/WxTreeListCtrl (http://wiki.wxwidgets.org/WxTreeListCtrl)

Quote
WARNING: since version 2.9, wxWidgets includes its own wxTreeListCtrl. That is NOT the same as the wxCode one.

I would guess that wxSmith is using the wxCode's wxTreeListCtrl.

Tim S.