]> git.saurik.com Git - wxWidgets.git/blame - src/os2/data.cpp
Committing in .
[wxWidgets.git] / src / os2 / data.cpp
CommitLineData
0e320a79
DW
1/////////////////////////////////////////////////////////////////////////////
2// Name: data.cpp
3// Purpose: Various data
23e4b7d8 4// Author: David Webster
0e320a79 5// Modified by:
23e4b7d8 6// Created: 09/20/99
0e320a79 7// RCS-ID: $Id$
23e4b7d8
DW
8// Copyright: (c) David Webster
9// Licence: wxWindows licence
0e320a79
DW
10/////////////////////////////////////////////////////////////////////////////
11
23e4b7d8
DW
12// For compilers that support precompilation, includes "wx.h".
13#include "wx/wxprec.h"
0e320a79 14
23e4b7d8
DW
15#ifndef WX_PRECOMP
16#include "wx/wx.h"
0e320a79
DW
17#endif
18
23e4b7d8
DW
19#include "wx/prntbase.h"
20
0e320a79
DW
21#define _MAXPATHLEN 500
22
23e4b7d8
DW
23// Useful buffer, initialized in wxCommonInit
24wxChar *wxBuffer = NULL;
0e320a79
DW
25
26// Windows List
23e4b7d8 27wxWindowList wxTopLevelWindows;
0e320a79
DW
28
29// List of windows pending deletion
23e4b7d8
DW
30wxList WXDLLEXPORT wxPendingDelete;
31
23e4b7d8
DW
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;
0e320a79
DW
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
223d09f6
KB
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");
223d09f6
KB
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("/");
0e320a79
DW
143
144// See wx/utils.h
223d09f6
KB
145const wxChar *wxFloatToStringStr = wxT("%.2f");
146const wxChar *wxDoubleToStringStr = wxT("%.2f");
23e4b7d8 147
223d09f6 148const wxChar *wxUserResourceStr = wxT("TEXT");
23e4b7d8 149
0e320a79
DW
150const wxSize wxDefaultSize(-1, -1);
151const wxPoint wxDefaultPosition(-1, -1);
fb46a9a6 152