]> git.saurik.com Git - wxWidgets.git/blob - samples/stc/defsext.h
Quote file names with spaces in wxFileType::ExpandCommand().
[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 myID_WINDOW_MINIMAL,
77
78 // other IDs
79 myID_STATUSBAR,
80 myID_TITLEBAR,
81 myID_ABOUTTIMER,
82 myID_UPDATETIMER,
83
84 // dialog find IDs
85 myID_DLG_FIND_TEXT,
86
87 // preferences IDs
88 myID_PREFS_LANGUAGE,
89 myID_PREFS_STYLETYPE,
90 myID_PREFS_KEYWORDS,
91 };
92
93 // ----------------------------------------------------------------------------
94 // global items
95 // ----------------------------------------------------------------------------
96
97 //! global application name
98 extern wxString *g_appname;
99
100 #if wxUSE_PRINTING_ARCHITECTURE
101
102 //! global print data, to remember settings during the session
103 extern wxPrintData *g_printData;
104 extern wxPageSetupData *g_pageSetupData;
105
106 #endif // wxUSE_PRINTING_ARCHITECTURE
107
108 #endif // _WX_DEFSEXT_H_