]> git.saurik.com Git - wxWidgets.git/blame - include/wx/stattext.h
Sorry, should be a __UNIX__ test
[wxWidgets.git] / include / wx / stattext.h
CommitLineData
2ecf902b
WS
1/////////////////////////////////////////////////////////////////////////////
2// Name: stattext.h
3// Purpose: wxStaticText base header
4// Author: wxWidgets Team
5// Modified by:
6// Created:
7// Copyright: (c) wxWidgets Team
8// RCS-ID: $Id$
9// Licence: wxWindows licence
10/////////////////////////////////////////////////////////////////////////////
11
34138703
JS
12#ifndef _WX_STATTEXT_H_BASE_
13#define _WX_STATTEXT_H_BASE_
c801d85f 14
2ecf902b
WS
15#include "wx/defs.h"
16
1e6feb95
VZ
17#if wxUSE_STATTEXT
18
19#include "wx/control.h"
20
16cba29d 21extern WXDLLEXPORT_DATA(const wxChar*) wxStaticTextNameStr;
1e6feb95
VZ
22
23class WXDLLEXPORT wxStaticTextBase : public wxControl
24{
25public:
fc7a2a60
VZ
26 wxStaticTextBase() { }
27
bd507486
RD
28 // overriden base virtuals
29 virtual bool AcceptsFocus() const { return false; }
7c7a653b 30 virtual bool HasTransparentBackground() { return true; }
fc7a2a60
VZ
31
32private:
33 DECLARE_NO_COPY_CLASS(wxStaticTextBase)
1e6feb95
VZ
34};
35
36#if defined(__WXUNIVERSAL__)
37 #include "wx/univ/stattext.h"
38#elif defined(__WXMSW__)
39 #include "wx/msw/stattext.h"
2049ba38 40#elif defined(__WXMOTIF__)
1e6feb95 41 #include "wx/motif/stattext.h"
2049ba38 42#elif defined(__WXGTK__)
1e6feb95 43 #include "wx/gtk/stattext.h"
34138703 44#elif defined(__WXMAC__)
1e6feb95 45 #include "wx/mac/stattext.h"
e64df9bc
DE
46#elif defined(__WXCOCOA__)
47 #include "wx/cocoa/stattext.h"
1777b9bb 48#elif defined(__WXPM__)
1e6feb95 49 #include "wx/os2/stattext.h"
a152561c
WS
50#elif defined(__WXPALMOS__)
51 #include "wx/palmos/stattext.h"
c801d85f
KB
52#endif
53
1e6feb95
VZ
54#endif // wxUSE_STATTEXT
55
c801d85f 56#endif
34138703 57 // _WX_STATTEXT_H_BASE_