]>
Commit | Line | Data |
---|---|---|
6a76384f VZ |
1 | /////////////////////////////////////////////////////////////////////////////// |
2 | // Name: common/datacmn.cpp | |
77ffb593 | 3 | // Purpose: contains definitions of various global wxWidgets variables |
6a76384f VZ |
4 | // Author: Vadim Zeitlin |
5 | // Modified by: | |
6 | // Created: 10.04.03 (from src/*/data.cpp files) | |
7 | // RCS-ID: $Id$ | |
77ffb593 | 8 | // Copyright: (c) 1997-2002 wxWidgets development team |
0a53b9b8 | 9 | // License: wxWindows license |
6a76384f VZ |
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 | |
6a76384f VZ |
28 | #endif // WX_PRECOMP |
29 | ||
e7445ff8 PC |
30 | #include "wx/accel.h" |
31 | ||
6a76384f VZ |
32 | // ============================================================================ |
33 | // implementation | |
34 | // ============================================================================ | |
35 | ||
6a76384f VZ |
36 | // 'Null' objects |
37 | #if wxUSE_ACCEL | |
38 | wxAcceleratorTable wxNullAcceleratorTable; | |
39 | #endif // wxUSE_ACCEL | |
40 | ||
6a76384f | 41 | // Default window names |
63ec432b | 42 | extern WXDLLEXPORT_DATA(const wxChar) wxButtonNameStr[] = wxT("button"); |
63ec432b | 43 | extern WXDLLEXPORT_DATA(const wxChar) wxCheckBoxNameStr[] = wxT("check"); |
63ec432b MR |
44 | extern WXDLLEXPORT_DATA(const wxChar) wxComboBoxNameStr[] = wxT("comboBox"); |
45 | extern WXDLLEXPORT_DATA(const wxChar) wxDialogNameStr[] = wxT("dialog"); | |
46 | extern WXDLLEXPORT_DATA(const wxChar) wxFrameNameStr[] = wxT("frame"); | |
63ec432b MR |
47 | extern WXDLLEXPORT_DATA(const wxChar) wxStaticBoxNameStr[] = wxT("groupBox"); |
48 | extern WXDLLEXPORT_DATA(const wxChar) wxListBoxNameStr[] = wxT("listBox"); | |
63ec432b MR |
49 | extern WXDLLEXPORT_DATA(const wxChar) wxStaticTextNameStr[] = wxT("staticText"); |
50 | extern WXDLLEXPORT_DATA(const wxChar) wxStaticBitmapNameStr[] = wxT("staticBitmap"); | |
63ec432b MR |
51 | extern WXDLLEXPORT_DATA(const wxChar) wxNotebookNameStr[] = wxT("notebook"); |
52 | extern WXDLLEXPORT_DATA(const wxChar) wxPanelNameStr[] = wxT("panel"); | |
53 | extern WXDLLEXPORT_DATA(const wxChar) wxRadioBoxNameStr[] = wxT("radioBox"); | |
54 | extern WXDLLEXPORT_DATA(const wxChar) wxRadioButtonNameStr[] = wxT("radioButton"); | |
55 | extern WXDLLEXPORT_DATA(const wxChar) wxBitmapRadioButtonNameStr[] = wxT("radioButton"); | |
56 | extern WXDLLEXPORT_DATA(const wxChar) wxScrollBarNameStr[] = wxT("scrollBar"); | |
57 | extern WXDLLEXPORT_DATA(const wxChar) wxSliderNameStr[] = wxT("slider"); | |
63ec432b | 58 | extern WXDLLEXPORT_DATA(const wxChar) wxStatusLineNameStr[] = wxT("status_line"); |
63ec432b MR |
59 | extern WXDLLEXPORT_DATA(const wxChar) wxTextCtrlNameStr[] = wxT("text"); |
60 | extern WXDLLEXPORT_DATA(const wxChar) wxTreeCtrlNameStr[] = wxT("treeCtrl"); | |
63ec432b | 61 | extern WXDLLEXPORT_DATA(const wxChar) wxToolBarNameStr[] = wxT("toolbar"); |
630ad6c6 WS |
62 | |
63 | // Default messages | |
63ec432b MR |
64 | extern WXDLLEXPORT_DATA(const wxChar) wxMessageBoxCaptionStr[] = wxT("Message"); |
65 | extern WXDLLEXPORT_DATA(const wxChar) wxFileSelectorPromptStr[] = wxT("Select a file"); | |
efe0d228 | 66 | extern WXDLLEXPORT_DATA(const wxChar) wxDirSelectorPromptStr[] = wxT("Select a directory"); |
630ad6c6 WS |
67 | |
68 | // Other default strings | |
63ec432b | 69 | extern WXDLLEXPORT_DATA(const wxChar) wxFileSelectorDefaultWildcardStr[] = |
554fdf48 | 70 | #if defined(__WXMSW__) || defined(__OS2__) |
6a76384f VZ |
71 | wxT("*.*") |
72 | #else // Unix/Mac | |
73 | wxT("*") | |
74 | #endif | |
75 | ; | |
63ec432b MR |
76 | extern WXDLLEXPORT_DATA(const wxChar) wxDirDialogNameStr[] = wxT("wxDirCtrl"); |
77 | extern WXDLLEXPORT_DATA(const wxChar) wxDirDialogDefaultFolderStr[] = wxT("/"); | |
6a76384f | 78 | |
ff3e84ff | 79 | extern WXDLLEXPORT_DATA(const wxChar) wxFileDialogNameStr[] = wxT("filedlg"); |
554fdf48 | 80 | #if defined(__WXMSW__) || defined(__OS2__) |
6a76384f VZ |
81 | WXDLLEXPORT_DATA(const wxChar *) wxUserResourceStr = wxT("TEXT"); |
82 | #endif | |
ec376c8f VZ |
83 | extern WXDLLEXPORT_DATA(const wxChar) wxColourPickerCtrlNameStr[] = wxT("colourpicker"); |
84 | extern WXDLLEXPORT_DATA(const wxChar) wxColourPickerWidgetNameStr[] = wxT("colourpickerwidget"); | |
85 | extern WXDLLEXPORT_DATA(const wxChar) wxFontPickerCtrlNameStr[] = wxT("fontpicker"); | |
86 | extern WXDLLEXPORT_DATA(const wxChar) wxFontPickerWidgetNameStr[] = wxT("fontpickerwidget"); | |
87 | extern WXDLLEXPORT_DATA(const wxChar) wxFilePickerCtrlNameStr[] = wxT("filepicker"); | |
88 | extern WXDLLEXPORT_DATA(const wxChar) wxFilePickerWidgetNameStr[] = wxT("filepickerwidget"); | |
89 | extern WXDLLEXPORT_DATA(const wxChar) wxDirPickerCtrlNameStr[] = wxT("dirpicker"); | |
90 | extern WXDLLEXPORT_DATA(const wxChar) wxDirPickerWidgetNameStr[] = wxT("dirpickerwidget"); | |
91 | extern WXDLLEXPORT_DATA(const wxChar) wxFilePickerWidgetLabel[] = wxT("Browse"); | |
92 | extern WXDLLEXPORT_DATA(const wxChar) wxDirPickerWidgetLabel[] = wxT("Browse"); | |
93 |