]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/dynlib.cpp
Minor source cleaning.
[wxWidgets.git] / src / common / dynlib.cpp
index 2e8afc8f0098f2b934f23e0ea54e7804a8f63398..e51fbcf72b5d8e17a37212758c44928c19817d4b 100644 (file)
@@ -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