]>
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 |
f36e602b VZ |
42 | extern WXDLLEXPORT_DATA(const char) wxButtonNameStr[] = "button"; |
43 | extern WXDLLEXPORT_DATA(const char) wxCheckBoxNameStr[] = "check"; | |
44 | extern WXDLLEXPORT_DATA(const char) wxComboBoxNameStr[] = "comboBox"; | |
45 | extern WXDLLEXPORT_DATA(const char) wxDialogNameStr[] = "dialog"; | |
46 | extern WXDLLEXPORT_DATA(const char) wxFrameNameStr[] = "frame"; | |
47 | extern WXDLLEXPORT_DATA(const char) wxStaticBoxNameStr[] = "groupBox"; | |
48 | extern WXDLLEXPORT_DATA(const char) wxListBoxNameStr[] = "listBox"; | |
49 | extern WXDLLEXPORT_DATA(const char) wxStaticLineNameStr[] = "staticLine"; | |
50 | extern WXDLLEXPORT_DATA(const char) wxStaticTextNameStr[] = "staticText"; | |
51 | extern WXDLLEXPORT_DATA(const char) wxStaticBitmapNameStr[] = "staticBitmap"; | |
52 | extern WXDLLEXPORT_DATA(const char) wxNotebookNameStr[] = "notebook"; | |
53 | extern WXDLLEXPORT_DATA(const char) wxPanelNameStr[] = "panel"; | |
54 | extern WXDLLEXPORT_DATA(const char) wxRadioBoxNameStr[] = "radioBox"; | |
55 | extern WXDLLEXPORT_DATA(const char) wxRadioButtonNameStr[] = "radioButton"; | |
56 | extern WXDLLEXPORT_DATA(const char) wxBitmapRadioButtonNameStr[] = "radioButton"; | |
57 | extern WXDLLEXPORT_DATA(const char) wxScrollBarNameStr[] = "scrollBar"; | |
58 | extern WXDLLEXPORT_DATA(const char) wxSliderNameStr[] = "slider"; | |
59 | extern WXDLLEXPORT_DATA(const char) wxStatusLineNameStr[] = "status_line"; | |
60 | extern WXDLLEXPORT_DATA(const char) wxTextCtrlNameStr[] = "text"; | |
61 | extern WXDLLEXPORT_DATA(const char) wxTreeCtrlNameStr[] = "treeCtrl"; | |
62 | extern WXDLLEXPORT_DATA(const char) wxToolBarNameStr[] = "toolbar"; | |
630ad6c6 WS |
63 | |
64 | // Default messages | |
f36e602b VZ |
65 | extern WXDLLEXPORT_DATA(const char) wxMessageBoxCaptionStr[] = "Message"; |
66 | extern WXDLLEXPORT_DATA(const char) wxFileSelectorPromptStr[] = "Select a file"; | |
67 | extern WXDLLEXPORT_DATA(const char) wxDirSelectorPromptStr[] = "Select a directory"; | |
630ad6c6 WS |
68 | |
69 | // Other default strings | |
f36e602b | 70 | extern WXDLLEXPORT_DATA(const char) wxFileSelectorDefaultWildcardStr[] = |
554fdf48 | 71 | #if defined(__WXMSW__) || defined(__OS2__) |
f36e602b | 72 | "*.*" |
6a76384f | 73 | #else // Unix/Mac |
f36e602b | 74 | "*" |
6a76384f VZ |
75 | #endif |
76 | ; | |
f36e602b VZ |
77 | extern WXDLLEXPORT_DATA(const char) wxDirDialogNameStr[] = "wxDirCtrl"; |
78 | extern WXDLLEXPORT_DATA(const char) wxDirDialogDefaultFolderStr[] = "/"; | |
6a76384f | 79 | |
f36e602b | 80 | extern WXDLLEXPORT_DATA(const char) wxFileDialogNameStr[] = "filedlg"; |