Unswap example returns values for GetPluginsDir and GetResourcesDir. They got swapped by the introduction of
GetResourcesDir documentation in rev1.12, see http://cvs.wxwidgets.org/viewcvs.cgi/wxWidgets/docs/latex/wx/stdpaths.tex.diff?r1=1.11&r2=1.12 Noticed by Giuseppe Bilotta git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -176,9 +176,9 @@ Return the directory where the loadable modules (plugins) live.
|
||||
|
||||
Example return values:
|
||||
\begin{itemize}
|
||||
\item Unix: \texttt{\textit{prefix}/share/\textit{appname}}
|
||||
\item Windows: the directory where the executable file is located
|
||||
\item Mac: \texttt{\textit{appname}.app/Contents/Resources} bundle subdirectory
|
||||
\item Unix: \texttt{\textit{prefix}/lib/\textit{appname}}
|
||||
\item Windows: the directory of the executable file
|
||||
\item Mac: \texttt{\textit{appname}.app/Contents/PlugIns} bundle subdirectory
|
||||
\end{itemize}
|
||||
|
||||
\wxheading{See also}
|
||||
@@ -199,9 +199,9 @@ all platforms except Mac OS X.
|
||||
|
||||
Example return values:
|
||||
\begin{itemize}
|
||||
\item Unix: \texttt{\textit{prefix}/lib/\textit{appname}}
|
||||
\item Windows: the directory of the executable file
|
||||
\item Mac: \texttt{\textit{appname}.app/Contents/PlugIns} bundle subdirectory
|
||||
\item Unix: \texttt{\textit{prefix}/share/\textit{appname}}
|
||||
\item Windows: the directory where the executable file is located
|
||||
\item Mac: \texttt{\textit{appname}.app/Contents/Resources} bundle subdirectory
|
||||
\end{itemize}
|
||||
|
||||
\newsince{2.7.0}
|
||||
|
Reference in New Issue
Block a user