]> git.saurik.com Git - wxWidgets.git/blame - samples/stc/defsext.h
eliminate possibility of configure enabling gnomeprint with GTK3
[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,
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,
c50e0cc7 76 myID_WINDOW_MINIMAL,
88a8b04e
RD
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
98extern wxString *g_appname;
99
c54e5eb0
WS
100#if wxUSE_PRINTING_ARCHITECTURE
101
88a8b04e
RD
102//! global print data, to remember settings during the session
103extern wxPrintData *g_printData;
7193abfb 104extern wxPageSetupDialogData *g_pageSetupData;
88a8b04e 105
c54e5eb0 106#endif // wxUSE_PRINTING_ARCHITECTURE
88a8b04e 107
c54e5eb0 108#endif // _WX_DEFSEXT_H_