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