X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/67d0bba631bfc329047f2bb3cf3ca4cda5848b73..cde76cf2a96d43f62ecb7e18c51f73e871a6d4bd:/include/wx/dynlib.h diff --git a/include/wx/dynlib.h b/include/wx/dynlib.h index 58c81afebd..4bd00cf0f9 100644 --- a/include/wx/dynlib.h +++ b/include/wx/dynlib.h @@ -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;