News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Compile options

Started by wobien, March 08, 2010, 05:25:02 PM

Previous topic - Next topic

wobien

Hello,
I want to use unicode in my wxWidgets project. The wxWidgets manual tells me to define wxUSE_UNICODE to 1 to compile my program.
In Code::Blocks I suppose I can do that in the Project Build Options window, but where in this window and how do I have to do this?
Thanks in advance,
Wobien

stahta01

In a recent nightly the location is here:

Project -> Build Options
Select the correct target or project
Under "Compiler Settings" Tab
Under "#defines" Tab
Enter in "wxUSE_UNICODE=1" without the double quotes.

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

wobien