~ubuntu-branches/ubuntu/oneiric/codeblocks/oneiric

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Michael Casadevall
  • Date: 2008-07-17 04:39:23 UTC
  • Revision ID: james.westby@ubuntu.com-20080717043923-gmsy5cwkdjswghkm
Tags: upstream-8.02
ImportĀ upstreamĀ versionĀ 8.02

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