]> git.saurik.com Git - wxWidgets.git/blame_incremental - src/msw/data.cpp
added test for writing empty value to the config
[wxWidgets.git] / src / msw / data.cpp
... / ...
CommitLineData
1/////////////////////////////////////////////////////////////////////////////
2// Name: data.cpp
3// Purpose: Various data
4// Author: Julian Smart
5// Modified by:
6// Created: 01/02/97
7// RCS-ID: $Id$
8// Copyright: (c) Julian Smart and Markus Holzem
9// Licence: wxWindows licence
10/////////////////////////////////////////////////////////////////////////////
11
12#ifdef __GNUG__
13#pragma implementation "data.h"
14#endif
15
16// For compilers that support precompilation, includes "wx.h".
17#include "wx/wxprec.h"
18
19#ifdef __BORLANDC__
20#pragma hdrstop
21#endif
22
23#ifndef WX_PRECOMP
24#include "wx/wx.h"
25#endif
26
27#include "wx/prntbase.h"
28
29#define _MAXPATHLEN 500
30
31// Useful buffer, initialized in wxCommonInit
32wxChar *wxBuffer = NULL;
33
34// Windows List
35wxWindowList wxTopLevelWindows;
36
37// List of windows pending deletion
38wxList WXDLLEXPORT wxPendingDelete;
39
40int wxPageNumber;
41
42// GDI Object Lists
43wxFontList *wxTheFontList = NULL;
44wxPenList *wxThePenList = NULL;
45wxBrushList *wxTheBrushList = NULL;
46wxBitmapList *wxTheBitmapList = NULL;
47wxColourDatabase *wxTheColourDatabase = NULL;
48
49// Stock objects
50wxFont *wxNORMAL_FONT;
51wxFont *wxSMALL_FONT;
52wxFont *wxITALIC_FONT;
53wxFont *wxSWISS_FONT;
54
55wxPen *wxRED_PEN;
56wxPen *wxCYAN_PEN;
57wxPen *wxGREEN_PEN;
58wxPen *wxBLACK_PEN;
59wxPen *wxWHITE_PEN;
60wxPen *wxTRANSPARENT_PEN;
61wxPen *wxBLACK_DASHED_PEN;
62wxPen *wxGREY_PEN;
63wxPen *wxMEDIUM_GREY_PEN;
64wxPen *wxLIGHT_GREY_PEN;
65
66wxBrush *wxBLUE_BRUSH;
67wxBrush *wxGREEN_BRUSH;
68wxBrush *wxWHITE_BRUSH;
69wxBrush *wxBLACK_BRUSH;
70wxBrush *wxTRANSPARENT_BRUSH;
71wxBrush *wxCYAN_BRUSH;
72wxBrush *wxRED_BRUSH;
73wxBrush *wxGREY_BRUSH;
74wxBrush *wxMEDIUM_GREY_BRUSH;
75wxBrush *wxLIGHT_GREY_BRUSH;
76
77wxColour *wxBLACK;
78wxColour *wxWHITE;
79wxColour *wxRED;
80wxColour *wxBLUE;
81wxColour *wxGREEN;
82wxColour *wxCYAN;
83wxColour *wxLIGHT_GREY;
84
85wxCursor *wxSTANDARD_CURSOR = NULL;
86wxCursor *wxHOURGLASS_CURSOR = NULL;
87wxCursor *wxCROSS_CURSOR = NULL;
88
89// 'Null' objects
90#if wxUSE_ACCEL
91wxAcceleratorTable wxNullAcceleratorTable;
92#endif // wxUSE_ACCEL
93
94wxBitmap wxNullBitmap;
95wxIcon wxNullIcon;
96wxCursor wxNullCursor;
97wxPen wxNullPen;
98wxBrush wxNullBrush;
99wxPalette wxNullPalette;
100wxFont wxNullFont;
101wxColour wxNullColour;
102
103// Default window names
104const wxChar *wxControlNameStr = wxT("control");
105const wxChar *wxButtonNameStr = wxT("button");
106const wxChar *wxCanvasNameStr = wxT("canvas");
107const wxChar *wxCheckBoxNameStr = wxT("check");
108const wxChar *wxChoiceNameStr = wxT("choice");
109const wxChar *wxComboBoxNameStr = wxT("comboBox");
110const wxChar *wxDialogNameStr = wxT("dialog");
111const wxChar *wxFrameNameStr = wxT("frame");
112const wxChar *wxGaugeNameStr = wxT("gauge");
113const wxChar *wxStaticBoxNameStr = wxT("groupBox");
114const wxChar *wxListBoxNameStr = wxT("listBox");
115const wxChar *wxStaticTextNameStr = wxT("message");
116const wxChar *wxStaticBitmapNameStr = wxT("message");
117const wxChar *wxMultiTextNameStr = wxT("multitext");
118const wxChar *wxPanelNameStr = wxT("panel");
119const wxChar *wxRadioBoxNameStr = wxT("radioBox");
120const wxChar *wxRadioButtonNameStr = wxT("radioButton");
121const wxChar *wxBitmapRadioButtonNameStr = wxT("radioButton");
122const wxChar *wxScrollBarNameStr = wxT("scrollBar");
123const wxChar *wxSliderNameStr = wxT("slider");
124const wxChar *wxStaticNameStr = wxT("static");
125const wxChar *wxTextCtrlWindowNameStr = wxT("textWindow");
126const wxChar *wxTextCtrlNameStr = wxT("text");
127const wxChar *wxVirtListBoxNameStr = wxT("virtListBox");
128const wxChar *wxButtonBarNameStr = wxT("buttonbar");
129const wxChar *wxEnhDialogNameStr = wxT("Shell");
130const wxChar *wxToolBarNameStr = wxT("toolbar");
131const wxChar *wxStatusLineNameStr = wxT("status_line");
132const wxChar *wxGetTextFromUserPromptStr = wxT("Input Text");
133const wxChar *wxMessageBoxCaptionStr = wxT("Message");
134const wxChar *wxFileSelectorPromptStr = wxT("Select a file");
135const wxChar *wxFileSelectorDefaultWildcardStr = wxT("*.*");
136const wxChar *wxInternalErrorStr = wxT("wxWindows Internal Error");
137const wxChar *wxFatalErrorStr = wxT("wxWindows Fatal Error");
138const wxChar *wxTreeCtrlNameStr = wxT("treeCtrl");
139const wxChar *wxDirDialogNameStr = wxT("wxDirCtrl");
140const wxChar *wxDirDialogDefaultFolderStr = wxT("/");
141
142// See wx/utils.h
143const wxChar *wxFloatToStringStr = wxT("%.2f");
144const wxChar *wxDoubleToStringStr = wxT("%.2f");
145
146#ifdef __WXMSW__
147const wxChar *wxUserResourceStr = wxT("TEXT");
148#endif
149
150
151const wxSize wxDefaultSize(-1, -1);
152const wxPoint wxDefaultPosition(-1, -1);