1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: Various data
4 // Author: Julian Smart
8 // Copyright: (c) Julian Smart and Markus Holzem
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
13 #pragma implementation "data.h"
16 // For compilers that support precompilation, includes "wx.h".
17 #include "wx/wxprec.h"
25 #include "wx/treectrl.h"
28 #include "wx/prntbase.h"
30 #define _MAXPATHLEN 500
32 // Useful buffer, initialized in wxCommonInit
33 wxChar
*wxBuffer
= NULL
;
36 wxWindowList wxTopLevelWindows
;
38 // List of windows pending deletion
39 wxList WXDLLEXPORT wxPendingDelete
;
44 wxFontList
*wxTheFontList
= NULL
;
45 wxPenList
*wxThePenList
= NULL
;
46 wxBrushList
*wxTheBrushList
= NULL
;
47 wxBitmapList
*wxTheBitmapList
= NULL
;
48 wxColourDatabase
*wxTheColourDatabase
= NULL
;
51 wxFont
*wxNORMAL_FONT
;
53 wxFont
*wxITALIC_FONT
;
61 wxPen
*wxTRANSPARENT_PEN
;
62 wxPen
*wxBLACK_DASHED_PEN
;
64 wxPen
*wxMEDIUM_GREY_PEN
;
65 wxPen
*wxLIGHT_GREY_PEN
;
67 wxBrush
*wxBLUE_BRUSH
;
68 wxBrush
*wxGREEN_BRUSH
;
69 wxBrush
*wxWHITE_BRUSH
;
70 wxBrush
*wxBLACK_BRUSH
;
71 wxBrush
*wxTRANSPARENT_BRUSH
;
72 wxBrush
*wxCYAN_BRUSH
;
74 wxBrush
*wxGREY_BRUSH
;
75 wxBrush
*wxMEDIUM_GREY_BRUSH
;
76 wxBrush
*wxLIGHT_GREY_BRUSH
;
84 wxColour
*wxLIGHT_GREY
;
86 wxCursor
*wxSTANDARD_CURSOR
= NULL
;
87 wxCursor
*wxHOURGLASS_CURSOR
= NULL
;
88 wxCursor
*wxCROSS_CURSOR
= NULL
;
92 wxAcceleratorTable wxNullAcceleratorTable
;
95 wxBitmap wxNullBitmap
;
97 wxCursor wxNullCursor
;
101 wxPalette wxNullPalette
;
102 #endif // wxUSE_PALETTE
104 wxColour wxNullColour
;
106 // Default window names
107 const wxChar
*wxControlNameStr
= wxT("control");
108 const wxChar
*wxButtonNameStr
= wxT("button");
109 const wxChar
*wxCanvasNameStr
= wxT("canvas");
110 const wxChar
*wxCheckBoxNameStr
= wxT("check");
111 const wxChar
*wxChoiceNameStr
= wxT("choice");
112 const wxChar
*wxComboBoxNameStr
= wxT("comboBox");
113 const wxChar
*wxDialogNameStr
= wxT("dialog");
114 const wxChar
*wxFrameNameStr
= wxT("frame");
115 const wxChar
*wxGaugeNameStr
= wxT("gauge");
116 const wxChar
*wxStaticBoxNameStr
= wxT("groupBox");
117 const wxChar
*wxListBoxNameStr
= wxT("listBox");
118 const wxChar
*wxStaticTextNameStr
= wxT("message");
119 const wxChar
*wxStaticBitmapNameStr
= wxT("message");
120 const wxChar
*wxMultiTextNameStr
= wxT("multitext");
121 const wxChar
*wxPanelNameStr
= wxT("panel");
122 const wxChar
*wxRadioBoxNameStr
= wxT("radioBox");
123 const wxChar
*wxRadioButtonNameStr
= wxT("radioButton");
124 const wxChar
*wxBitmapRadioButtonNameStr
= wxT("radioButton");
125 const wxChar
*wxScrollBarNameStr
= wxT("scrollBar");
126 const wxChar
*wxSliderNameStr
= wxT("slider");
127 const wxChar
*wxStaticNameStr
= wxT("static");
128 const wxChar
*wxTextCtrlWindowNameStr
= wxT("textWindow");
129 const wxChar
*wxTextCtrlNameStr
= wxT("text");
130 const wxChar
*wxVirtListBoxNameStr
= wxT("virtListBox");
131 const wxChar
*wxButtonBarNameStr
= wxT("buttonbar");
132 const wxChar
*wxEnhDialogNameStr
= wxT("Shell");
133 const wxChar
*wxToolBarNameStr
= wxT("toolbar");
134 const wxChar
*wxStatusLineNameStr
= wxT("status_line");
135 const wxChar
*wxGetTextFromUserPromptStr
= wxT("Input Text");
136 const wxChar
*wxMessageBoxCaptionStr
= wxT("Message");
137 const wxChar
*wxFileSelectorPromptStr
= wxT("Select a file");
138 const wxChar
*wxFileSelectorDefaultWildcardStr
= wxT("*.*");
139 const wxChar
* WXDLLEXPORT wxTreeCtrlNameStr
= wxT("treeCtrl");
140 const wxChar
*wxDirDialogNameStr
= wxT("wxDirCtrl");
141 const wxChar
*wxDirDialogDefaultFolderStr
= wxT("/");
144 const wxChar
*wxFloatToStringStr
= wxT("%.2f");
145 const wxChar
*wxDoubleToStringStr
= wxT("%.2f");
148 const wxChar
*wxUserResourceStr
= wxT("TEXT");
152 const wxSize
wxDefaultSize(-1, -1);
153 const wxPoint
wxDefaultPosition(-1, -1);