]> git.saurik.com Git - wxWidgets.git/blame - include/wx/palmos/statbox.h
more tweaks to drop down arrow drawing (Andreas Pflug)
[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
15#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
16 #pragma interface "statbox.h"
17#endif
18
19// Group box
20class WXDLLEXPORT wxStaticBox : public wxStaticBoxBase
21{
22public:
23 wxStaticBox() { }
24
25 wxStaticBox(wxWindow *parent, wxWindowID id,
26 const wxString& label,
27 const wxPoint& pos = wxDefaultPosition,
28 const wxSize& size = wxDefaultSize,
29 long style = 0,
30 const wxString& name = wxStaticBoxNameStr)
31 {
32 Create(parent, id, label, pos, size, style, name);
33 }
34
35 bool Create(wxWindow *parent, wxWindowID id,
36 const wxString& label,
37 const wxPoint& pos = wxDefaultPosition,
38 const wxSize& size = wxDefaultSize,
39 long style = 0,
40 const wxString& name = wxStaticBoxNameStr);
41
42 // implementation from now on
43 // --------------------------
44
45 virtual WXLRESULT MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam);
46
47 // overriden base class virtuals
48 virtual bool AcceptsFocus() const { return FALSE; }
49
50protected:
51 virtual wxSize DoGetBestSize() const;
52
53private:
54 DECLARE_DYNAMIC_CLASS_NO_COPY(wxStaticBox)
55};
56
57#endif
58 // _WX_STATBOX_H_