Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: wobien on March 08, 2010, 05:25:02 pm

Title: Compile options
Post by: wobien on March 08, 2010, 05:25:02 pm
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
Title: Re: Compile options
Post by: stahta01 on March 08, 2010, 06:20:15 pm
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.
Title: Re: Compile options
Post by: wobien on March 08, 2010, 06:51:35 pm
Thanks a lot!