]> git.saurik.com Git - wxWidgets.git/blame_incremental - src/os2/data.cpp
compilation fix
[wxWidgets.git] / src / os2 / data.cpp
... / ...
CommitLineData
1/////////////////////////////////////////////////////////////////////////////
2// Name: data.cpp
3// Purpose: Various data
4// Author: David Webster
5// Modified by:
6// Created: 09/20/99
7// RCS-ID: $Id$
8// Copyright: (c) David Webster
9// Licence: wxWindows licence
10/////////////////////////////////////////////////////////////////////////////
11
12// For compilers that support precompilation, includes "wx.h".
13#include "wx/wxprec.h"
14
15#ifndef WX_PRECOMP
16#include "wx/wx.h"
17#endif
18
19#include "wx/prntbase.h"
20
21#define _MAXPATHLEN 500
22
23// Useful buffer, initialized in wxCommonInit
24wxChar *wxBuffer = NULL;
25
26// Windows List
27wxWindowList wxTopLevelWindows;
28
29// List of windows pending deletion
30wxList WXDLLEXPORT wxPendingDelete;
31
32// Current cursor, in order to hang on to
33// cursor handle when setting the cursor globally
34wxCursor *g_globalCursor = NULL;
35
36// Message Strings for Internationalization
37char **wx_msg_str = (char**)NULL;
38
39// Custom OS version, as optionally placed in wx.ini/.wxrc
40// Currently this can be Win95, Windows, Win32s, WinNT.
41// For some systems, you can't tell until run-time what services you
42// have. See wxGetOsVersion, which uses this string if present.
43char *wxOsVersion = NULL;
44
45int wxPageNumber;
46
47// GDI Object Lists
48wxBrushList *wxTheBrushList = NULL;
49wxPenList *wxThePenList = NULL;
50wxFontList *wxTheFontList = NULL;
51wxBitmapList *wxTheBitmapList = NULL;
52
53wxColourDatabase *wxTheColourDatabase = NULL;
54
55// Stock objects
56wxFont *wxNORMAL_FONT;
57wxFont *wxSMALL_FONT;
58wxFont *wxITALIC_FONT;
59wxFont *wxSWISS_FONT;
60wxPen *wxRED_PEN;
61
62wxPen *wxCYAN_PEN;
63wxPen *wxGREEN_PEN;
64wxPen *wxBLACK_PEN;
65wxPen *wxWHITE_PEN;
66wxPen *wxTRANSPARENT_PEN;
67wxPen *wxBLACK_DASHED_PEN;
68wxPen *wxGREY_PEN;
69wxPen *wxMEDIUM_GREY_PEN;
70wxPen *wxLIGHT_GREY_PEN;
71
72wxBrush *wxBLUE_BRUSH;
73wxBrush *wxGREEN_BRUSH;
74wxBrush *wxWHITE_BRUSH;
75wxBrush *wxBLACK_BRUSH;
76wxBrush *wxTRANSPARENT_BRUSH;
77wxBrush *wxCYAN_BRUSH;
78wxBrush *wxRED_BRUSH;
79wxBrush *wxGREY_BRUSH;
80wxBrush *wxMEDIUM_GREY_BRUSH;
81wxBrush *wxLIGHT_GREY_BRUSH;
82
83wxColour *wxBLACK;
84wxColour *wxWHITE;
85wxColour *wxRED;
86wxColour *wxBLUE;
87wxColour *wxGREEN;
88wxColour *wxCYAN;
89wxColour *wxLIGHT_GREY;
90
91wxCursor *wxSTANDARD_CURSOR = NULL;
92wxCursor *wxHOURGLASS_CURSOR = NULL;
93wxCursor *wxCROSS_CURSOR = NULL;
94
95// 'Null' objects
96wxAcceleratorTable wxNullAcceleratorTable;
97wxBitmap wxNullBitmap;
98wxIcon wxNullIcon;
99wxCursor wxNullCursor;
100wxPen wxNullPen;
101wxBrush wxNullBrush;
102wxPalette wxNullPalette;
103wxFont wxNullFont;
104wxColour wxNullColour;
105
106// Default window names
107const wxChar *wxButtonNameStr = wxT("button");
108const wxChar *wxCanvasNameStr = wxT("canvas");
109const wxChar *wxCheckBoxNameStr = wxT("check");
110const wxChar *wxChoiceNameStr = wxT("choice");
111const wxChar *wxComboBoxNameStr = wxT("comboBox");
112const wxChar *wxDialogNameStr = wxT("dialog");
113const wxChar *wxFrameNameStr = wxT("frame");
114const wxChar *wxGaugeNameStr = wxT("gauge");
115const wxChar *wxStaticBoxNameStr = wxT("groupBox");
116const wxChar *wxListBoxNameStr = wxT("listBox");
117const wxChar *wxStaticTextNameStr = wxT("message");
118const wxChar *wxStaticBitmapNameStr = wxT("message");
119const wxChar *wxMultiTextNameStr = wxT("multitext");
120const wxChar *wxPanelNameStr = wxT("panel");
121const wxChar *wxRadioBoxNameStr = wxT("radioBox");
122const wxChar *wxRadioButtonNameStr = wxT("radioButton");
123const wxChar *wxBitmapRadioButtonNameStr = wxT("radioButton");
124const wxChar *wxScrollBarNameStr = wxT("scrollBar");
125const wxChar *wxSliderNameStr = wxT("slider");
126const wxChar *wxStaticNameStr = wxT("static");
127const wxChar *wxTextCtrlWindowNameStr = wxT("textWindow");
128const wxChar *wxTextCtrlNameStr = wxT("text");
129const wxChar *wxVirtListBoxNameStr = wxT("virtListBox");
130const wxChar *wxButtonBarNameStr = wxT("buttonbar");
131const wxChar *wxEnhDialogNameStr = wxT("Shell");
132const wxChar *wxToolBarNameStr = wxT("toolbar");
133const wxChar *wxStatusLineNameStr = wxT("status_line");
134const wxChar *wxGetTextFromUserPromptStr = wxT("Input Text");
135const wxChar *wxMessageBoxCaptionStr = wxT("Message");
136const wxChar *wxFileSelectorPromptStr = wxT("Select a file");
137const wxChar *wxFileSelectorDefaultWildcardStr = wxT("*.*");
138const wxChar *wxInternalErrorStr = wxT("wxWindows Internal Error");
139const wxChar *wxFatalErrorStr = wxT("wxWindows Fatal Error");
140const wxChar *wxTreeCtrlNameStr = wxT("treeCtrl");
141const wxChar *wxDirDialogNameStr = wxT("wxDirCtrl");
142const wxChar *wxDirDialogDefaultFolderStr = wxT("/");
143
144// See wx/utils.h
145const wxChar *wxFloatToStringStr = wxT("%.2f");
146const wxChar *wxDoubleToStringStr = wxT("%.2f");
147
148const wxChar *wxUserResourceStr = wxT("TEXT");
149
150const wxSize wxDefaultSize(-1, -1);
151const wxPoint wxDefaultPosition(-1, -1);
152