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
22 wxWindowList wxTopLevelWindows
;
24 // List of windows pending deletion
25 wxList wxPendingDelete
;
30 wxBrushList
*wxTheBrushList
= NULL
;
31 wxPenList
*wxThePenList
= NULL
;
32 wxFontList
*wxTheFontList
= NULL
;
33 wxBitmapList
*wxTheBitmapList
= NULL
;
35 wxColourDatabase
*wxTheColourDatabase
= NULL
;
38 wxFont
*wxNORMAL_FONT
;
40 wxFont
*wxITALIC_FONT
;
48 wxPen
*wxTRANSPARENT_PEN
;
49 wxPen
*wxBLACK_DASHED_PEN
;
51 wxPen
*wxMEDIUM_GREY_PEN
;
52 wxPen
*wxLIGHT_GREY_PEN
;
54 wxBrush
*wxBLUE_BRUSH
;
55 wxBrush
*wxGREEN_BRUSH
;
56 wxBrush
*wxWHITE_BRUSH
;
57 wxBrush
*wxBLACK_BRUSH
;
58 wxBrush
*wxTRANSPARENT_BRUSH
;
59 wxBrush
*wxCYAN_BRUSH
;
61 wxBrush
*wxGREY_BRUSH
;
62 wxBrush
*wxMEDIUM_GREY_BRUSH
;
63 wxBrush
*wxLIGHT_GREY_BRUSH
;
71 wxColour
*wxLIGHT_GREY
;
73 wxCursor
*wxSTANDARD_CURSOR
= NULL
;
74 wxCursor
*wxHOURGLASS_CURSOR
= NULL
;
75 wxCursor
*wxCROSS_CURSOR
= NULL
;
78 wxAcceleratorTable wxNullAcceleratorTable
;
79 wxBitmap wxNullBitmap
;
81 wxCursor wxNullCursor
;
84 wxPalette wxNullPalette
;
86 wxColour wxNullColour
;
88 // Default window names
89 const char *wxButtonNameStr
= "button";
90 const char *wxCanvasNameStr
= "canvas";
91 const char *wxCheckBoxNameStr
= "check";
92 const char *wxChoiceNameStr
= "choice";
93 const char *wxComboBoxNameStr
= "comboBox";
94 const char *wxDialogNameStr
= "dialog";
95 const char *wxFrameNameStr
= "frame";
96 const char *wxGaugeNameStr
= "gauge";
97 const char *wxStaticBoxNameStr
= "groupBox";
98 const char *wxListBoxNameStr
= "listBox";
99 const char *wxStaticTextNameStr
= "message";
100 const char *wxStaticBitmapNameStr
= "message";
101 const char *wxMultiTextNameStr
= "multitext";
102 const char *wxPanelNameStr
= "panel";
103 const char *wxRadioBoxNameStr
= "radioBox";
104 const char *wxRadioButtonNameStr
= "radioButton";
105 const char *wxBitmapRadioButtonNameStr
= "radioButton";
106 const char *wxScrollBarNameStr
= "scrollBar";
107 const char *wxSliderNameStr
= "slider";
108 const char *wxStaticNameStr
= "static";
109 const char *wxTextCtrlWindowNameStr
= "textWindow";
110 const char *wxTextCtrlNameStr
= "text";
111 const char *wxVirtListBoxNameStr
= "virtListBox";
112 const char *wxButtonBarNameStr
= "buttonbar";
113 const char *wxEnhDialogNameStr
= "Shell";
114 const char *wxToolBarNameStr
= "toolbar";
115 const char *wxStatusLineNameStr
= "status_line";
116 #if 0 // this is defined in string.cpp
117 const char *wxEmptyString
= "";
119 const char *wxGetTextFromUserPromptStr
= "Input Text";
120 const char *wxMessageBoxCaptionStr
= "Message";
121 const char *wxFileSelectorPromptStr
= "Select a file";
122 const char *wxFileSelectorDefaultWildcardStr
= "*.*";
123 const char *wxInternalErrorStr
= "wxWindows Internal Error";
124 const char *wxFatalErrorStr
= "wxWindows Fatal Error";
125 const char *wxDirDialogNameStr
= "wxDirCtrl";
126 const char *wxDirDialogDefaultFolderStr
= "/";
127 const wxChar
*wxTreeCtrlNameStr
= wxT("wxTreeCtrl");
130 const char *wxFloatToStringStr
= "%.2f";
131 const char *wxDoubleToStringStr
= "%.2f";
134 const wxSize
wxDefaultSize(-1, -1);
135 const wxPoint
wxDefaultPosition(-1, -1);