1998-09-18 06:19:10 -04:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
2006-07-25 10:31:55 -04:00
|
|
|
// Name: wx/motif/statbox.h
|
1998-09-18 06:19:10 -04:00
|
|
|
// Purpose: wxStaticBox class
|
|
|
|
// Author: Julian Smart
|
|
|
|
// Modified by:
|
|
|
|
// Created: 17/09/98
|
|
|
|
// RCS-ID: $Id$
|
|
|
|
// Copyright: (c) Julian Smart
|
2004-05-23 16:53:33 -04:00
|
|
|
// Licence: wxWindows licence
|
1998-09-18 06:19:10 -04:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef _WX_STATBOX_H_
|
|
|
|
#define _WX_STATBOX_H_
|
|
|
|
|
|
|
|
// Group box
|
2008-03-26 11:06:00 -04:00
|
|
|
class WXDLLIMPEXP_CORE wxStaticBox: public wxStaticBoxBase
|
1998-09-18 06:19:10 -04:00
|
|
|
{
|
2002-02-05 11:34:33 -05:00
|
|
|
DECLARE_DYNAMIC_CLASS(wxStaticBox)
|
2006-07-25 10:31:55 -04:00
|
|
|
|
1999-02-22 06:01:13 -05:00
|
|
|
public:
|
|
|
|
wxStaticBox();
|
|
|
|
wxStaticBox(wxWindow *parent, wxWindowID id,
|
2002-02-05 11:34:33 -05:00
|
|
|
const wxString& label,
|
|
|
|
const wxPoint& pos = wxDefaultPosition,
|
|
|
|
const wxSize& size = wxDefaultSize,
|
|
|
|
long style = 0,
|
|
|
|
const wxString& name = wxStaticBoxNameStr)
|
1999-02-22 06:01:13 -05:00
|
|
|
{
|
|
|
|
Create(parent, id, label, pos, size, style, name);
|
|
|
|
}
|
2003-03-02 15:08:45 -05:00
|
|
|
|
2006-09-05 16:47:48 -04:00
|
|
|
virtual ~wxStaticBox();
|
2006-07-25 10:31:55 -04:00
|
|
|
|
1999-02-22 06:01:13 -05:00
|
|
|
bool Create(wxWindow *parent, wxWindowID id,
|
2002-02-05 11:34:33 -05:00
|
|
|
const wxString& label,
|
|
|
|
const wxPoint& pos = wxDefaultPosition,
|
|
|
|
const wxSize& size = wxDefaultSize,
|
|
|
|
long style = 0,
|
|
|
|
const wxString& name = wxStaticBoxNameStr);
|
2006-07-25 10:31:55 -04:00
|
|
|
|
1999-07-23 17:03:02 -04:00
|
|
|
virtual bool ProcessCommand(wxCommandEvent& WXUNUSED(event))
|
|
|
|
{
|
2005-02-06 12:38:33 -05:00
|
|
|
return false;
|
1999-07-23 17:03:02 -04:00
|
|
|
}
|
2003-03-02 15:08:45 -05:00
|
|
|
|
|
|
|
virtual WXWidget GetLabelWidget() const { return m_labelWidget; }
|
|
|
|
|
|
|
|
virtual void SetLabel(const wxString& label);
|
2005-08-28 04:07:34 -04:00
|
|
|
virtual void GetBordersForSizer(int *borderTop, int *borderOther) const;
|
2003-03-02 15:08:45 -05:00
|
|
|
|
|
|
|
private:
|
1999-02-22 06:01:13 -05:00
|
|
|
WXWidget m_labelWidget;
|
2006-07-25 10:31:55 -04:00
|
|
|
|
1999-02-22 06:01:13 -05:00
|
|
|
private:
|
|
|
|
DECLARE_EVENT_TABLE()
|
1998-09-18 06:19:10 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
2002-02-05 11:34:33 -05:00
|
|
|
// _WX_STATBOX_H_
|