| 1 | \section{Environment variables}\label{envvars} |
| 2 | %\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}% |
| 3 | %\setfooter{\thepage}{}{}{}{}{\thepage}% |
| 4 | |
| 5 | This section describes all environment variables that affect execution of |
| 6 | wxWidgets programs. |
| 7 | |
| 8 | \twocolwidtha{5cm}% |
| 9 | \begin{twocollist}\itemsep=0pt |
| 10 | |
| 11 | \twocolitem{\tt{WXTRACE}}{(Debug build only.) |
| 12 | This 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 |
| 15 | in the list during wxWidgets initialization.} |
| 16 | |
| 17 | \twocolitem{\tt{WXPREFIX}}{(Unix only.) |
| 18 | Overrides installation prefix. Normally, the prefix |
| 19 | is hard-coded and is the same as the value passed to {\tt configure} via |
| 20 | the {\tt --prefix} switch when compiling the library (typically |
| 21 | {\tt /usr/local} or {\tt /usr}). You can set WXPREFIX if you are for example |
| 22 | distributing a binary version of an application and you don't know in advance |
| 23 | where it will be installed.} |
| 24 | |
| 25 | \twocolitem{\tt{WXMODE}}{(wxMGL only.) |
| 26 | Sets 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.) |
| 30 | Redirects stderr output to a file.} |
| 31 | |
| 32 | \end{twocollist} |