User forums > Using Code::Blocks

Why does Unix.cbp use WX_CFG=NonUnicode

(1/1)

Pecan:
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

Ceniza:
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.

tiwag:
WX_CFG is defined but not used in the CodeBlocks-unix.cbp project file.
it should be removed therefore.

Navigation

[0] Message Index

Go to full version