User forums > Using Code::Blocks

Compile options

(1/1)

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.

wobien:
Thanks a lot!

Navigation

[0] Message Index

Go to full version