Author Topic: Why does Unix.cbp use WX_CFG=NonUnicode  (Read 2340 times)

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2220
Why does Unix.cbp use WX_CFG=NonUnicode
« on: June 24, 2006, 07:22:27 pm »
This question certainly comes from ignorance, but....

Why does Codeblocks.cbp for MSwindows specify wx_USE_UNICODE while Codeblocks-unix.cbp for Unix specifies WX_CFG=NonUnicode ?

Is unix not using unicode?

I don't get it.

thanks
pecan

Offline Ceniza

  • Developer
  • Lives here!
  • *****
  • Posts: 1441
    • CenizaSOFT
Re: Why does Unix.cbp use WX_CFG=NonUnicode
« Reply #1 on: June 24, 2006, 08:02:45 pm »
I cannot see what's that WX_CFG variable used for there, but all the information it needs is gathered from `wx-config --cflags` to compile. If it was compiled with unicode support (most common), `wx-config --cflags` will give you the required include paths, options and defines for it.

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
Re: Why does Unix.cbp use WX_CFG=NonUnicode
« Reply #2 on: June 26, 2006, 09:14:15 am »
WX_CFG is defined but not used in the CodeBlocks-unix.cbp project file.
it should be removed therefore.