1\section{Environment variables}\label{envvars} 2%\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}% 3%\setfooter{\thepage}{}{}{}{}{\thepage}% 4 5This section describes all environment variables that affect execution of 6wxWidgets programs. 7 8\twocolwidtha{5cm}% 9\begin{twocollist}\itemsep=0pt 10 11\twocolitem{\tt{WXTRACE}}{(Debug build only.) 12This variable can be set to a comma-separated list of trace masks used in 13\helpref{wxLogTrace}{wxlogtrace} calls; 14\helpref{wxLog::AddTraceMask}{wxlogaddtracemask} is called for every mask 15in the list during wxWidgets initialization.} 16 17\twocolitem{\tt{WXPREFIX}}{(Unix only.) 18Overrides installation prefix. Normally, the prefix 19is hard-coded and is the same as the value passed to {\tt configure} via 20the {\tt --prefix} switch when compiling the library (typically 21{\tt /usr/local} or {\tt /usr}). You can set WXPREFIX if you are for example 22distributing a binary version of an application and you don't know in advance 23where it will be installed.} 24 25\twocolitem{\tt{WXMODE}}{(wxMGL only.) 26Sets MGL video mode. The value must be in form 27{\it width}x{\it height}-{\it depth}. The default is {\tt 640x480-16}.} 28 29\twocolitem{\tt{WXSTDERR}}{(wxMGL only.) 30Redirects stderr output to a file.} 31 32\end{twocollist} 33