]> git.saurik.com Git - wxWidgets.git/blame - src/stubs/data.cpp
Added stubs .cpp files.
[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
18#define _MAXPATHLEN 500
19
20// Useful buffer, initialized in CommonInit
21char *wxBuffer = NULL;
22
23// Windows List
24wxList wxTopLevelWindows;
25
26// List of windows pending deletion
27wxList wxPendingDelete;
28
29int wxPageNumber;
30
31// GDI Object Lists
32wxBrushList *wxTheBrushList = NULL;
33wxPenList *wxThePenList = NULL;
34wxFontList *wxTheFontList = NULL;
35wxBitmapList *wxTheBitmapList = NULL;
36
37wxColourDatabase *wxTheColourDatabase = NULL;
38
39// Stock objects
40wxFont *wxNORMAL_FONT;
41wxFont *wxSMALL_FONT;
42wxFont *wxITALIC_FONT;
43wxFont *wxSWISS_FONT;
44wxPen *wxRED_PEN;
45
46wxPen *wxCYAN_PEN;
47wxPen *wxGREEN_PEN;
48wxPen *wxBLACK_PEN;
49wxPen *wxWHITE_PEN;
50wxPen *wxTRANSPARENT_PEN;
51wxPen *wxBLACK_DASHED_PEN;
52wxPen *wxGREY_PEN;
53wxPen *wxMEDIUM_GREY_PEN;
54wxPen *wxLIGHT_GREY_PEN;
55
56wxBrush *wxBLUE_BRUSH;
57wxBrush *wxGREEN_BRUSH;
58wxBrush *wxWHITE_BRUSH;
59wxBrush *wxBLACK_BRUSH;
60wxBrush *wxTRANSPARENT_BRUSH;
61wxBrush *wxCYAN_BRUSH;
62wxBrush *wxRED_BRUSH;
63wxBrush *wxGREY_BRUSH;
64wxBrush *wxMEDIUM_GREY_BRUSH;
65wxBrush *wxLIGHT_GREY_BRUSH;
66
67wxColour *wxBLACK;
68wxColour *wxWHITE;
69wxColour *wxRED;
70wxColour *wxBLUE;
71wxColour *wxGREEN;
72wxColour *wxCYAN;
73wxColour *wxLIGHT_GREY;
74
75wxCursor *wxSTANDARD_CURSOR = NULL;
76wxCursor *wxHOURGLASS_CURSOR = NULL;
77wxCursor *wxCROSS_CURSOR = NULL;
78
79// 'Null' objects
80wxAcceleratorTable wxNullAcceleratorTable;
81wxBitmap wxNullBitmap;
82wxIcon wxNullIcon;
83wxCursor wxNullCursor;
84wxPen wxNullPen;
85wxBrush wxNullBrush;
86wxPalette wxNullPalette;
87wxFont wxNullFont;
88wxColour wxNullColour;
89
90// Default window names
91const char *wxButtonNameStr = "button";
92const char *wxCanvasNameStr = "canvas";
93const char *wxCheckBoxNameStr = "check";
94const char *wxChoiceNameStr = "choice";
95const char *wxComboBoxNameStr = "comboBox";
96const char *wxDialogNameStr = "dialog";
97const char *wxFrameNameStr = "frame";
98const char *wxGaugeNameStr = "gauge";
99const char *wxStaticBoxNameStr = "groupBox";
100const char *wxListBoxNameStr = "listBox";
101const char *wxStaticTextNameStr = "message";
102const char *wxStaticBitmapNameStr = "message";
103const char *wxMultiTextNameStr = "multitext";
104const char *wxPanelNameStr = "panel";
105const char *wxRadioBoxNameStr = "radioBox";
106const char *wxRadioButtonNameStr = "radioButton";
107const char *wxBitmapRadioButtonNameStr = "radioButton";
108const char *wxScrollBarNameStr = "scrollBar";
109const char *wxSliderNameStr = "slider";
110const char *wxStaticNameStr = "static";
111const char *wxTextCtrlWindowNameStr = "textWindow";
112const char *wxTextCtrlNameStr = "text";
113const char *wxVirtListBoxNameStr = "virtListBox";
114const char *wxButtonBarNameStr = "buttonbar";
115const char *wxEnhDialogNameStr = "Shell";
116const char *wxToolBarNameStr = "toolbar";
117const char *wxStatusLineNameStr = "status_line";
118const char *wxEmptyString = "";
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";
125
126// See wx/utils.h
127const char *wxFloatToStringStr = "%.2f";
128const char *wxDoubleToStringStr = "%.2f";
129
130#if USE_POSTSCRIPT
131wxPrintPaperDatabase* wxThePrintPaperDatabase = NULL;
132#endif
133
134///// Event tables (also must be in one, statically-linked file for shared libraries)
135
136// This is the base, wxEvtHandler 'bootstrap' code which is expanded manually here
137const wxEventTable *wxEvtHandler::GetEventTable() const { return &wxEvtHandler::sm_eventTable; }
138
139const wxEventTable wxEvtHandler::sm_eventTable =
140 { NULL, &wxEvtHandler::sm_eventTableEntries[0] };
141
142const wxEventTableEntry wxEvtHandler::sm_eventTableEntries[] = { { 0, 0, 0, NULL } };
143
144const wxSize wxDefaultSize(-1, -1);
145const wxPoint wxDefaultPosition(-1, -1);