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:
@@ -437,10 +437,9 @@ template<int x> struct static_assert_test{};
|
|||||||
/*
|
/*
|
||||||
Return true if we're running under debugger.
|
Return true if we're running under debugger.
|
||||||
|
|
||||||
Currently this only really works under Win32 and Mac in CodeWarrior builds,
|
Currently only really works under Win32 and just returns false elsewhere.
|
||||||
it always returns false in other cases.
|
|
||||||
*/
|
*/
|
||||||
#if defined(__WXMAC__) || defined(__WIN32__)
|
#if defined(__WIN32__)
|
||||||
extern bool WXDLLIMPEXP_BASE wxIsDebuggerRunning();
|
extern bool WXDLLIMPEXP_BASE wxIsDebuggerRunning();
|
||||||
#else // !Mac
|
#else // !Mac
|
||||||
inline bool wxIsDebuggerRunning() { return false; }
|
inline bool wxIsDebuggerRunning() { return false; }
|
||||||
|
@@ -54,12 +54,6 @@ extern WXDLLIMPEXP_BASE wxSocketManager *wxOSXSocketManagerCF;
|
|||||||
wxSocketManager *wxOSXSocketManagerCF = NULL;
|
wxSocketManager *wxOSXSocketManagerCF = NULL;
|
||||||
#endif // wxUSE_SOCKETS
|
#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
|
#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
|
// have a fast version for mac code that returns the version as a return value
|
||||||
|
Reference in New Issue
Block a user