Add wxCocoa-specific trace masks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
16a761847f
commit
a619fa3f90
22
include/wx/cocoa/log.h
Normal file
22
include/wx/cocoa/log.h
Normal file
@ -0,0 +1,22 @@
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// Name: wx/cocoa/log.h
|
||||
// Purpose: Declare wxCocoa-specific trace masks
|
||||
// Author: David Elliott
|
||||
// Modified by:
|
||||
// Created: 2004/02/07
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) 2004 David Elliott
|
||||
// Licence: wxWindows licence
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifndef _WX_COCOA_LOG_H__
|
||||
#define _WX_COCOA_LOG_H__
|
||||
|
||||
// General tracing (in lieu of wxLogDebug)
|
||||
#define wxTRACE_COCOA wxT("COCOA")
|
||||
// Specific tracing
|
||||
#define wxTRACE_COCOA_RetainRelease wxT("COCOA_RetainRelease")
|
||||
#define wxTRACE_COCOA_TopLevelWindow_Size wxT("COCOA_TopLevelWindow_Size")
|
||||
#define wxTRACE_COCOA_Window_Size wxT("COCOA_Window_Size")
|
||||
|
||||
#endif //ndef _WX_COCOA_LOG_H__
|
@ -560,5 +560,10 @@ wxSafeShowMessage(const wxString& title, const wxString& text);
|
||||
inline void wxLogLastError(const wxChar *) { }
|
||||
#endif //debug/!debug
|
||||
|
||||
// wxCocoa has additiional trace masks
|
||||
#if defined(__WXCOCOA__)
|
||||
#include "wx/cocoa/log.h"
|
||||
#endif
|
||||
|
||||
#endif // _WX_LOG_H_
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user