From: Robin Dunn Date: Fri, 19 Nov 2004 22:00:02 +0000 (+0000) Subject: Docstring fix for GetInstallPrefix/SetInstallPrefix X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/bb6e96a9e5c4e8572c4642c01161d826e113b903 Docstring fix for GetInstallPrefix/SetInstallPrefix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/src/_stdpaths.i b/wxPython/src/_stdpaths.i index c4209cac64..0b61aabc1c 100644 --- a/wxPython/src/_stdpaths.i +++ b/wxPython/src/_stdpaths.i @@ -120,20 +120,21 @@ the 'Local Settings\\Application Data\\appname' directory.", ""); prefix/lib/appname under Unix, program directory under Windows and Contents/Plugins app bundle subdirectory under Mac", ""); + -#ifdef __WXGTK__ - DocDeclStr( - void , SetInstallPrefix(const wxString& prefix), - "Set the program installation directory which is /usr/local by default. + DocStr(SetInstallPrefix, + "Set the program installation directory which is /usr/local by default. This value will be used by other methods such as `GetDataDir` and `GetPluginsDir` as the prefix for what they return. (This function only has meaning on Unix systems.)", ""); - - DocDeclStr( - wxString , GetInstallPrefix() const, - "Get the program installation prefix. The default is the prefix where + DocStr(GetInstallPrefix, + "Get the program installation prefix. The default is the prefix where Python is installed. (This function only has meaning on Unix systems.)", ""); + +#ifdef __WXGTK__ + void SetInstallPrefix(const wxString& prefix); + wxString GetInstallPrefix() const; #else %extend { void SetInstallPrefix(const wxString& prefix) {}