]> git.saurik.com Git - wxWidgets.git/blame - samples/stc/defsext.h
Extract wxFDIOEventLoopSourceHandler in its own header.
[wxWidgets.git] / samples / stc / defsext.h
CommitLineData
88a8b04e
RD
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
be5a51fb 18//! wxWidgets headers
c40691a0
WS
19#include "wx/print.h" // printing support
20#include "wx/printdlg.h" // printing dialog
88a8b04e
RD
21
22
23//============================================================================
24// declarations
25//============================================================================
26
1153f54c 27#define DEFAULT_LANGUAGE "<default>"
88a8b04e
RD
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
40enum {
41 // menu IDs
42 myID_PROPERTIES = wxID_HIGHEST,
10d28c97
VZ
43 myID_EDIT_FIRST,
44 myID_INDENTINC = myID_EDIT_FIRST,
88a8b04e
RD
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,
2fb4e3cb
VZ
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,
88a8b04e
RD
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,
10d28c97 83 myID_EDIT_LAST = myID_SELECTLINE,
c50e0cc7 84 myID_WINDOW_MINIMAL,
88a8b04e
RD
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
106extern wxString *g_appname;
107
c54e5eb0
WS
108#if wxUSE_PRINTING_ARCHITECTURE
109
88a8b04e
RD
110//! global print data, to remember settings during the session
111extern wxPrintData *g_printData;
7193abfb 112extern wxPageSetupDialogData *g_pageSetupData;
88a8b04e 113
c54e5eb0 114#endif // wxUSE_PRINTING_ARCHITECTURE
88a8b04e 115
c54e5eb0 116#endif // _WX_DEFSEXT_H_