2005-03-19 23:29:32 +01:00
|
|
|
// Precompiled headers:
|
|
|
|
|
|
|
|
#ifdef _WIN32
|
|
|
|
# define HAVE_PCH
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef HAVE_PCH
|
|
|
|
|
|
|
|
// Exclude rarely-used stuff from Windows headers
|
|
|
|
#define WIN32_LEAN_AND_MEAN
|
|
|
|
|
|
|
|
// Include useful wx headers
|
|
|
|
#include "wx/wxprec.h"
|
|
|
|
#include "wx/listctrl.h"
|
2005-03-27 20:07:01 +02:00
|
|
|
#include "wx/docview.h"
|
|
|
|
#include "wx/cmdproc.h"
|
|
|
|
#include "wx/dialog.h"
|
|
|
|
#include "wx/filename.h"
|
|
|
|
#include "wx/artprov.h"
|
2005-03-30 12:37:44 +02:00
|
|
|
#include "wx/file.h"
|
2005-05-19 07:06:28 +02:00
|
|
|
#include "wx/dir.h"
|
2005-04-28 22:44:22 +02:00
|
|
|
#include "wx/colordlg.h"
|
|
|
|
#include "wx/regex.h"
|
2005-04-29 20:46:48 +02:00
|
|
|
#include "wx/image.h"
|
2005-03-19 23:29:32 +01:00
|
|
|
|
|
|
|
#include <vector>
|
2005-03-27 20:07:01 +02:00
|
|
|
#include <string>
|
2005-03-19 23:29:32 +01:00
|
|
|
|
|
|
|
// Nicer memory-leak detection:
|
|
|
|
#ifdef _DEBUG
|
|
|
|
#include <crtdbg.h>
|
|
|
|
#define new new(_NORMAL_BLOCK ,__FILE__, __LINE__)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif // HAVE_PCH
|
2005-03-27 20:07:01 +02:00
|
|
|
|
|
|
|
#ifndef HAVE_PCH
|
|
|
|
// If no PCH, just include a load of common headers anyway
|
|
|
|
# include "wx/wx.h"
|
|
|
|
#endif
|
2005-05-19 04:46:42 +02:00
|
|
|
|
|
|
|
|
|
|
|
#define ATLASDLLIMPEXP __declspec(dllexport)
|