]> git.saurik.com Git - wxWidgets.git/blame_incremental - src/common/datacmn.cpp
no real change; just reordered some implementations before real commit
[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 char) wxButtonNameStr[] = "button";
43extern WXDLLEXPORT_DATA(const char) wxCheckBoxNameStr[] = "check";
44extern WXDLLEXPORT_DATA(const char) wxComboBoxNameStr[] = "comboBox";
45extern WXDLLEXPORT_DATA(const char) wxDialogNameStr[] = "dialog";
46extern WXDLLEXPORT_DATA(const char) wxFrameNameStr[] = "frame";
47extern WXDLLEXPORT_DATA(const char) wxStaticBoxNameStr[] = "groupBox";
48extern WXDLLEXPORT_DATA(const char) wxListBoxNameStr[] = "listBox";
49extern WXDLLEXPORT_DATA(const char) wxStaticLineNameStr[] = "staticLine";
50extern WXDLLEXPORT_DATA(const char) wxStaticTextNameStr[] = "staticText";
51extern WXDLLEXPORT_DATA(const char) wxStaticBitmapNameStr[] = "staticBitmap";
52extern WXDLLEXPORT_DATA(const char) wxNotebookNameStr[] = "notebook";
53extern WXDLLEXPORT_DATA(const char) wxPanelNameStr[] = "panel";
54extern WXDLLEXPORT_DATA(const char) wxRadioBoxNameStr[] = "radioBox";
55extern WXDLLEXPORT_DATA(const char) wxRadioButtonNameStr[] = "radioButton";
56extern WXDLLEXPORT_DATA(const char) wxBitmapRadioButtonNameStr[] = "radioButton";
57extern WXDLLEXPORT_DATA(const char) wxScrollBarNameStr[] = "scrollBar";
58extern WXDLLEXPORT_DATA(const char) wxSliderNameStr[] = "slider";
59extern WXDLLEXPORT_DATA(const char) wxStatusLineNameStr[] = "status_line";
60extern WXDLLEXPORT_DATA(const char) wxTextCtrlNameStr[] = "text";
61extern WXDLLEXPORT_DATA(const char) wxTreeCtrlNameStr[] = "treeCtrl";
62extern WXDLLEXPORT_DATA(const char) wxToolBarNameStr[] = "toolbar";
63
64// Default messages
65extern WXDLLEXPORT_DATA(const char) wxMessageBoxCaptionStr[] = "Message";
66extern WXDLLEXPORT_DATA(const char) wxFileSelectorPromptStr[] = "Select a file";
67extern WXDLLEXPORT_DATA(const char) wxDirSelectorPromptStr[] = "Select a directory";
68
69// Other default strings
70extern WXDLLEXPORT_DATA(const char) wxFileSelectorDefaultWildcardStr[] =
71#if defined(__WXMSW__) || defined(__OS2__)
72 "*.*"
73#else // Unix/Mac
74 "*"
75#endif
76 ;
77extern WXDLLEXPORT_DATA(const char) wxDirDialogNameStr[] = "wxDirCtrl";
78extern WXDLLEXPORT_DATA(const char) wxDirDialogDefaultFolderStr[] = "/";
79
80extern WXDLLEXPORT_DATA(const char) wxFileDialogNameStr[] = "filedlg";
81#if defined(__WXMSW__) || defined(__OS2__)
82WXDLLEXPORT_DATA(const wxChar *) wxUserResourceStr = wxT("TEXT");
83#endif