implemented GetPluginsDir() to behave as documented

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-03-25 14:50:31 +00:00
parent d3b9c6271b
commit cc4d990340

View File

@@ -52,11 +52,6 @@ wxString wxStandardPaths::GetUserConfigDir() const
return wxFileName::GetHomeDir();
}
wxString wxStandardPaths::GetPluginsDir() const
{
return wxString();
}
// ============================================================================
// wxStandardPaths implementation for VMS
// ============================================================================
@@ -69,6 +64,8 @@ wxString wxStandardPaths::GetInstallPrefix() const
{
wx_const_cast(wxStandardPaths *, this)->m_prefix = wxT("/sys$system");
}
return m_prefix;
}
wxString wxStandardPaths::GetConfigDir() const
@@ -91,6 +88,11 @@ wxString wxStandardPaths::GetUserDataDir() const
return wxFileName::GetHomeDir();
}
wxString wxStandardPaths::GetPluginsDir() const
{
return wxString(); // TODO: this is wrong, it should return something
}
#else // !__VMS
// ============================================================================
@@ -154,6 +156,11 @@ wxString wxStandardPaths::GetUserDataDir() const
return AppendAppName(wxFileName::GetHomeDir() + _T("/."));
}
wxString wxStandardPaths::GetPluginsDir() const
{
return AppendAppName(GetInstallPrefix() + _T("/lib"));
}
#endif // __VMS/!__VMS
#endif // wxUSE_STDPATHS