Changeset View
Changeset View
Standalone View
Standalone View
source/tools/atlas/AtlasUI/Misc/DLLInterface.cpp
Show First 20 Lines • Show All 174 Lines • ▼ Show 20 Lines | ATLASDLLIMPEXP void Atlas_DisplayError(const wchar_t* text, size_t WXUNUSED(flags)) | ||||
// TODO: 'text' (or at least some copy of it) appears to get leaked when | // TODO: 'text' (or at least some copy of it) appears to get leaked when | ||||
// this function is called | // this function is called | ||||
} | } | ||||
class AtlasDLLApp : public wxApp | class AtlasDLLApp : public wxApp | ||||
{ | { | ||||
public: | public: | ||||
#ifdef __WXOSX__ | |||||
virtual bool OSXIsGUIApplication() | |||||
{ | |||||
return false; | |||||
} | |||||
#endif | |||||
virtual bool OnInit() | virtual bool OnInit() | ||||
{ | { | ||||
// _CrtSetBreakAlloc(5632); | // _CrtSetBreakAlloc(5632); | ||||
#if wxUSE_ON_FATAL_EXCEPTION && USE_WX_FATAL_EXCEPTION_REPORT | #if wxUSE_ON_FATAL_EXCEPTION && USE_WX_FATAL_EXCEPTION_REPORT | ||||
if (! wxIsDebuggerRunning()) | if (! wxIsDebuggerRunning()) | ||||
wxHandleFatalExceptions(); | wxHandleFatalExceptions(); | ||||
#endif | #endif | ||||
▲ Show 20 Lines • Show All 163 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator