]> git.saurik.com Git - wxWidgets.git/blame - samples/wxtest/test.h
multilib linking fixes
[wxWidgets.git] / samples / wxtest / test.h
CommitLineData
c5e4ef4e
RR
1/////////////////////////////////////////////////////////////////////////////
2// Name: test.h
3// Author: XX
4// Created: XX/XX/XX
5// Copyright:
6/////////////////////////////////////////////////////////////////////////////
7
8#ifndef __test_H__
9#define __test_H__
10
11#ifdef __GNUG__
12 #pragma interface "test.cpp"
13#endif
14
15// Include wxWindows' headers
16
17#ifndef WX_PRECOMP
18 #include <wx/wx.h>
19#endif
20
21#include "test_wdr.h"
22
23// WDR: class declarations
24
25//----------------------------------------------------------------------------
26// MyDialog
27//----------------------------------------------------------------------------
28
29class MyDialog: public wxDialog
30{
31public:
32 // constructors and destructors
33 MyDialog( wxWindow *parent, wxWindowID id, const wxString &title,
34 const wxPoint& pos = wxDefaultPosition,
35 const wxSize& size = wxDefaultSize,
36 long style = wxDEFAULT_DIALOG_STYLE );
37
38 // WDR: method declarations for MyDialog
39 virtual bool Validate();
40 virtual bool TransferDataToWindow();
41 virtual bool TransferDataFromWindow();
42
43private:
44 // WDR: member variable declarations for MyDialog
45
46private:
47 // WDR: handler declarations for MyDialog
48
49private:
50 DECLARE_EVENT_TABLE()
51};
52
53//----------------------------------------------------------------------------
54// MyFrame
55//----------------------------------------------------------------------------
56
57class MyFrame: public wxFrame
58{
59public:
60 // constructors and destructors
61 MyFrame( wxWindow *parent, wxWindowID id, const wxString &title,
62 const wxPoint& pos = wxDefaultPosition,
63 const wxSize& size = wxDefaultSize,
64 long style = wxDEFAULT_FRAME_STYLE );
65
66private:
67 // WDR: method declarations for MyFrame
68 void CreateMyMenuBar();
69
70private:
71 // WDR: member variable declarations for MyFrame
72
73private:
74 // WDR: handler declarations for MyFrame
75 void OnTest( wxCommandEvent &event );
76 void OnAbout( wxCommandEvent &event );
77 void OnQuit( wxCommandEvent &event );
78 void OnCloseWindow( wxCloseEvent &event );
79
80private:
81 DECLARE_EVENT_TABLE()
82};
83
84//----------------------------------------------------------------------------
85// MyApp
86//----------------------------------------------------------------------------
87
88class MyApp: public wxApp
89{
90public:
91 MyApp();
92
93 virtual bool OnInit();
94 virtual int OnExit();
95};
96
97#endif