\membersection{wxStandardPaths::GetLocalizedResourcesDir}\label{wxstandardpathsgetlocalizedresourcesdir}
-\constfunc{wxString}{GetLocalizedResourcesDir}{\param{const wxChar*}{ lang}, \param{ResourceCat}{ category = ResourceCat\_None}}
+\constfunc{wxString}{GetLocalizedResourcesDir}{\param{const wxString\&}{ lang}, \param{ResourceCat}{ category = ResourceCat\_None}}
Return the localized resources directory containing the resource files of the
specified category for the given language.
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}
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}