/[pcsx2_0.9.7]/branch/r3113_0.9.7_beta/3rdparty/wxWidgets/include/wx/stattext.h
ViewVC logotype

Contents of /branch/r3113_0.9.7_beta/3rdparty/wxWidgets/include/wx/stattext.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 32 - (show annotations) (download)
Tue Sep 7 03:29:01 2010 UTC (9 years, 5 months ago) by william
File MIME type: text/plain
File size: 1940 byte(s)
branching from upstream revision (http://pcsx2.googlecode.com/svn/trunk
): r3113 to
https://svn.netsolutions.dnsalias.com/websvn/ps2/pcsx2/pcsx2_0.9.7/branch/r3113_0.9.7_beta
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: stattext.h
3 // Purpose: wxStaticText base header
4 // Author: Julian Smart
5 // Modified by:
6 // Created:
7 // Copyright: (c) Julian Smart
8 // RCS-ID: $Id: stattext.h 37066 2006-01-23 03:27:34Z MR $
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifndef _WX_STATTEXT_H_BASE_
13 #define _WX_STATTEXT_H_BASE_
14
15 #include "wx/defs.h"
16
17 #if wxUSE_STATTEXT
18
19 #include "wx/control.h"
20
21 extern WXDLLEXPORT_DATA(const wxChar) wxStaticTextNameStr[];
22
23 class WXDLLEXPORT wxStaticTextBase : public wxControl
24 {
25 public:
26 wxStaticTextBase() { }
27
28 // in wxGTK wxStaticText doesn't derive from wxStaticTextBase so we have to
29 // declare this function directly in gtk header
30 #if !defined(__WXGTK__) || defined(__WXUNIVERSAL__)
31 // wrap the text of the control so that no line is longer than the given
32 // width (if possible: this function won't break words)
33 //
34 // NB: implemented in dlgcmn.cpp for now
35 void Wrap(int width);
36 #endif // ! native __WXGTK__
37
38 // overriden base virtuals
39 virtual bool AcceptsFocus() const { return false; }
40 virtual bool HasTransparentBackground() { return true; }
41
42 private:
43 DECLARE_NO_COPY_CLASS(wxStaticTextBase)
44 };
45
46 #if defined(__WXUNIVERSAL__)
47 #include "wx/univ/stattext.h"
48 #elif defined(__WXMSW__)
49 #include "wx/msw/stattext.h"
50 #elif defined(__WXMOTIF__)
51 #include "wx/motif/stattext.h"
52 #elif defined(__WXGTK20__)
53 #include "wx/gtk/stattext.h"
54 #elif defined(__WXGTK__)
55 #include "wx/gtk1/stattext.h"
56 #elif defined(__WXMAC__)
57 #include "wx/mac/stattext.h"
58 #elif defined(__WXCOCOA__)
59 #include "wx/cocoa/stattext.h"
60 #elif defined(__WXPM__)
61 #include "wx/os2/stattext.h"
62 #elif defined(__WXPALMOS__)
63 #include "wx/palmos/stattext.h"
64 #endif
65
66 #endif // wxUSE_STATTEXT
67
68 #endif
69 // _WX_STATTEXT_H_BASE_

  ViewVC Help
Powered by ViewVC 1.1.22