retry again, hopefully sourceforge has stopped blocking gmail senders... sigh.
---------- Forwarded message ----------
From: John Labenski <jla...@gm...>
Date: Sep 29, 2006 2:21 PM
Subject: Re: [Wxlua-users] wxStEdit v:1.11 fix for Preference dialog
To: wxl...@li...
On 9/29/06, Andre <ar...@ki...> wrote:
> compiling using vc7 and version 2.7 of wxWindows
>
> file:stedlgs.cpp line 504
>
> change:
> wxArrayString *faceNames = fontEnum.GetFacenames();
> faceNames->Sort();
> for (n = 0; n < faceNames->GetCount(); n++)
> m_fontChoice->Append(wxT("*") + faceNames->Item(n));
>
> First changed:
> wxArrayString *faceNames = fontEnum.GetFacenames();
> to
> wxArrayString *faceNames = &fontEnum.GetFacenames();
>
> made it compile but did not work breaks in wxstring.
>
> then changed to:
> wxArrayString faceNames(fontEnum.GetFacenames());
> faceNames.Sort();
> for (n = 0; n < faceNames.GetCount(); n++)
> m_fontChoice->Append(wxT("*") + faceNames.Item(n));
>
> compiles and run
>
> Where should I get the most recent version of wxStEdit I seems to find various
> versions at various places. The most recent seems to 1.11 but is it?
I should do a new release, this is fixed in the cvs version already.
You can get it using the docs here.
http://sourceforge.net/cvs/?group_id=51305
Thanks,
John Labenski
|