Re: Compile error in wxdialog with wx-2.8.x

sino <[email protected]> Sat, 6 Dec 2014 11:06:53 +0100
Newsgroups gmane.comp.emulators.bochs.devel
Message-ID <CAGD51TcgRkBzC8MjO_Ah9UB_OUh=WpbOD-amJGKyTXi4tpd+LQ@mail.gmail.com>
Hi again,

Sry, little correction, forget my last mail to that wxdialog compilation
bug with wx-2.8.x , I mixed up '>' and '<'

Bochs 2.7.3

wxdialog.cc line 573

log = new wxTextCtrl(this, -1, "", wxDefaultPosition, wxSize(575, 300),
wxTE_MULTILINE | wxTE_RICH | wxTE_READONLY);

was probably meant to be:

log = new wxTextCtrl(this, -1, wxT(""), wxDefaultPosition, wxSize(575,
300), wxTE_MULTILINE | wxTE_RICH | wxTE_READONLY);

Regards,
Ralf






On Sat, Dec 6, 2014 at 10:49 AM, sino <[email protected]> wrote:

> 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