File: test.h

package info (click to toggle)
wxxt 1.67c-6
  • links: PTS
  • area: main
  • in suites: potato
  • size: 9,176 kB
  • ctags: 12,722
  • sloc: cpp: 89,350; sh: 5,110; ansic: 4,510; makefile: 596; lex: 184; yacc: 105
file content (56 lines) | stat: -rw-r--r-- 1,078 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
/*
 * File:	test.h
 * Purpose:	wxPropertySheet class test
 * Author:	Julian Smart
 * Created:	1995
 * Updated:	
 * Copyright:	(c) 1995, AIAI, University of Edinburgh
 */

/* sccsid[] = "%W% %G%" */

#ifdef __GNUG__
#pragma interface
#endif

#ifndef testh
#define testh

#include "wx_plist.h"
#include "wx_pform.h"

class MyChild;

// Define a new application
class MyApp: public wxApp
{
  public:
    MyApp(void);
    wxFrame *OnInit(void);
};

extern MyApp myApp;

// Define a new frame
class MyFrame: public wxFrame
{
  public:
    MyFrame(wxFrame *frame, char *title, int x, int y, int w, int h, long type);
    Bool OnClose(void);
    void OnMenuCommand(int id);
};

extern wxFrame *GetMainFrame(void);

#define PROPERTY_QUIT                   1
#define PROPERTY_ABOUT                  2
#define PROPERTY_TEST_DIALOG_LIST       3
#define PROPERTY_TEST_FRAME_LIST        4
#define PROPERTY_TEST_DIALOG_FORM       5
#define PROPERTY_TEST_FRAME_FORM        6

void RegisterValidators(void);
void PropertyListTest(Bool useDialog);
void PropertyFormTest(Bool useDialog);

#endif