X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c86abb56d52f94fe3598da9bd911f991ccd572d2..bd0a76e228b5ce47c648c2e52857e77cf79e6ae5:/include/wx/object.h?ds=sidebyside diff --git a/include/wx/object.h b/include/wx/object.h index 68233948a5..3ac8f6bf6e 100644 --- a/include/wx/object.h +++ b/include/wx/object.h @@ -590,7 +590,7 @@ private : #if defined(__WXDEBUG__) && wxUSE_GLOBAL_MEMORY_OPERATORS && wxUSE_DEBUG_NEW_ALWAYS #define new new(__TFILE__,__LINE__) -#else if (defined(__WXDEBUG__) && defined(__VISUALC__) && !wxUSE_GLOBAL_MEMORY_OPERATORS && wxUSE_DEBUG_NEW_ALWAYS) +#elif (defined(__WXDEBUG__) && defined(__VISUALC__) && !wxUSE_GLOBAL_MEMORY_OPERATORS && wxUSE_DEBUG_NEW_ALWAYS) // Including this file redefines new and allows leak reports to contain line numbers #include "wx/msw/msvcrt.h" #endif