A no GUI version of wxWidgets?
Vadim Zeitlin
vadim at wxwidgets.org
Sun Feb 10 04:41:17 PST 2008
On Sat, 9 Feb 2008 22:58:25 -0500 Tom Horsley <tom.horsley at att.net> wrote:
TH> I see lots of different implementations of wxWidgets with
TH> different underlying toolkits. Is there an implementation
TH> which doesn't do GUI at all?
wx is composed of several libraries. One of them is wxBase which contains
only non-GUI classes. If your application only uses it, it doesn't link to
any GUI libraries at all.
TH> I ask because truecrypt 5.0 was just released and it is
TH> completely rewritten to use wxWidgets throughout, and that
TH> currently renders it incapable of operating without an X
TH> server to make the library happy (even when you use the
TH> option that says you are running in text mode only).
If you want an application to run both in GUI mode and without GUI you
need to simply avoid initializing the GUI part at run-time.
Regards,
VZ
--
TT-Solutions: wxWidgets consultancy and technical support
http://www.tt-solutions.com/
More information about the wx-users
mailing list