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?

Andre




-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wxlua-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to