Author Topic: Compile options  (Read 2580 times)

Offline wobien

  • Multiple posting newcomer
  • *
  • Posts: 69
Compile options
« 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

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7591
    • My Best Post
Re: Compile options
« Reply #1 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.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline wobien

  • Multiple posting newcomer
  • *
  • Posts: 69
Re: Compile options
« Reply #2 on: March 08, 2010, 06:51:35 pm »
Thanks a lot!