]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/latex/wx/stdpaths.tex
Small fix.
[wxWidgets.git] / docs / latex / wx / stdpaths.tex
index 4ef4821098a4caa2d300ae36ab4f4edded390e6d..62a2ab82ea32f37b6a78c6856f76a37b7cf6d217 100644 (file)
@@ -111,6 +111,21 @@ Example return values:
 \newsince{2.7.0}
 
 
+\membersection{wxStandardPaths::GetExecutablePath}\label{wxstandardpathsgetexecutablepath}
+
+\constfunc{wxString}{GetExecutablePath}{\void}
+
+Return the directory and the filename for the current executable.
+
+Example return values:
+\begin{itemize}
+    \item Unix: \texttt{/usr/local/bin/exename}
+    \item Windows: \texttt{C:$\backslash$Programs$\backslash$AppFolder$\backslash$exename.exe}
+    \item Mac: \texttt{/Programs/exename}
+\end{itemize}
+
+
+
 \membersection{wxStandardPaths::GetInstallPrefix}\label{wxstandardpathsgetinstallprefix}
 
 \constfunc{wxString}{GetInstallPrefix}{\void}
@@ -253,7 +268,7 @@ all platforms except Windows where it returns
 \textbf{Note:} This function is only available under Unix.
 
 Lets wxStandardPaths know about the real program installation prefix on a Unix
-system. By default, the value returned by 
+system. By default, the value returned by
 \helpref{GetInstallPrefix}{wxstandardpathsgetinstallprefix} is used.
 
 Although under Linux systems the program prefix may usually be determined