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