30 #ifndef __WX28COMPAT_H__
31 #define __WX28COMPAT_H__
33 #if !wxCHECK_VERSION(3, 0, 0)
35 typedef int wxPenStyle;
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
45 #define wxBRUSHSTYLE_TRANSPARENT wxTRANSPARENT
46 #define wxBRUSHSTYLE_SOLID wxSOLID
47 #define wxBRUSHSTYLE_FDIAGONAL_HATCH wxFDIAGONAL_HATCH
48 #define wxBRUSHSTYLE_CROSSDIAG_HATCH wxCROSSDIAG_HATCH
50 #define wxEVT_MENU wxEVT_COMMAND_MENU_SELECTED
53 enum wxKeyCode_compat {