]> git.saurik.com Git - wxWidgets.git/blame - include/wx/stattext.h
Fix for wxTextCtrl::GetSelection for singel line controls in GTK2 mode
[wxWidgets.git] / include / wx / stattext.h
CommitLineData
34138703
JS
1#ifndef _WX_STATTEXT_H_BASE_
2#define _WX_STATTEXT_H_BASE_
c801d85f 3
1e6feb95
VZ
4#if wxUSE_STATTEXT
5
6#include "wx/control.h"
7
403aced8 8WXDLLEXPORT_DATA(extern const wxChar*) wxStaticTextNameStr;
1e6feb95
VZ
9
10class WXDLLEXPORT wxStaticTextBase : public wxControl
11{
12public:
fc7a2a60
VZ
13 wxStaticTextBase() { }
14
15 // overriden base cirtuals
1e6feb95 16 virtual bool AcceptsFocus() const { return FALSE; }
fc7a2a60
VZ
17
18private:
19 DECLARE_NO_COPY_CLASS(wxStaticTextBase)
1e6feb95
VZ
20};
21
22#if defined(__WXUNIVERSAL__)
23 #include "wx/univ/stattext.h"
24#elif defined(__WXMSW__)
25 #include "wx/msw/stattext.h"
2049ba38 26#elif defined(__WXMOTIF__)
1e6feb95 27 #include "wx/motif/stattext.h"
2049ba38 28#elif defined(__WXGTK__)
1e6feb95 29 #include "wx/gtk/stattext.h"
34138703 30#elif defined(__WXMAC__)
1e6feb95 31 #include "wx/mac/stattext.h"
e64df9bc
DE
32#elif defined(__WXCOCOA__)
33 #include "wx/cocoa/stattext.h"
1777b9bb 34#elif defined(__WXPM__)
1e6feb95 35 #include "wx/os2/stattext.h"
c801d85f
KB
36#endif
37
1e6feb95
VZ
38#endif // wxUSE_STATTEXT
39
c801d85f 40#endif
34138703 41 // _WX_STATTEXT_H_BASE_