I have compiled wxwidgets 2.6.4 and wxd 0.12 using mingw, gdc and cygwin on windows xp.
But all wxd samples start with a console window at the background.
Is this is a current "feature" of wxd or I have missed something?
Is there any way to hide it?
A flag in the exe header decides whether to open a console or not. There are some gcc options to disable the console:
but that's deprecated, the newer and longer one is:
Or, if using ld directly:
The corresponding msvc option is /subsystem:windows, others tool chains use variations of this. msvc will also suppress the console by default if you define WinMain instead of main.
Thanks! It helped.
It might be a good way to set these flags by default in supplied samples.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.