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