X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6c28639791ab5706eca36489e4f776b7ef6756eb..86948c99a6f0fd177b09b3db0ef702739ec62a27:/src/common/dynlib.cpp diff --git a/src/common/dynlib.cpp b/src/common/dynlib.cpp index 2e8afc8f00..e51fbcf72b 100644 --- a/src/common/dynlib.cpp +++ b/src/common/dynlib.cpp @@ -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