Author Topic: wxTreeListCtrl in wxsmith does't match wxWidgets2.9.3 library??  (Read 4038 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.


Online stahta01

  • Lives here!
  • ****
  • Posts: 6996
    • My Best Post
Re: wxTreeListCtrl in wxsmith does't match wxWidgets2.9.3 library??
« Reply #1 on: May 22, 2012, 06:05:47 pm »

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 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
When in doubt, read the CB WiKi FAQ.