Docstring fix for GetInstallPrefix/SetInstallPrefix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-11-19 22:00:02 +00:00
parent 1a38c220e1
commit bb6e96a9e5

View File

@@ -121,19 +121,20 @@ prefix/lib/appname under Unix, program directory under Windows and
Contents/Plugins app bundle subdirectory under Mac", ""); Contents/Plugins app bundle subdirectory under Mac", "");
#ifdef __WXGTK__
DocDeclStr( DocStr(SetInstallPrefix,
void , SetInstallPrefix(const wxString& prefix), "Set the program installation directory which is /usr/local by default.
"Set the program installation directory which is /usr/local by default.
This value will be used by other methods such as `GetDataDir` and This value will be used by other methods such as `GetDataDir` and
`GetPluginsDir` as the prefix for what they return. (This function `GetPluginsDir` as the prefix for what they return. (This function
only has meaning on Unix systems.)", ""); only has meaning on Unix systems.)", "");
DocStr(GetInstallPrefix,
DocDeclStr( "Get the program installation prefix. The default is the prefix where
wxString , GetInstallPrefix() const,
"Get the program installation prefix. The default is the prefix where
Python is installed. (This function only has meaning on Unix systems.)", ""); Python is installed. (This function only has meaning on Unix systems.)", "");
#ifdef __WXGTK__
void SetInstallPrefix(const wxString& prefix);
wxString GetInstallPrefix() const;
#else #else
%extend { %extend {
void SetInstallPrefix(const wxString& prefix) {} void SetInstallPrefix(const wxString& prefix) {}