X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fd71308fc89eac2dd212b715eba68a993fa78f53..fb1585ae85bc09432ae4c1afd805fb4aebf6e0c8:/include/wx/utils.h diff --git a/include/wx/utils.h b/include/wx/utils.h index 8a05c97a83..cebdd6c3dc 100644 --- a/include/wx/utils.h +++ b/include/wx/utils.h @@ -27,6 +27,9 @@ #include #else #include +# ifdef _MSC_VER + using namespace std; +# endif #endif #ifdef __X__ @@ -141,6 +144,7 @@ bool WXDLLEXPORT wxGetUserName(char *buf, int maxSize); * Strip out any menu codes */ char* WXDLLEXPORT wxStripMenuCodes(char *in, char *out = (char *) NULL); +wxString WXDLLEXPORT wxStripMenuCodes(const wxString& str); // Find the window/widget with the given title or label. // Pass a parent to begin the search from, or NULL to look through @@ -183,7 +187,7 @@ class WXDLLEXPORT wxDebugStreamBuf: public streambuf int sync(void); }; -// #if WXDEBUG && wxUSE_GLOBAL_MEMORY_OPERATORS +// #if defined(__WXDEBUG__) && wxUSE_GLOBAL_MEMORY_OPERATORS // #define new WXDEBUG_NEW // #endif