1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: Various data
4 // Author: David Webster
8 // Copyright: (c) David Webster
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 // For compilers that support precompilation, includes "wx.h".
13 #include "wx/wxprec.h"
19 #include "wx/prntbase.h"
21 #define _MAXPATHLEN 500
23 // Useful buffer, initialized in wxCommonInit
24 wxChar
*wxBuffer
= NULL
;
27 wxWindowList wxTopLevelWindows
;
29 // List of windows pending deletion
30 wxList WXDLLEXPORT wxPendingDelete
;
32 // Current cursor, in order to hang on to
33 // cursor handle when setting the cursor globally
34 wxCursor
*g_globalCursor
= NULL
;
36 // Message Strings for Internationalization
37 char **wx_msg_str
= (char**)NULL
;
42 wxBrushList
*wxTheBrushList
= NULL
;
43 wxPenList
*wxThePenList
= NULL
;
44 wxFontList
*wxTheFontList
= NULL
;
45 wxBitmapList
*wxTheBitmapList
= NULL
;
47 wxColourDatabase
*wxTheColourDatabase
= NULL
;
50 wxFont
*wxNORMAL_FONT
;
52 wxFont
*wxITALIC_FONT
;
60 wxPen
*wxTRANSPARENT_PEN
;
61 wxPen
*wxBLACK_DASHED_PEN
;
63 wxPen
*wxMEDIUM_GREY_PEN
;
64 wxPen
*wxLIGHT_GREY_PEN
;
66 wxBrush
*wxBLUE_BRUSH
;
67 wxBrush
*wxGREEN_BRUSH
;
68 wxBrush
*wxWHITE_BRUSH
;
69 wxBrush
*wxBLACK_BRUSH
;
70 wxBrush
*wxTRANSPARENT_BRUSH
;
71 wxBrush
*wxCYAN_BRUSH
;
73 wxBrush
*wxGREY_BRUSH
;
74 wxBrush
*wxMEDIUM_GREY_BRUSH
;
75 wxBrush
*wxLIGHT_GREY_BRUSH
;
83 wxColour
*wxLIGHT_GREY
;
85 wxCursor
*wxSTANDARD_CURSOR
= NULL
;
86 wxCursor
*wxHOURGLASS_CURSOR
= NULL
;
87 wxCursor
*wxCROSS_CURSOR
= NULL
;
90 wxAcceleratorTable wxNullAcceleratorTable
;
91 wxBitmap wxNullBitmap
;
93 wxCursor wxNullCursor
;
96 wxPalette wxNullPalette
;
98 wxColour wxNullColour
;
100 // Default window names
101 const wxChar
*wxButtonNameStr
= wxT("button");
102 const wxChar
*wxCanvasNameStr
= wxT("canvas");
103 const wxChar
*wxCheckBoxNameStr
= wxT("check");
104 const wxChar
*wxChoiceNameStr
= wxT("choice");
105 const wxChar
*wxComboBoxNameStr
= wxT("comboBox");
106 const wxChar
*wxDialogNameStr
= wxT("dialog");
107 const wxChar
*wxFrameNameStr
= wxT("frame");
108 const wxChar
*wxGaugeNameStr
= wxT("gauge");
109 const wxChar
*wxStaticBoxNameStr
= wxT("groupBox");
110 const wxChar
*wxListBoxNameStr
= wxT("listBox");
111 const wxChar
*wxStaticTextNameStr
= wxT("message");
112 const wxChar
*wxStaticBitmapNameStr
= wxT("message");
113 const wxChar
*wxMultiTextNameStr
= wxT("multitext");
114 const wxChar
*wxPanelNameStr
= wxT("panel");
115 const wxChar
*wxRadioBoxNameStr
= wxT("radioBox");
116 const wxChar
*wxRadioButtonNameStr
= wxT("radioButton");
117 const wxChar
*wxBitmapRadioButtonNameStr
= wxT("radioButton");
118 const wxChar
*wxScrollBarNameStr
= wxT("scrollBar");
119 const wxChar
*wxSliderNameStr
= wxT("slider");
120 const wxChar
*wxStaticNameStr
= wxT("static");
121 const wxChar
*wxTextCtrlWindowNameStr
= wxT("textWindow");
122 const wxChar
*wxTextCtrlNameStr
= wxT("text");
123 const wxChar
*wxVirtListBoxNameStr
= wxT("virtListBox");
124 const wxChar
*wxButtonBarNameStr
= wxT("buttonbar");
125 const wxChar
*wxEnhDialogNameStr
= wxT("Shell");
126 const wxChar
*wxToolBarNameStr
= wxT("toolbar");
127 const wxChar
*wxStatusLineNameStr
= wxT("status_line");
128 const wxChar
*wxGetTextFromUserPromptStr
= wxT("Input Text");
129 const wxChar
*wxMessageBoxCaptionStr
= wxT("Message");
130 const wxChar
*wxFileSelectorPromptStr
= wxT("Select a file");
131 const wxChar
*wxFileSelectorDefaultWildcardStr
= wxT("*.*");
132 const wxChar
*wxInternalErrorStr
= wxT("wxWindows Internal Error");
133 const wxChar
*wxFatalErrorStr
= wxT("wxWindows Fatal Error");
134 const wxChar
*wxTreeCtrlNameStr
= wxT("treeCtrl");
135 const wxChar
*wxDirDialogNameStr
= wxT("wxDirCtrl");
136 const wxChar
*wxDirDialogDefaultFolderStr
= wxT("/");
139 const wxChar
*wxFloatToStringStr
= wxT("%.2f");
140 const wxChar
*wxDoubleToStringStr
= wxT("%.2f");
142 const wxChar
*wxUserResourceStr
= wxT("TEXT");
144 const wxSize
wxDefaultSize(-1, -1);
145 const wxPoint
wxDefaultPosition(-1, -1);