X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/550343399aa1355469ffed72c8cf84c732dcf98b..6493aacaeb7b22b9fa35c559f7753e9fec0da71f:/src/common/dynlib.cpp diff --git a/src/common/dynlib.cpp b/src/common/dynlib.cpp index 949149332d..e51fbcf72b 100644 --- a/src/common/dynlib.cpp +++ b/src/common/dynlib.cpp @@ -117,7 +117,7 @@ bool wxDynamicLibrary::Load(const wxString& libnameOrig, int flags) #elif defined(__WXPM__) || defined(__EMX__) char err[256] = ""; DosLoadModule(err, sizeof(err), (PSZ)libname.c_str(), &m_handle); -#else +#else // this should be the only remaining branch eventually m_handle = RawLoad(libname, flags); #endif @@ -245,8 +245,8 @@ wxString wxDynamicLibrary::CanonicalizePluginName(const wxString& name, { wxAppTraits *traits = wxAppConsole::GetInstance() ? wxAppConsole::GetInstance()->GetTraits() : NULL; - wxASSERT_MSG( traits, - _("can't query for GUI plugins name in console applications") ); + wxCHECK_MSG( traits, _T(""), + _("can't query for GUI plugins name in console applications") ); suffix = traits->GetToolkitInfo().shortName; } #if wxUSE_UNICODE