1998-05-20 14:12:05 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: statbox.h
|
|
|
|
// Purpose: wxStaticBox class
|
|
|
|
// Author: Julian Smart
|
|
|
|
// Modified by:
|
|
|
|
// Created: 01/02/97
|
|
|
|
// RCS-ID: $Id$
|
1998-08-07 23:52:45 +00:00
|
|
|
// Copyright: (c) Julian Smart
|
2004-05-23 20:53:33 +00:00
|
|
|
// Licence: wxWindows licence
|
1998-05-20 14:12:05 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2005-01-15 17:10:34 +00:00
|
|
|
#ifndef _WX_MSW_STATBOX_H_
|
|
|
|
#define _WX_MSW_STATBOX_H_
|
1998-05-20 14:12:05 +00:00
|
|
|
|
2003-08-09 12:38:21 +00:00
|
|
|
#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
|
1999-11-15 01:19:46 +00:00
|
|
|
#pragma interface "statbox.h"
|
1998-05-20 14:12:05 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
// Group box
|
2001-06-26 20:59:19 +00:00
|
|
|
class WXDLLEXPORT wxStaticBox : public wxStaticBoxBase
|
1998-05-20 14:12:05 +00:00
|
|
|
{
|
1999-01-31 23:30:33 +00:00
|
|
|
public:
|
1999-02-22 11:01:13 +00:00
|
|
|
wxStaticBox() { }
|
1998-05-20 14:12:05 +00:00
|
|
|
|
1999-01-31 23:30:33 +00:00
|
|
|
wxStaticBox(wxWindow *parent, wxWindowID id,
|
1999-07-22 23:39:47 +00:00
|
|
|
const wxString& label,
|
|
|
|
const wxPoint& pos = wxDefaultPosition,
|
|
|
|
const wxSize& size = wxDefaultSize,
|
|
|
|
long style = 0,
|
|
|
|
const wxString& name = wxStaticBoxNameStr)
|
1999-01-31 23:30:33 +00:00
|
|
|
{
|
|
|
|
Create(parent, id, label, pos, size, style, name);
|
|
|
|
}
|
1999-07-02 22:02:05 +00:00
|
|
|
|
1999-01-31 23:30:33 +00:00
|
|
|
bool Create(wxWindow *parent, wxWindowID id,
|
1999-07-22 23:39:47 +00:00
|
|
|
const wxString& label,
|
|
|
|
const wxPoint& pos = wxDefaultPosition,
|
|
|
|
const wxSize& size = wxDefaultSize,
|
|
|
|
long style = 0,
|
|
|
|
const wxString& name = wxStaticBoxNameStr);
|
1999-07-02 22:02:05 +00:00
|
|
|
|
1999-02-22 11:01:13 +00:00
|
|
|
protected:
|
1999-11-19 21:01:20 +00:00
|
|
|
virtual wxSize DoGetBestSize() const;
|
2001-06-26 20:59:19 +00:00
|
|
|
|
2005-01-15 17:10:34 +00:00
|
|
|
virtual WXDWORD MSWGetStyle(long style, WXDWORD *exstyle) const;
|
2004-12-13 00:12:37 +00:00
|
|
|
virtual WXHBRUSH MSWGetBgBrushForSelf(wxWindow *parent, WXHDC hDC);
|
|
|
|
|
2005-01-15 17:10:34 +00:00
|
|
|
|
2003-07-22 00:24:07 +00:00
|
|
|
DECLARE_DYNAMIC_CLASS_NO_COPY(wxStaticBox)
|
1998-05-20 14:12:05 +00:00
|
|
|
};
|
|
|
|
|
2005-01-15 17:10:34 +00:00
|
|
|
#endif // _WX_MSW_STATBOX_H_
|
|
|
|
|