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
;
90 wxNativeFontInfo wxNullNativeFontInfo
;
92 // Default window names
93 const char *wxButtonNameStr
= "button";
94 const char *wxCanvasNameStr
= "canvas";
95 const char *wxCheckBoxNameStr
= "check";
96 const char *wxChoiceNameStr
= "choice";
97 const char *wxComboBoxNameStr
= "comboBox";
98 const char *wxDialogNameStr
= "dialog";
99 const char *wxFrameNameStr
= "frame";
100 const char *wxGaugeNameStr
= "gauge";
101 const char *wxStaticBoxNameStr
= "groupBox";
102 const char *wxListBoxNameStr
= "listBox";
103 const char *wxStaticTextNameStr
= "message";
104 const char *wxStaticBitmapNameStr
= "message";
105 const char *wxMultiTextNameStr
= "multitext";
106 const char *wxPanelNameStr
= "panel";
107 const char *wxRadioBoxNameStr
= "radioBox";
108 const char *wxRadioButtonNameStr
= "radioButton";
109 const char *wxBitmapRadioButtonNameStr
= "radioButton";
110 const char *wxScrollBarNameStr
= "scrollBar";
111 const char *wxSliderNameStr
= "slider";
112 const char *wxStaticNameStr
= "static";
113 const char *wxTextCtrlWindowNameStr
= "textWindow";
114 const char *wxTextCtrlNameStr
= "text";
115 const char *wxVirtListBoxNameStr
= "virtListBox";
116 const char *wxButtonBarNameStr
= "buttonbar";
117 const char *wxEnhDialogNameStr
= "Shell";
118 const char *wxToolBarNameStr
= "toolbar";
119 const char *wxStatusLineNameStr
= "status_line";
120 #if 0 // this is defined in string.cpp
121 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 const char *wxDirDialogNameStr
= "wxDirCtrl";
130 const char *wxDirDialogDefaultFolderStr
= "/";
131 const wxChar
*wxTreeCtrlNameStr
= wxT("wxTreeCtrl");
134 const char *wxFloatToStringStr
= "%.2f";
135 const char *wxDoubleToStringStr
= "%.2f";
138 const wxSize
wxDefaultSize(-1, -1);
139 const wxPoint
wxDefaultPosition(-1, -1);