return wxString from wxDynamicLibrary::GetDllExt()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2007-06-19 19:29:07 +00:00
parent 593177c566
commit 00711afdd6
4 changed files with 8 additions and 8 deletions

View File

@@ -170,7 +170,7 @@ public:
static wxDllType GetProgramHandle();
// return the platform standard DLL extension (with leading dot)
static const wxChar *GetDllExt() { return ms_dllext; }
static const wxString& GetDllExt() { return ms_dllext; }
wxDynamicLibrary() : m_handle(0) { }
wxDynamicLibrary(const wxString& libname, int flags = wxDL_DEFAULT)
@@ -298,7 +298,7 @@ protected:
// platform specific shared lib suffix.
static const wxChar *ms_dllext;
static const wxString ms_dllext;
// the handle to DLL or NULL
wxDllType m_handle;