]> git.saurik.com Git - wxWidgets.git/blob - samples/xrc/xrcdemo.h
Fix wxHash{Set,Map} compilation with g++ 4.7 in C++11 mode.
[wxWidgets.git] / samples / xrc / xrcdemo.h
1 //-----------------------------------------------------------------------------
2 // Name: xmldemo.h
3 // Purpose: XML resources sample: Main application file
4 // Author: Robert O'Connor (rob@medicalmnemonics.com), Vaclav Slavik
5 // RCS-ID: $Id$
6 // Copyright: (c) Robert O'Connor and Vaclav Slavik
7 // Licence: wxWindows licence
8 //-----------------------------------------------------------------------------
9
10 //-----------------------------------------------------------------------------
11 // Begin single inclusion of this .h file condition
12 //-----------------------------------------------------------------------------
13
14 #ifndef _XRCDEMO_H_
15 #define _XRCDEMO_H_
16
17 //-----------------------------------------------------------------------------
18 // Headers
19 //-----------------------------------------------------------------------------
20
21 #include "wx/app.h" // wxApp
22
23 //-----------------------------------------------------------------------------
24 // Class definition: MyApp
25 //-----------------------------------------------------------------------------
26
27 // Define a new application type, each program should derive a class from wxApp
28 class MyApp : public wxApp
29 {
30
31 public:
32
33 // Override base class virtuals:
34 // wxApp::OnInit() is called on application startup and is a good place
35 // for the app initialization (doing it here and not in the ctor
36 // allows to have an error return: if OnInit() returns false, the
37 // application terminates)
38 virtual bool OnInit();
39
40 };
41
42 //-----------------------------------------------------------------------------
43 // End single inclusion of this .h file condition
44 //-----------------------------------------------------------------------------
45
46 #endif //_XRCDEMO_H_