Author Topic: wxTreeListCtrl in wxsmith does't match wxWidgets2.9.3 library??  (Read 6470 times)

Offline zaazbb

  • Multiple posting newcomer
  • *
  • Posts: 14
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.

 ::)

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7588
    • My Best Post
Re: wxTreeListCtrl in wxsmith does't match wxWidgets2.9.3 library??
« Reply #1 on: May 22, 2012, 06:05:47 pm »
From 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.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org