Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Pecan on June 24, 2006, 07:22:27 pm

Title: Why does Unix.cbp use WX_CFG=NonUnicode
Post by: Pecan 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
Title: Re: Why does Unix.cbp use WX_CFG=NonUnicode
Post by: Ceniza 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.
Title: Re: Why does Unix.cbp use WX_CFG=NonUnicode
Post by: tiwag 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.