1998-05-20 14:01:55 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
2001-06-26 20:59:19 +00:00
|
|
|
// Name: wx/gtk/stabox.h
|
1998-05-20 14:01:55 +00:00
|
|
|
// Purpose:
|
|
|
|
// Author: Robert Roebling
|
1998-10-29 18:03:18 +00:00
|
|
|
// Id: $Id$
|
|
|
|
// Copyright: (c) 1998 Robert Roebling
|
2004-05-23 20:53:33 +00:00
|
|
|
// Licence: wxWindows licence
|
1998-05-20 14:01:55 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef __GTKSTATICBOXH__
|
|
|
|
#define __GTKSTATICBOXH__
|
|
|
|
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
// wxStaticBox
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
2005-08-02 22:58:06 +00:00
|
|
|
class WXDLLIMPEXP_CORE wxStaticBox : public wxStaticBoxBase
|
1998-05-20 14:01:55 +00:00
|
|
|
{
|
2001-06-26 20:59:19 +00:00
|
|
|
public:
|
|
|
|
wxStaticBox();
|
|
|
|
wxStaticBox( wxWindow *parent,
|
|
|
|
wxWindowID id,
|
|
|
|
const wxString &label,
|
|
|
|
const wxPoint &pos = wxDefaultPosition,
|
|
|
|
const wxSize &size = wxDefaultSize,
|
|
|
|
long style = 0,
|
|
|
|
const wxString &name = wxStaticBoxNameStr );
|
|
|
|
bool Create( wxWindow *parent,
|
|
|
|
wxWindowID id,
|
|
|
|
const wxString &label,
|
|
|
|
const wxPoint &pos = wxDefaultPosition,
|
|
|
|
const wxSize &size = wxDefaultSize,
|
|
|
|
long style = 0,
|
|
|
|
const wxString &name = wxStaticBoxNameStr );
|
|
|
|
|
|
|
|
virtual void SetLabel( const wxString &label );
|
|
|
|
|
2004-05-06 17:26:25 +00:00
|
|
|
static wxVisualAttributes
|
|
|
|
GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
|
|
|
|
|
2001-06-26 20:59:19 +00:00
|
|
|
// implementation
|
1998-05-20 14:01:55 +00:00
|
|
|
|
2002-05-31 14:13:17 +00:00
|
|
|
virtual bool IsTransparentForMouse() const { return TRUE; }
|
1998-05-20 14:01:55 +00:00
|
|
|
|
2004-07-03 16:58:10 +00:00
|
|
|
protected:
|
|
|
|
void DoApplyWidgetStyle(GtkRcStyle *style);
|
|
|
|
|
2001-06-26 20:59:19 +00:00
|
|
|
private:
|
|
|
|
DECLARE_DYNAMIC_CLASS(wxStaticBox)
|
|
|
|
};
|
1999-06-14 23:04:05 +00:00
|
|
|
|
1998-05-20 14:01:55 +00:00
|
|
|
#endif // __GTKSTATICBOXH__
|