]> git.saurik.com Git - wxWidgets.git/blame - src/x11/data.cpp
(probably) fixed wxLocale::Init with Borland C++
[wxWidgets.git] / src / x11 / data.cpp
CommitLineData
83df96d6
JS
1/////////////////////////////////////////////////////////////////////////////
2// Name: data.cpp
3// Purpose: Various data
4// Author: Julian Smart
5// Modified by:
6// Created: 17/09/98
7// RCS-ID: $Id$
8// Copyright: (c) Julian Smart
9// Licence: wxWindows licence
10/////////////////////////////////////////////////////////////////////////////
11
12#ifdef __GNUG__
13#pragma implementation
14#endif
15
16#include "wx/wx.h"
17#include "wx/dcps.h"
18
19#define _MAXPATHLEN 500
20
83df96d6
JS
21// Windows List
22wxWindowList wxTopLevelWindows;
23
24// List of windows pending deletion
25wxList wxPendingDelete;
26
27int wxPageNumber;
28
29// GDI Object Lists
30wxBrushList *wxTheBrushList = NULL;
31wxPenList *wxThePenList = NULL;
32wxFontList *wxTheFontList = NULL;
33wxBitmapList *wxTheBitmapList = NULL;
34
35wxColourDatabase *wxTheColourDatabase = NULL;
36
37// Stock objects
38wxFont *wxNORMAL_FONT;
39wxFont *wxSMALL_FONT;
40wxFont *wxITALIC_FONT;
41wxFont *wxSWISS_FONT;
42wxPen *wxRED_PEN;
43
44wxPen *wxCYAN_PEN;
45wxPen *wxGREEN_PEN;
46wxPen *wxBLACK_PEN;
47wxPen *wxWHITE_PEN;
48wxPen *wxTRANSPARENT_PEN;
49wxPen *wxBLACK_DASHED_PEN;
50wxPen *wxGREY_PEN;
51wxPen *wxMEDIUM_GREY_PEN;
52wxPen *wxLIGHT_GREY_PEN;
53
54wxBrush *wxBLUE_BRUSH;
55wxBrush *wxGREEN_BRUSH;
56wxBrush *wxWHITE_BRUSH;
57wxBrush *wxBLACK_BRUSH;
58wxBrush *wxTRANSPARENT_BRUSH;
59wxBrush *wxCYAN_BRUSH;
60wxBrush *wxRED_BRUSH;
61wxBrush *wxGREY_BRUSH;
62wxBrush *wxMEDIUM_GREY_BRUSH;
63wxBrush *wxLIGHT_GREY_BRUSH;
64
65wxColour *wxBLACK;
66wxColour *wxWHITE;
67wxColour *wxRED;
68wxColour *wxBLUE;
69wxColour *wxGREEN;
70wxColour *wxCYAN;
71wxColour *wxLIGHT_GREY;
72
73wxCursor *wxSTANDARD_CURSOR = NULL;
74wxCursor *wxHOURGLASS_CURSOR = NULL;
75wxCursor *wxCROSS_CURSOR = NULL;
76
77// 'Null' objects
78wxAcceleratorTable wxNullAcceleratorTable;
79wxBitmap wxNullBitmap;
80wxIcon wxNullIcon;
81wxCursor wxNullCursor;
82wxPen wxNullPen;
83wxBrush wxNullBrush;
84wxPalette wxNullPalette;
85wxFont wxNullFont;
86wxColour wxNullColour;
87
2b5f62a0
VZ
88/* Default window names */
89const wxChar *wxControlNameStr = wxT("control");
90const wxChar *wxButtonNameStr = wxT("button");
91const wxChar *wxCanvasNameStr = wxT("canvas");
92const wxChar *wxCheckBoxNameStr = wxT("check");
93const wxChar *wxChoiceNameStr = wxT("choice");
94const wxChar *wxComboBoxNameStr = wxT("comboBox");
95const wxChar *wxDialogNameStr = wxT("dialog");
96const wxChar *wxFrameNameStr = wxT("frame");
97const wxChar *wxGaugeNameStr = wxT("gauge");
98const wxChar *wxStaticBoxNameStr = wxT("groupBox");
99const wxChar *wxListBoxNameStr = wxT("listBox");
100const wxChar *wxStaticTextNameStr = wxT("message");
101const wxChar *wxStaticBitmapNameStr = wxT("message");
102const wxChar *wxMultiTextNameStr = wxT("multitext");
103const wxChar *wxPanelNameStr = wxT("panel");
104const wxChar *wxRadioBoxNameStr = wxT("radioBox");
105const wxChar *wxRadioButtonNameStr = wxT("radioButton");
106const wxChar *wxBitmapRadioButtonNameStr = wxT("radioButton");
107const wxChar *wxScrollBarNameStr = wxT("scrollBar");
108const wxChar *wxSliderNameStr = wxT("slider");
109const wxChar *wxStaticNameStr = wxT("static");
110const wxChar *wxTextCtrlWindowNameStr = wxT("textWindow");
111const wxChar *wxTextCtrlNameStr = wxT("text");
112const wxChar *wxVirtListBoxNameStr = wxT("virtListBox");
113const wxChar *wxButtonBarNameStr = wxT("buttonbar");
114const wxChar *wxEnhDialogNameStr = wxT("Shell");
115const wxChar *wxToolBarNameStr = wxT("toolbar");
116const wxChar *wxStatusLineNameStr = wxT("status_line");
117const wxChar *wxGetTextFromUserPromptStr = wxT("Input Text");
118const wxChar *wxMessageBoxCaptionStr = wxT("Message");
119const wxChar *wxFileSelectorPromptStr = wxT("Select a file");
120const wxChar *wxFileSelectorDefaultWildcardStr = wxT("*");
121const wxChar *wxDirDialogNameStr = wxT("wxDirCtrl");
122const wxChar *wxDirDialogDefaultFolderStr = wxT("/");
83df96d6
JS
123const wxChar *wxTreeCtrlNameStr = wxT("wxTreeCtrl");
124
2b5f62a0
VZ
125/* See wx/utils.h */
126const wxChar *wxFloatToStringStr = wxT("%.2f");
127const wxChar *wxDoubleToStringStr = wxT("%.2f");
83df96d6
JS
128
129
130const wxSize wxDefaultSize(-1, -1);
131const wxPoint wxDefaultPosition(-1, -1);