1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: Various data
4 // Author: Julian Smart
8 // Copyright: (c) Julian Smart
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
13 #pragma implementation
19 #define _MAXPATHLEN 500
21 // Useful buffer, initialized in CommonInit
22 char *wxBuffer
= NULL
;
25 wxWindowList wxTopLevelWindows
;
27 // List of windows pending deletion
28 wxList wxPendingDelete
;
33 wxBrushList
*wxTheBrushList
= NULL
;
34 wxPenList
*wxThePenList
= NULL
;
35 wxFontList
*wxTheFontList
= NULL
;
36 wxBitmapList
*wxTheBitmapList
= NULL
;
38 wxColourDatabase
*wxTheColourDatabase
= NULL
;
41 wxFont
*wxNORMAL_FONT
;
43 wxFont
*wxITALIC_FONT
;
51 wxPen
*wxTRANSPARENT_PEN
;
52 wxPen
*wxBLACK_DASHED_PEN
;
54 wxPen
*wxMEDIUM_GREY_PEN
;
55 wxPen
*wxLIGHT_GREY_PEN
;
57 wxBrush
*wxBLUE_BRUSH
;
58 wxBrush
*wxGREEN_BRUSH
;
59 wxBrush
*wxWHITE_BRUSH
;
60 wxBrush
*wxBLACK_BRUSH
;
61 wxBrush
*wxTRANSPARENT_BRUSH
;
62 wxBrush
*wxCYAN_BRUSH
;
64 wxBrush
*wxGREY_BRUSH
;
65 wxBrush
*wxMEDIUM_GREY_BRUSH
;
66 wxBrush
*wxLIGHT_GREY_BRUSH
;
74 wxColour
*wxLIGHT_GREY
;
76 wxCursor
*wxSTANDARD_CURSOR
= NULL
;
77 wxCursor
*wxHOURGLASS_CURSOR
= NULL
;
78 wxCursor
*wxCROSS_CURSOR
= NULL
;
81 wxAcceleratorTable wxNullAcceleratorTable
;
82 wxBitmap wxNullBitmap
;
84 wxCursor wxNullCursor
;
87 wxPalette wxNullPalette
;
89 wxColour wxNullColour
;
91 // Default window names
92 const char *wxButtonNameStr
= "button";
93 const char *wxCanvasNameStr
= "canvas";
94 const char *wxCheckBoxNameStr
= "check";
95 const char *wxChoiceNameStr
= "choice";
96 const char *wxComboBoxNameStr
= "comboBox";
97 const char *wxDialogNameStr
= "dialog";
98 const char *wxFrameNameStr
= "frame";
99 const char *wxGaugeNameStr
= "gauge";
100 const char *wxStaticBoxNameStr
= "groupBox";
101 const char *wxListBoxNameStr
= "listBox";
102 const char *wxStaticTextNameStr
= "message";
103 const char *wxStaticBitmapNameStr
= "message";
104 const char *wxMultiTextNameStr
= "multitext";
105 const char *wxPanelNameStr
= "panel";
106 const char *wxRadioBoxNameStr
= "radioBox";
107 const char *wxRadioButtonNameStr
= "radioButton";
108 const char *wxBitmapRadioButtonNameStr
= "radioButton";
109 const char *wxScrollBarNameStr
= "scrollBar";
110 const char *wxSliderNameStr
= "slider";
111 const char *wxStaticNameStr
= "static";
112 const char *wxTextCtrlWindowNameStr
= "textWindow";
113 const char *wxTextCtrlNameStr
= "text";
114 const char *wxVirtListBoxNameStr
= "virtListBox";
115 const char *wxButtonBarNameStr
= "buttonbar";
116 const char *wxEnhDialogNameStr
= "Shell";
117 const char *wxToolBarNameStr
= "toolbar";
118 const char *wxStatusLineNameStr
= "status_line";
119 #if 0 // this is defined in string.cpp
120 const char *wxEmptyString
= "";
122 const char *wxGetTextFromUserPromptStr
= "Input Text";
123 const char *wxMessageBoxCaptionStr
= "Message";
124 const char *wxFileSelectorPromptStr
= "Select a file";
125 const char *wxFileSelectorDefaultWildcardStr
= "*.*";
126 const char *wxInternalErrorStr
= "wxWindows Internal Error";
127 const char *wxFatalErrorStr
= "wxWindows Fatal Error";
128 const char *wxDirDialogNameStr
= "wxDirCtrl";
129 const char *wxDirDialogDefaultFolderStr
= "/";
130 const wxChar
*wxTreeCtrlNameStr
= wxT("wxTreeCtrl");
133 const char *wxFloatToStringStr
= "%.2f";
134 const char *wxDoubleToStringStr
= "%.2f";
137 const wxSize
wxDefaultSize(-1, -1);
138 const wxPoint
wxDefaultPosition(-1, -1);