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:
David Elliott 2004-02-08 07:04:09 +00:00
parent 16a761847f
commit a619fa3f90
2 changed files with 27 additions and 0 deletions

22
include/wx/cocoa/log.h Normal file
View 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__

View File

@ -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_