]> git.saurik.com Git - wxWidgets.git/blame - include/wx/palmos/stattext.h
Made wxBORDER_THEME the same as wxBORDER_DEFAULT
[wxWidgets.git] / include / wx / palmos / stattext.h
CommitLineData
ffecfa5a
JS
1/////////////////////////////////////////////////////////////////////////////
2// Name: wx/palmos/stattext.h
3// Purpose: wxStaticText class
e1d63b79 4// Author: William Osborne - minimal working wxPalmOS port
a152561c 5// Modified by: Wlodzimierz ABX Skiba - native wxStaticText implementation
ffecfa5a 6// Created: 10/13/04
e1d63b79 7// RCS-ID: $Id$
a152561c 8// Copyright: (c) William Osborne, Wlodzimierz Skiba
ffecfa5a
JS
9// Licence: wxWindows licence
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef _WX_STATTEXT_H_
13#define _WX_STATTEXT_H_
14
ffecfa5a
JS
15class WXDLLEXPORT wxStaticText : public wxStaticTextBase
16{
17public:
18 wxStaticText() { }
19
20 wxStaticText(wxWindow *parent,
21 wxWindowID id,
22 const wxString& label,
23 const wxPoint& pos = wxDefaultPosition,
24 const wxSize& size = wxDefaultSize,
25 long style = 0,
26 const wxString& name = wxStaticTextNameStr)
27 {
28 Create(parent, id, label, pos, size, style, name);
29 }
30
31 bool Create(wxWindow *parent,
32 wxWindowID id,
33 const wxString& label,
34 const wxPoint& pos = wxDefaultPosition,
35 const wxSize& size = wxDefaultSize,
36 long style = 0,
37 const wxString& name = wxStaticTextNameStr);
38
39 // override some methods to resize the window properly
ffecfa5a
JS
40 virtual bool SetFont( const wxFont &font );
41
42protected:
43 // implement/override some base class virtuals
44 virtual wxBorder GetDefaultBorder() const;
ffecfa5a 45 virtual wxSize DoGetBestSize() const;
ffecfa5a
JS
46
47 DECLARE_DYNAMIC_CLASS_NO_COPY(wxStaticText)
48};
49
50#endif
51 // _WX_STATTEXT_H_