mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 16:31:28 +12:00
This commit is contained in:
parent
de070bf485
commit
a90b5cf37a
1998 changed files with 1034301 additions and 0 deletions
30
wxWidgets/include/wx/except.h
Normal file
30
wxWidgets/include/wx/except.h
Normal file
|
@ -0,0 +1,30 @@
|
|||
///////////////////////////////////////////////////////////////////////////////
|
||||
// Name: wx/except.h
|
||||
// Purpose: C++ exception related stuff
|
||||
// Author: Vadim Zeitlin
|
||||
// Modified by:
|
||||
// Created: 17.09.2003
|
||||
// RCS-ID: $Id: except.h 27408 2004-05-23 20:53:33Z JS $
|
||||
// Copyright: (c) 2003 Vadim Zeitlin <vadim@wxwidgets.org>
|
||||
// Licence: wxWindows licence
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifndef _WX_EXCEPT_H_
|
||||
#define _WX_EXCEPT_H_
|
||||
|
||||
#include "wx/defs.h"
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// macros working whether wxUSE_EXCEPTIONS is 0 or 1
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
#if wxUSE_EXCEPTIONS
|
||||
#define wxTRY try
|
||||
#define wxCATCH_ALL(code) catch ( ... ) { code }
|
||||
#else // !wxUSE_EXCEPTIONS
|
||||
#define wxTRY
|
||||
#define wxCATCH_ALL(code)
|
||||
#endif // wxUSE_EXCEPTIONS/!wxUSE_EXCEPTIONS
|
||||
|
||||
#endif // _WX_EXCEPT_H_
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue