]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/cshelp.cpp
don't use deprecated macros
[wxWidgets.git] / src / common / cshelp.cpp
index 75749750c9268f711a036cc0b889e522a4815b53..74328e6d49d4f4c8418c0964de815b66e2b58304 100644 (file)
@@ -56,6 +56,8 @@ public:
 
 //// Data
     wxContextHelp* m_contextHelp;
+
+    DECLARE_NO_COPY_CLASS(wxContextHelpEvtHandler)
 };
 
 // ============================================================================
@@ -417,7 +419,7 @@ bool wxHelpControllerHelpProvider::ShowHelp(wxWindowBase *window)
 // Convenience function for turning context id into wxString
 wxString wxContextId(int id)
 {
-    return wxString(IntToString(id));
+    return wxString::Format(_T("%d"), id);
 }
 
 // ----------------------------------------------------------------------------