No real changes, just remove wxIsDebuggerRunning() stub from wxOSX.

There is no need to have a stub here when we already have in wx/debug.h, just
remove it.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2012-04-05 18:39:57 +00:00
parent 5e0b09554d
commit 88ec47bb12
2 changed files with 2 additions and 9 deletions

View File

@ -437,10 +437,9 @@ template<int x> struct static_assert_test{};
/*
Return true if we're running under debugger.
Currently this only really works under Win32 and Mac in CodeWarrior builds,
it always returns false in other cases.
Currently only really works under Win32 and just returns false elsewhere.
*/
#if defined(__WXMAC__) || defined(__WIN32__)
#if defined(__WIN32__)
extern bool WXDLLIMPEXP_BASE wxIsDebuggerRunning();
#else // !Mac
inline bool wxIsDebuggerRunning() { return false; }

View File

@ -54,12 +54,6 @@ extern WXDLLIMPEXP_BASE wxSocketManager *wxOSXSocketManagerCF;
wxSocketManager *wxOSXSocketManagerCF = NULL;
#endif // wxUSE_SOCKETS
extern bool WXDLLEXPORT wxIsDebuggerRunning()
{
// TODO : try to find out ...
return false;
}
#if ( !wxUSE_GUI && !wxOSX_USE_IPHONE ) || wxOSX_USE_COCOA_OR_CARBON
// have a fast version for mac code that returns the version as a return value