OpenCPN Partial API docs
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
Functions
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
~
Functions
a
b
c
d
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
~
Variables
Files
File List
•
All
Classes
Namespaces
Functions
Variables
Pages
Loading...
Searching...
No Matches
wx28compat.h
1
/******************************************************************************
2
*
3
* Project: OpenCPN
4
* Purpose: wx 2.8 compatibility
5
* Author: Sean D'Epagnier
6
*
7
***************************************************************************
8
* Copyright (C) 2015 by David S. Register *
9
* *
10
* This program is free software; you can redistribute it and/or modify *
11
* it under the terms of the GNU General Public License as published by *
12
* the Free Software Foundation; either version 2 of the License, or *
13
* (at your option) any later version. *
14
* *
15
* This program is distributed in the hope that it will be useful, *
16
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
17
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
18
* GNU General Public License for more details. *
19
* *
20
* You should have received a copy of the GNU General Public License *
21
* along with this program; if not, write to the *
22
* Free Software Foundation, Inc., *
23
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
24
***************************************************************************
25
*
26
*
27
*
28
*/
29
30
#ifndef __WX28COMPAT_H__
31
#define __WX28COMPAT_H__
32
33
#if !wxCHECK_VERSION(3, 0, 0)
34
35
typedef
int
wxPenStyle;
36
37
#define wxPENSTYLE_INVALID -1
38
#define wxPENSTYLE_USER_DASH wxUSER_DASH
39
#define wxPENSTYLE_SOLID wxSOLID
40
#define wxPENSTYLE_SHORT_DASH wxSHORT_DASH
41
#define wxPENSTYLE_LONG_DASH wxLONG_DASH
42
#define wxPENSTYLE_DOT wxDOT
43
#define wxPENSTYLE_DOT_DASH wxDOT_DASH
44
45
#define wxBRUSHSTYLE_TRANSPARENT wxTRANSPARENT
46
#define wxBRUSHSTYLE_SOLID wxSOLID
47
#define wxBRUSHSTYLE_FDIAGONAL_HATCH wxFDIAGONAL_HATCH
48
#define wxBRUSHSTYLE_CROSSDIAG_HATCH wxCROSSDIAG_HATCH
49
50
#define wxEVT_MENU wxEVT_COMMAND_MENU_SELECTED
51
52
/* Key codes */
53
enum
wxKeyCode_compat {
54
WXK_NONE = 0,
55
56
WXK_CONTROL_A = 1,
57
WXK_CONTROL_B,
58
WXK_CONTROL_C,
59
WXK_CONTROL_D,
60
WXK_CONTROL_E,
61
WXK_CONTROL_F,
62
WXK_CONTROL_G,
63
WXK_CONTROL_H,
64
WXK_CONTROL_I,
65
WXK_CONTROL_J,
66
WXK_CONTROL_K,
67
WXK_CONTROL_L,
68
WXK_CONTROL_M,
69
WXK_CONTROL_N,
70
WXK_CONTROL_O,
71
WXK_CONTROL_P,
72
WXK_CONTROL_Q,
73
WXK_CONTROL_R,
74
WXK_CONTROL_S,
75
WXK_CONTROL_T,
76
WXK_CONTROL_U,
77
WXK_CONTROL_V,
78
WXK_CONTROL_W,
79
WXK_CONTROL_X,
80
WXK_CONTROL_Y,
81
WXK_CONTROL_Z,
82
83
};
84
85
#endif
86
87
#endif
include
wx28compat.h
Generated by
1.9.5