]> git.saurik.com Git - wxWidgets.git/blob - samples/stc/defsext.h
fix the length passed to wxMB2WC (replaces patch 1554431); don't use (and especially...
[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_INDENTINC,
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_CHANGECASE,
61 myID_CHANGELOWER,
62 myID_CHANGEUPPER,
63 myID_HILIGHTLANG,
64 myID_HILIGHTFIRST,
65 myID_HILIGHTLAST = myID_HILIGHTFIRST + 99,
66 myID_CONVERTEOL,
67 myID_CONVERTCR,
68 myID_CONVERTCRLF,
69 myID_CONVERTLF,
70 myID_USECHARSET,
71 myID_CHARSETANSI,
72 myID_CHARSETMAC,
73 myID_PAGEPREV,
74 myID_PAGENEXT,
75 myID_SELECTLINE,
76
77 // other IDs
78 myID_STATUSBAR,
79 myID_TITLEBAR,
80 myID_ABOUTTIMER,
81 myID_UPDATETIMER,
82
83 // dialog find IDs
84 myID_DLG_FIND_TEXT,
85
86 // preferences IDs
87 myID_PREFS_LANGUAGE,
88 myID_PREFS_STYLETYPE,
89 myID_PREFS_KEYWORDS,
90 };
91
92 // ----------------------------------------------------------------------------
93 // global items
94 // ----------------------------------------------------------------------------
95
96 //! global application name
97 extern wxString *g_appname;
98
99 #if wxUSE_PRINTING_ARCHITECTURE
100
101 //! global print data, to remember settings during the session
102 extern wxPrintData *g_printData;
103 extern wxPageSetupData *g_pageSetupData;
104
105 #endif // wxUSE_PRINTING_ARCHITECTURE
106
107 #endif // _WX_DEFSEXT_H_