~efargaspro/+junk/codeblocks-16.01-release

« back to all changes in this revision

Viewing changes to src/templates/common/wx-main-sh.h

  • Committer: damienlmoore at gmail
  • Date: 2016-02-02 02:43:22 UTC
  • Revision ID: damienlmoore@gmail.com-20160202024322-yql5qmtbwdyamdwd
Code::BlocksĀ 16.01

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef MAIN_H
 
2
#define MAIN_H
 
3
 
 
4
#include <wx/wxprec.h>
 
5
 
 
6
#ifdef __BORLANDC__
 
7
    #pragma hdrstop
 
8
#endif
 
9
 
 
10
#ifndef WX_PRECOMP
 
11
    #include <wx/wx.h>
 
12
#endif
 
13
 
 
14
class MyApp : public wxApp
 
15
{
 
16
        public:
 
17
                virtual bool OnInit();
 
18
};
 
19
 
 
20
class MyFrame: public wxFrame
 
21
{
 
22
        public:
 
23
                MyFrame(wxFrame *frame, const wxString& title);
 
24
                ~MyFrame();
 
25
        private:
 
26
                void OnQuit(wxCommandEvent& event);
 
27
                void OnAbout(wxCommandEvent& event);
 
28
                DECLARE_EVENT_TABLE();
 
29
};
 
30
 
 
31
#endif // MAIN_H