News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

wxTreeListCtrl in wxsmith does't match wxWidgets2.9.3 library??

Started by zaazbb, May 22, 2012, 05:09:24 PM

Previous topic - Next topic

zaazbb

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.

::)

stahta01

From http://wiki.wxwidgets.org/WxTreeListCtrl

QuoteWARNING: 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.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]