]> git.saurik.com Git - wxWidgets.git/blame - samples/tab/test.h
now process UDN_DELTAPOS notification: up-down control (which appears if there
[wxWidgets.git] / samples / tab / test.h
CommitLineData
c801d85f
KB
1/////////////////////////////////////////////////////////////////////////////
2// Name: test.h
3// Purpose: Tab demo
4// Author: Julian Smart
5// Modified by:
6// Created: 01/02/97
7// RCS-ID: $Id$
8// Copyright: (c)
9// Licence: wxWindows licence
10/////////////////////////////////////////////////////////////////////////////
11
12// Define a new application
13class MyApp: public wxApp
14{
15public:
16 bool OnInit(void);
17};
18
19class MyDialog: public wxTabbedDialog
20{
21public:
22 MyDialog(wxWindow* parent, const wxWindowID id, const wxString& title,
23 const wxPoint& pos, const wxSize& size, const long windowStyle = wxDEFAULT_DIALOG_STYLE);
24
25 void OnOK(wxCommandEvent& event);
26 void OnCloseWindow(wxCloseEvent& event);
27// void OnAbout(wxCommandEvent& event);
28 void Init(void);
29
30DECLARE_EVENT_TABLE()
31};
32
33// File ids
34#define TEST_ABOUT 2
35
36// Tab ids
37#define TEST_TAB_DOG 1
38#define TEST_TAB_CAT 2
39#define TEST_TAB_GOAT 3
40#define TEST_TAB_GUINEAPIG 4
41#define TEST_TAB_ANTEATER 5
42#define TEST_TAB_HUMMINGBIRD 6
43#define TEST_TAB_SHEEP 7
44#define TEST_TAB_COW 8
45#define TEST_TAB_HORSE 9
46#define TEST_TAB_PIG 10
47#define TEST_TAB_OSTRICH 11
48#define TEST_TAB_AARDVARK 12
49