Re: [Audacity-devel] Checked in new Selection Bar
A free multi-track audio editor and recorder
Brought to you by:
aosiniao
From: Dominic M. <do...@au...> - 2005-02-28 02:21:11
|
Shane, I tested it using wxGTK 2.5.3, gtk2, but not unicode. Hopefully Tuomas's patch works; when I have a chance I'll rebuild wxGTK with unicode support so the code I check in won't cause problems. - Dominic On Feb 27, 2005, at 4:20 AM, Shane Mueller wrote: > I'm having trouble compiling on wxGTK with the new selection bar stuff. > Has anyone succeeded? I think it has something to do with > internationalized characters/Unicode support, although I was able to > compile fine after the unicode check-ins but before the status bar > stuff. More on this below. I'm using debian/ubuntu packages for > libwxgtk 2.5.3, g++ 3.3.5. wx-config --list outputs: > > Default config is gtk2-unicode-release-2.5 > > Indicating that unicode is compiled in for me. Maybe it isn't compiled > in on your library, Dominic, which is what is causing me trouble, but > not you? > > So, the compile trouble involves converting const chars to wxStrings > (see below). When I sprinkled judicious _() and wxT() on many of the > bare strings remaining or initialized them as wxStrings, some of these > errors go away, but more similar errors occurred elsewhere, at which > point I gave up. > > ---- > output: > > In file included from SelectionBar.cpp:21: > widgets/TimeTextCtrl.h:33: error: invalid type `const char[1]' for > default > argument to `wxString' > SelectionBar.cpp: In member function `void > SelectionBar::SetRate(double)': > SelectionBar.cpp:326: error: no matching function for call to > `wxString::Format > (const char[3], int)' > /usr/include/wx-2.5/wx/string.h:1058: error: candidates are: static > wxString > wxString::Format(const wxChar*, ...) > > Is anyone else experiencing these problems (or has compiled > successfully?) > > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real > users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Audacity-devel mailing list > Aud...@li... > https://lists.sourceforge.net/lists/listinfo/audacity-devel |