]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/tenvvars.tex
optionally count repeating wxLog messages instead of logging all (patch 1520815)
[wxWidgets.git] / docs / latex / wx / tenvvars.tex
CommitLineData
6f97a409
VS
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
fc2171bd 6wxWidgets programs.
6f97a409
VS
7
8\twocolwidtha{5cm}%
9\begin{twocollist}\itemsep=0pt
10
11\twocolitem{\tt{WXTRACE}}{(Debug build only.)
f70c0443 12This variable can be set to a comma-separated list of trace masks used in
6f97a409
VS
13\helpref{wxLogTrace}{wxlogtrace} calls;
14\helpref{wxLog::AddTraceMask}{wxlogaddtracemask} is called for every mask
fc2171bd 15in the list during wxWidgets initialization.}
6f97a409
VS
16
17\twocolitem{\tt{WXPREFIX}}{(Unix only.)
18Overrides installation prefix. Normally, the prefix
f70c0443 19is hard-coded and is the same as the value passed to {\tt configure} via
6f97a409
VS
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
f70c0443 22distributing a binary version of an application and you don't know in advance
6f97a409
VS
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}