[Bug 70176] New: Kdevelop wxWindows Template
Blackpaw
lindsay at softlog.com.au
Fri Dec 12 00:18:06 UTC 2003
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=70176
Summary: Kdevelop wxWindows Template
Product: kdevelop
Version: unspecified
Platform: Mandrake RPMs
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: kdevelop-devel at kdevelop.org
ReportedBy: lindsay at softlog.com.au
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
More information about the KDevelop-devel
mailing list