]> git.saurik.com Git - wxWidgets.git/blame - src/motif/data.cpp
fixed array tests compilation and a bug in obj array test
[wxWidgets.git] / src / motif / data.cpp
CommitLineData
4bb6408c
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
e146b8c8 9// Licence: wxWindows licence
4bb6408c
JS
10/////////////////////////////////////////////////////////////////////////////
11
12#ifdef __GNUG__
13#pragma implementation
14#endif
15
16#include "wx/wx.h"
bf38cbff 17#include "wx/dcps.h"
4bb6408c
JS
18
19#define _MAXPATHLEN 500
20
4bb6408c 21// Windows List
e146b8c8 22wxWindowList wxTopLevelWindows;
4bb6408c
JS
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";
91233253 116#if 0 // this is defined in string.cpp
4bb6408c 117const char *wxEmptyString = "";
91233253 118#endif
4bb6408c
JS
119const char *wxGetTextFromUserPromptStr = "Input Text";
120const char *wxMessageBoxCaptionStr = "Message";
121const char *wxFileSelectorPromptStr = "Select a file";
122const char *wxFileSelectorDefaultWildcardStr = "*.*";
1044a386
JS
123const char *wxDirDialogNameStr = "wxDirCtrl";
124const char *wxDirDialogDefaultFolderStr = "/";
36cc3968 125const wxChar *wxTreeCtrlNameStr = wxT("wxTreeCtrl");
4bb6408c
JS
126
127// See wx/utils.h
128const char *wxFloatToStringStr = "%.2f";
129const char *wxDoubleToStringStr = "%.2f";
130
4bb6408c
JS
131
132const wxSize wxDefaultSize(-1, -1);
133const wxPoint wxDefaultPosition(-1, -1);