]> git.saurik.com Git - wxWidgets.git/blame_incremental - src/common/datacmn.cpp
Minor header cleaning.
[wxWidgets.git] / src / common / datacmn.cpp
... / ...
CommitLineData
1///////////////////////////////////////////////////////////////////////////////
2// Name: common/datacmn.cpp
3// Purpose: contains definitions of various global wxWidgets variables
4// Author: Vadim Zeitlin
5// Modified by:
6// Created: 10.04.03 (from src/*/data.cpp files)
7// RCS-ID: $Id$
8// Copyright: (c) 1997-2002 wxWidgets development team
9// License: wxWindows license
10///////////////////////////////////////////////////////////////////////////////
11
12// ============================================================================
13// declarations
14// ============================================================================
15
16// ----------------------------------------------------------------------------
17// headers
18// ----------------------------------------------------------------------------
19
20// For compilers that support precompilation, includes "wx.h".
21#include "wx/wxprec.h"
22
23#ifdef __BORLANDC__
24 #pragma hdrstop
25#endif
26
27#ifndef WX_PRECOMP
28#endif // WX_PRECOMP
29
30#include "wx/accel.h"
31
32// ============================================================================
33// implementation
34// ============================================================================
35
36// 'Null' objects
37#if wxUSE_ACCEL
38wxAcceleratorTable wxNullAcceleratorTable;
39#endif // wxUSE_ACCEL
40
41// Default window names
42extern WXDLLEXPORT_DATA(const wxChar) wxButtonNameStr[] = wxT("button");
43extern WXDLLEXPORT_DATA(const wxChar) wxCheckBoxNameStr[] = wxT("check");
44extern WXDLLEXPORT_DATA(const wxChar) wxComboBoxNameStr[] = wxT("comboBox");
45extern WXDLLEXPORT_DATA(const wxChar) wxDialogNameStr[] = wxT("dialog");
46extern WXDLLEXPORT_DATA(const wxChar) wxFrameNameStr[] = wxT("frame");
47extern WXDLLEXPORT_DATA(const wxChar) wxStaticBoxNameStr[] = wxT("groupBox");
48extern WXDLLEXPORT_DATA(const wxChar) wxListBoxNameStr[] = wxT("listBox");
49extern WXDLLEXPORT_DATA(const wxChar) wxStaticTextNameStr[] = wxT("staticText");
50extern WXDLLEXPORT_DATA(const wxChar) wxStaticBitmapNameStr[] = wxT("staticBitmap");
51extern WXDLLEXPORT_DATA(const wxChar) wxNotebookNameStr[] = wxT("notebook");
52extern WXDLLEXPORT_DATA(const wxChar) wxPanelNameStr[] = wxT("panel");
53extern WXDLLEXPORT_DATA(const wxChar) wxRadioBoxNameStr[] = wxT("radioBox");
54extern WXDLLEXPORT_DATA(const wxChar) wxRadioButtonNameStr[] = wxT("radioButton");
55extern WXDLLEXPORT_DATA(const wxChar) wxBitmapRadioButtonNameStr[] = wxT("radioButton");
56extern WXDLLEXPORT_DATA(const wxChar) wxScrollBarNameStr[] = wxT("scrollBar");
57extern WXDLLEXPORT_DATA(const wxChar) wxSliderNameStr[] = wxT("slider");
58extern WXDLLEXPORT_DATA(const wxChar) wxStatusLineNameStr[] = wxT("status_line");
59extern WXDLLEXPORT_DATA(const wxChar) wxTextCtrlNameStr[] = wxT("text");
60extern WXDLLEXPORT_DATA(const wxChar) wxTreeCtrlNameStr[] = wxT("treeCtrl");
61extern WXDLLEXPORT_DATA(const wxChar) wxToolBarNameStr[] = wxT("toolbar");
62
63// Default messages
64extern WXDLLEXPORT_DATA(const wxChar) wxMessageBoxCaptionStr[] = wxT("Message");
65extern WXDLLEXPORT_DATA(const wxChar) wxFileSelectorPromptStr[] = wxT("Select a file");
66extern WXDLLEXPORT_DATA(const wxChar) wxDirSelectorPromptStr[] = wxT("Select a directory");
67
68// Other default strings
69extern WXDLLEXPORT_DATA(const wxChar) wxFileSelectorDefaultWildcardStr[] =
70#if defined(__WXMSW__) || defined(__OS2__)
71 wxT("*.*")
72#else // Unix/Mac
73 wxT("*")
74#endif
75 ;
76extern WXDLLEXPORT_DATA(const wxChar) wxDirDialogNameStr[] = wxT("wxDirCtrl");
77extern WXDLLEXPORT_DATA(const wxChar) wxDirDialogDefaultFolderStr[] = wxT("/");
78
79extern WXDLLEXPORT_DATA(const wxChar) wxFileDialogNameStr[] = wxT("filedlg");
80#if defined(__WXMSW__) || defined(__OS2__)
81WXDLLEXPORT_DATA(const wxChar *) wxUserResourceStr = wxT("TEXT");
82#endif