]> git.saurik.com Git - wxWidgets.git/blob - include/wx/palmos/statbox.h
Added the missing DLL export declaration for wxNumericPropertyValidator
[wxWidgets.git] / include / wx / palmos / statbox.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/palmos/statbox.h
3 // Purpose: wxStaticBox class
4 // Author: William Osborne - minimal working wxPalmOS port
5 // Modified by:
6 // Created: 10/13/04
7 // RCS-ID: $Id$
8 // Copyright: (c) William Osborne
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifndef _WX_STATBOX_H_
13 #define _WX_STATBOX_H_
14
15 // Group box
16 class WXDLLIMPEXP_CORE wxStaticBox : public wxStaticBoxBase
17 {
18 public:
19 wxStaticBox() { }
20
21 wxStaticBox(wxWindow *parent, wxWindowID id,
22 const wxString& label,
23 const wxPoint& pos = wxDefaultPosition,
24 const wxSize& size = wxDefaultSize,
25 long style = 0,
26 const wxString& name = wxStaticBoxNameStr)
27 {
28 Create(parent, id, label, pos, size, style, name);
29 }
30
31 bool Create(wxWindow *parent, wxWindowID id,
32 const wxString& label,
33 const wxPoint& pos = wxDefaultPosition,
34 const wxSize& size = wxDefaultSize,
35 long style = 0,
36 const wxString& name = wxStaticBoxNameStr);
37
38 // implementation from now on
39 // --------------------------
40
41 virtual WXLRESULT MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam);
42
43 // overriden base class virtuals
44 virtual bool AcceptsFocus() const { return FALSE; }
45
46 protected:
47 virtual wxSize DoGetBestSize() const;
48
49 private:
50 DECLARE_DYNAMIC_CLASS_NO_COPY(wxStaticBox)
51 };
52
53 #endif
54 // _WX_STATBOX_H_