X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5a9379d7b0f86e5fbb82f175cac4b9fbb1e3fde9..582c3a19640eeaeef6d40d62e79b36edcd9d07fe:/include/wx/dynlib.h?ds=sidebyside diff --git a/include/wx/dynlib.h b/include/wx/dynlib.h index 24f1020b50..213df6a8fd 100644 --- a/include/wx/dynlib.h +++ b/include/wx/dynlib.h @@ -116,7 +116,7 @@ enum wxPluginCategory // type only once, as the first parameter, and creating a variable of this type // called "pfn" initialized with the "name" from the "dynlib" #define wxDYNLIB_FUNCTION(type, name, dynlib) \ - type pfn ## name = (type)(dynlib).GetSymbol(_T(#name)) + type pfn ## name = (type)(dynlib).GetSymbol(wxT(#name)) // a more convenient function replacing wxDYNLIB_FUNCTION above @@ -375,7 +375,7 @@ protected: // no copy ctor/assignment operators (or we'd try to unload the library // twice) - DECLARE_NO_COPY_CLASS(wxDynamicLibrary) + wxDECLARE_NO_COPY_CLASS(wxDynamicLibrary); }; #ifdef __WXMSW__