]> git.saurik.com Git - wxWidgets.git/blame - src/x11/data.cpp
Fixed usage of wxXmString
[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
88// Default window names
89const char *wxButtonNameStr = "button";
90const char *wxCanvasNameStr = "canvas";
91const char *wxCheckBoxNameStr = "check";
92const char *wxChoiceNameStr = "choice";
93const char *wxComboBoxNameStr = "comboBox";
94const char *wxDialogNameStr = "dialog";
95const char *wxFrameNameStr = "frame";
96const char *wxGaugeNameStr = "gauge";
97const char *wxStaticBoxNameStr = "groupBox";
98const char *wxListBoxNameStr = "listBox";
99const char *wxStaticTextNameStr = "message";
100const char *wxStaticBitmapNameStr = "message";
101const char *wxMultiTextNameStr = "multitext";
102const char *wxPanelNameStr = "panel";
103const char *wxRadioBoxNameStr = "radioBox";
104const char *wxRadioButtonNameStr = "radioButton";
105const char *wxBitmapRadioButtonNameStr = "radioButton";
106const char *wxScrollBarNameStr = "scrollBar";
107const char *wxSliderNameStr = "slider";
108const char *wxStaticNameStr = "static";
109const char *wxTextCtrlWindowNameStr = "textWindow";
110const char *wxTextCtrlNameStr = "text";
111const char *wxVirtListBoxNameStr = "virtListBox";
112const char *wxButtonBarNameStr = "buttonbar";
113const char *wxEnhDialogNameStr = "Shell";
114const char *wxToolBarNameStr = "toolbar";
115const char *wxStatusLineNameStr = "status_line";
116#if 0 // this is defined in string.cpp
117const char *wxEmptyString = "";
118#endif
119const char *wxGetTextFromUserPromptStr = "Input Text";
120const char *wxMessageBoxCaptionStr = "Message";
121const char *wxFileSelectorPromptStr = "Select a file";
122const char *wxFileSelectorDefaultWildcardStr = "*.*";
123const char *wxInternalErrorStr = "wxWindows Internal Error";
124const char *wxFatalErrorStr = "wxWindows Fatal Error";
125const char *wxDirDialogNameStr = "wxDirCtrl";
126const char *wxDirDialogDefaultFolderStr = "/";
127const wxChar *wxTreeCtrlNameStr = wxT("wxTreeCtrl");
128
129// See wx/utils.h
130const char *wxFloatToStringStr = "%.2f";
131const char *wxDoubleToStringStr = "%.2f";
132
133
134const wxSize wxDefaultSize(-1, -1);
135const wxPoint wxDefaultPosition(-1, -1);