]> git.saurik.com Git - wxWidgets.git/blame - include/wx/palmos/statbox.h
refactor wxGTK mnemonics conversion functions in a separate file to be able to reuse...
[wxWidgets.git] / include / wx / palmos / statbox.h
CommitLineData
ffecfa5a 1/////////////////////////////////////////////////////////////////////////////
e1d63b79 2// Name: wx/palmos/statbox.h
ffecfa5a 3// Purpose: wxStaticBox class
e1d63b79 4// Author: William Osborne - minimal working wxPalmOS port
ffecfa5a
JS
5// Modified by:
6// Created: 10/13/04
e1d63b79 7// RCS-ID: $Id$
ffecfa5a
JS
8// Copyright: (c) William Osborne
9// Licence: wxWindows licence
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef _WX_STATBOX_H_
13#define _WX_STATBOX_H_
14
ffecfa5a
JS
15// Group box
16class WXDLLEXPORT wxStaticBox : public wxStaticBoxBase
17{
18public:
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
46protected:
47 virtual wxSize DoGetBestSize() const;
48
49private:
50 DECLARE_DYNAMIC_CLASS_NO_COPY(wxStaticBox)
51};
52
53#endif
54 // _WX_STATBOX_H_