Pyrogenesis  trunk
wxwidgets.h
Go to the documentation of this file.
1 /* Copyright (C) 2010 Wildfire Games.
2  *
3  * Permission is hereby granted, free of charge, to any person obtaining
4  * a copy of this software and associated documentation files (the
5  * "Software"), to deal in the Software without restriction, including
6  * without limitation the rights to use, copy, modify, merge, publish,
7  * distribute, sublicense, and/or sell copies of the Software, and to
8  * permit persons to whom the Software is furnished to do so, subject to
9  * the following conditions:
10  *
11  * The above copyright notice and this permission notice shall be included
12  * in all copies or substantial portions of the Software.
13  *
14  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
17  * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
18  * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
19  * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
20  * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21  */
22 
23 /*
24  * bring in wxWidgets headers, with compatibility fixes
25  */
26 
27 #ifndef INCLUDED_WXWIDGETS
28 #define INCLUDED_WXWIDGETS
29 
30 // prevent wxWidgets from pulling in windows.h - it's mostly unnecessary
31 // and interferes with posix_sock's declarations.
32 #define _WINDOWS_ // <windows.h> include guard
33 
34 // manually define what is actually needed from windows.h:
36 {
37  int unused;
38 };
39 typedef struct HINSTANCE__* HINSTANCE; // definition as if STRICT were #defined
40 
41 
42 #include "wx/wxprec.h"
43 
44 #include "wx/file.h"
45 #include "wx/ffile.h"
46 #include "wx/filename.h"
47 #include "wx/mimetype.h"
48 #include "wx/statline.h"
49 #include "wx/debugrpt.h"
50 
51 #ifdef __WXMSW__
52 #include "wx/evtloop.h" // for SetCriticalWindow()
53 #endif // __WXMSW__
54 
55 // note: wxWidgets already does #pragma comment(lib) to add link targets.
56 
57 #endif // #ifndef INCLUDED_WXWIDGETS
int unused
Definition: wxwidgets.h:37
struct HINSTANCE__ * HINSTANCE
Definition: wxwidgets.h:39
Definition: wxwidgets.h:35