]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/palmos/statbox.h
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxStaticBox class
4 // Author: William Osborne
8 // Copyright: (c) William Osborne
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_STATBOX_H_
13 #define _WX_STATBOX_H_
15 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
16 #pragma interface "statbox.h"
20 class WXDLLEXPORT wxStaticBox
: public wxStaticBoxBase
25 wxStaticBox(wxWindow
*parent
, wxWindowID id
,
26 const wxString
& label
,
27 const wxPoint
& pos
= wxDefaultPosition
,
28 const wxSize
& size
= wxDefaultSize
,
30 const wxString
& name
= wxStaticBoxNameStr
)
32 Create(parent
, id
, label
, pos
, size
, style
, name
);
35 bool Create(wxWindow
*parent
, wxWindowID id
,
36 const wxString
& label
,
37 const wxPoint
& pos
= wxDefaultPosition
,
38 const wxSize
& size
= wxDefaultSize
,
40 const wxString
& name
= wxStaticBoxNameStr
);
42 // implementation from now on
43 // --------------------------
45 virtual WXLRESULT
MSWWindowProc(WXUINT nMsg
, WXWPARAM wParam
, WXLPARAM lParam
);
47 // overriden base class virtuals
48 virtual bool AcceptsFocus() const { return FALSE
; }
51 virtual wxSize
DoGetBestSize() const;
54 DECLARE_DYNAMIC_CLASS_NO_COPY(wxStaticBox
)