]> git.saurik.com Git - wxWidgets.git/blob - samples/stc/defsext.h
97cb8bc18437fc749373014cda92a5224cf100d5
[wxWidgets.git] / samples / stc / defsext.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: defsext.h extensions
3 // Purpose: STC test declarations
4 // Maintainer: Wyo
5 // Created: 2003-09-01
6 // RCS-ID: $Id$
7 // Copyright: (c) wxGuide
8 // Licence: wxWindows licence
9 //////////////////////////////////////////////////////////////////////////////
10
11 #ifndef _WX_DEFSEXT_H_
12 #define _WX_DEFSEXT_H_
13
14 //----------------------------------------------------------------------------
15 // headers
16 //----------------------------------------------------------------------------
17
18 //! wxWidgets headers
19 #include "wx/print.h" // printing support
20 #include "wx/printdlg.h" // printing dialog
21
22
23 //============================================================================
24 // declarations
25 //============================================================================
26
27 #define DEFAULT_LANGUAGE "<default>"
28
29 #define PAGE_COMMON _("Common")
30 #define PAGE_LANGUAGES _("Languages")
31 #define PAGE_STYLE_TYPES _("Style types")
32
33 #define STYLE_TYPES_COUNT 32
34
35
36 // ----------------------------------------------------------------------------
37 // standard IDs
38 // ----------------------------------------------------------------------------
39
40 enum {
41 // menu IDs
42 myID_PROPERTIES = wxID_HIGHEST,
43 myID_EDIT_FIRST,
44 myID_INDENTINC = myID_EDIT_FIRST,
45 myID_INDENTRED,
46 myID_FINDNEXT,
47 myID_REPLACE,
48 myID_REPLACENEXT,
49 myID_BRACEMATCH,
50 myID_GOTO,
51 myID_PAGEACTIVE,
52 myID_DISPLAYEOL,
53 myID_INDENTGUIDE,
54 myID_LINENUMBER,
55 myID_LONGLINEON,
56 myID_WHITESPACE,
57 myID_FOLDTOGGLE,
58 myID_OVERTYPE,
59 myID_READONLY,
60 myID_WRAPMODEON,
61 myID_ANNOTATION_ADD,
62 myID_ANNOTATION_REMOVE,
63 myID_ANNOTATION_CLEAR,
64 myID_ANNOTATION_STYLE_HIDDEN,
65 myID_ANNOTATION_STYLE_STANDARD,
66 myID_ANNOTATION_STYLE_BOXED,
67 myID_CHANGECASE,
68 myID_CHANGELOWER,
69 myID_CHANGEUPPER,
70 myID_HILIGHTLANG,
71 myID_HILIGHTFIRST,
72 myID_HILIGHTLAST = myID_HILIGHTFIRST + 99,
73 myID_CONVERTEOL,
74 myID_CONVERTCR,
75 myID_CONVERTCRLF,
76 myID_CONVERTLF,
77 myID_USECHARSET,
78 myID_CHARSETANSI,
79 myID_CHARSETMAC,
80 myID_PAGEPREV,
81 myID_PAGENEXT,
82 myID_SELECTLINE,
83 myID_EDIT_LAST = myID_SELECTLINE,
84 myID_WINDOW_MINIMAL,
85
86 // other IDs
87 myID_STATUSBAR,
88 myID_TITLEBAR,
89 myID_ABOUTTIMER,
90 myID_UPDATETIMER,
91
92 // dialog find IDs
93 myID_DLG_FIND_TEXT,
94
95 // preferences IDs
96 myID_PREFS_LANGUAGE,
97 myID_PREFS_STYLETYPE,
98 myID_PREFS_KEYWORDS,
99 };
100
101 // ----------------------------------------------------------------------------
102 // global items
103 // ----------------------------------------------------------------------------
104
105 //! global application name
106 extern wxString *g_appname;
107
108 #if wxUSE_PRINTING_ARCHITECTURE
109
110 //! global print data, to remember settings during the session
111 extern wxPrintData *g_printData;
112 extern wxPageSetupDialogData *g_pageSetupData;
113
114 #endif // wxUSE_PRINTING_ARCHITECTURE
115
116 #endif // _WX_DEFSEXT_H_