-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathKPrec.h
51 lines (39 loc) · 1.17 KB
/
KPrec.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/////////////////////////////////////////////////////////////////////////////
// Name: KPrec.h
// Purpose: Smart Precompiled Header Management
// Author: Marco Cavallini
// Modified by:
// Created:
// RCS-ID:
// Copyright: (C)2004 KOAN Software - Bergamo - Italy
// Licence: wxWindows
/////////////////////////////////////////////////////////////////////////////
#ifndef _KPREC_H_
#define _KPREC_H_
#if ( !defined(WX_PRECOMP) )
#define WX_PRECOMP
#endif
// basic wxWidgets headers
#include <wx/wxprec.h>
#ifndef WX_PRECOMP
#include <wx/wx.h>
#endif
/*
Including file and linenumber in the debug memory allocation (memory leak dump)
http://www.litwindow.com/Knowhow/wxHowto/wxhowto.html
Include the following statements in your standard, precompiled headerfile
*/
//#ifdef _DEBUG
//#include <crtdbg.h>
//#define DEBUG_NEW new(_NORMAL_BLOCK ,__FILE__, __LINE__)
//#else
//#define DEBUG_NEW new
//#endif
/*
In every CPP file, include these statements immediately after the last
#include statement (before the first malloc/new statement)
*/
//#ifdef _DEBUG
//#define new DEBUG_NEW
//#endif
#endif // _KPREC_H_