Compile error in wxdialog with wx-2.8.x

sino <[email protected]> Sat, 6 Dec 2014 10:49:43 +0100
Newsgroups gmane.comp.emulators.bochs.devel
Message-ID <CAGD51TcK3p0-VcKEN6YxjkPEU5tdJWp1B+rb4nrXafpqdS4M3Q@mail.gmail.com>
Hi Everyone,
there is another little bug in 2.6.7 that I would like to report that
happened when compiling with the wx gui.
I fixed it on the fly a few days ago after downloading bochs, before I was
in the mailing list, so I
don't have the compiler error here, but it's easy to find.

In wxdialog.cc I did the following change:

line 573
<   log = new wxTextCtrl(this, -1, wxString(),
---
>   log = new wxTextCtrl(this, -1, "",

Now looking at the code it was probably just a typo and meant to be wxT("")
instead of ""

It probably compiles on wx-3.1 either way, but didn't on my older Ubuntu
12.x version with wx-2.8.x.

Regards,
Ralf

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk

_______________________________________________
bochs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bochs-developers