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