Just checking to see if anyone has compiled the newest release of this?

Trying to get the 07/09/2009 version fo this to build from here 
http://wxcode.sourceforge.net/components/treelistctrl/

I thought from reading the forum that it was stable and would just build. But 
I can't get it to compile with GCC or Mingw

gcc version for linux
gcc version 4.4.0 20090506 (Red Hat 4.4.0-4) (GCC)

gcc version for mingw cross compiler
gcc version 4.4.0 20090319 (experimental) (GCC)

Both give me the same errors. Missing <wx/app.h> Passing of wxTreeListItem*'s 
all over where wxTreeItemId&'s are expected etc...

So my question is am I insane and just missing something to make this work, or 
is the latest stable not so stable?

wxWidgets versions

wx-config --list

Default config is gtk2-unicode-release-2.8


/usr/i686-pc-mingw32/sys-root/mingw/bin/wx-config --list

Default config is i686-pc-mingw32-msw-unicode-debug-2.8

Default config will be used for output

Alternate matches:
i686-pc-mingw32-msw-unicode-release-2.8

Output from make in treelisttest
make
g++ -c -I../../include `wx-config --cxxflags` -g -o treelistctrl.o 
../../src/treelistctrl.cpp
../../src/treelistctrl.cpp: In member function ‘virtual bool 
wxEditTextCtrl::Destroy()’:
../../src/treelistctrl.cpp:1020: error: ‘wxTheApp’ was not declared in this 
scope
../../src/treelistctrl.cpp: In member function ‘void 
wxTreeListMainWindow::DoDeleteItem(wxTreeListItem*)’:
../../src/treelistctrl.cpp:2509: error: conversion from ‘int’ to ‘const 
wxTreeItemId’ is ambiguous
/usr/include/wx-2.8/wx/treebase.h:75: note: candidates are: 
wxTreeItemId::wxTreeItemId(long int)
/usr/include/wx-2.8/wx/treebase.h:59: note:                 
wxTreeItemId::wxTreeItemId(void*)
../../src/treelistctrl.cpp: In member function ‘void 
wxTreeListMainWindow::PaintItem(wxTreeListItem*, wxDC&)’:
../../src/treelistctrl.cpp:3080: error: operands to ?: have different types 
‘const wxString’ and ‘const char [2]’
../../src/treelistctrl.cpp: In member function ‘void 
wxTreeListMainWindow::OnChar(wxKeyEvent&)’:
../../src/treelistctrl.cpp:3492: error: conversion from ‘int’ to ‘const 
wxTreeItemId’ is ambiguous
/usr/include/wx-2.8/wx/treebase.h:75: note: candidates are: 
wxTreeItemId::wxTreeItemId(long int)
/usr/include/wx-2.8/wx/treebase.h:59: note:                 
wxTreeItemId::wxTreeItemId(void*)
../../src/treelistctrl.cpp: In member function ‘void 
wxTreeListMainWindow::OnMouse(wxMouseEvent&)’:
../../src/treelistctrl.cpp:3938: error: conversion from ‘int’ to ‘const 
wxTreeItemId’ is ambiguous
/usr/include/wx-2.8/wx/treebase.h:75: note: candidates are: 
wxTreeItemId::wxTreeItemId(long int)
/usr/include/wx-2.8/wx/treebase.h:59: note:                 
wxTreeItemId::wxTreeItemId(void*)
../../src/treelistctrl.cpp: In member function ‘void 
wxTreeListMainWindow::CalculateSize(wxTreeListItem*, wxDC&)’:
../../src/treelistctrl.cpp:4066: error: operands to ?: have different types 
‘const wxString’ and ‘const char [2]’
make: *** [treelistctrl.o] Error 1


-Max
-- 
Max Jonathan Spaulding - MC2 Research, LLC
3658 Shoshone St. Denver, CO 80211
email: m...@groff.net - phone: (303) 325-5013
linkedin: http://www.linkedin.com/in/maxjspaulding

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
wxCode-users mailing list
wxCode-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxcode-users

Reply via email to