Bug 70176 - wxWindows Template
Summary: wxWindows Template
Status: RESOLVED FIXED
Alias: None
Product: kdevplatform
Classification: Developer tools
Component: appwizard (show other bugs)
Version: 1.0.0
Platform: Mandrake RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: KDevelop Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-12 00:17 UTC by Blackpaw
Modified: 2009-01-22 23:37 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Blackpaw 2003-12-12 00:17:00 UTC
Version:           3.0.0.0b2 (using KDE KDE 3.1.3)
Installed from:    Mandrake RPMs
Compiler:          gcc 3.3.1 
OS:          Linux

The code that gideon autogenerates for a base wxWindows app is ok for a std wxWindows build. However if wxWindows is build with unicode support then the generated code chokes the compiler.

The problem is that all the string literals are ASCII, when they should be unicode. This can be portably worked around in the code by enclosng the strings in wxT(), e.g.:

m_fileMenu->Append(101, wxT("Open"));
m_fileMenu->Append(102, wxT("Save"));

This will compile with unicode *and* non-unicode builds of wxwindows
Comment 1 Amilcar do Carmo Lucas 2003-12-15 17:12:43 UTC
Helio ?
Comment 2 Helio Chissini de Castro 2004-01-30 13:58:19 UTC
Closed on both 3_2_BRANCH and HEAD
Thanks for report