]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dynlib.h
wxSpinCtrl values are always integral, they don't need to be rounded
[wxWidgets.git] / include / wx / dynlib.h
index 24f1020b504e4ca8e191ebaa120bd92cc6c68cc3..213df6a8fd109a4c5ee99a607ea91f3a846f931f 100644 (file)
@@ -116,7 +116,7 @@ enum wxPluginCategory
 // type only once, as the first parameter, and creating a variable of this type
 // called "pfn<name>" 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__