1998-05-20 10:01:55 -04:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: stabox.h
|
|
|
|
// Purpose:
|
|
|
|
// Author: Robert Roebling
|
1998-10-29 13:03:18 -05:00
|
|
|
// Id: $Id$
|
|
|
|
// Copyright: (c) 1998 Robert Roebling
|
1998-05-20 10:01:55 -04:00
|
|
|
// Licence: wxWindows licence
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef __GTKSTATICBOXH__
|
|
|
|
#define __GTKSTATICBOXH__
|
|
|
|
|
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma interface
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include "wx/defs.h"
|
|
|
|
#include "wx/object.h"
|
|
|
|
#include "wx/list.h"
|
|
|
|
#include "wx/control.h"
|
|
|
|
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
// classes
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
class wxStaticBox;
|
|
|
|
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
// global data
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
extern const char *wxStaticBoxNameStr;
|
|
|
|
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
// wxStaticBox
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
class wxStaticBox: public wxControl
|
|
|
|
{
|
|
|
|
DECLARE_DYNAMIC_CLASS(wxStaticBox)
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
wxStaticBox(void);
|
|
|
|
wxStaticBox( wxWindow *parent, wxWindowID id, const wxString &label,
|
|
|
|
const wxPoint &pos = wxDefaultPosition, const wxSize &size = wxDefaultSize,
|
1998-07-04 11:17:59 -04:00
|
|
|
long style = 0, const wxString &name = wxStaticBoxNameStr );
|
|
|
|
bool Create( wxWindow *parent, wxWindowID id, const wxString &label,
|
1998-05-20 10:01:55 -04:00
|
|
|
const wxPoint &pos = wxDefaultPosition, const wxSize &size = wxDefaultSize,
|
1998-07-04 11:17:59 -04:00
|
|
|
long style = 0, const wxString &name = wxStaticBoxNameStr );
|
1998-09-06 16:27:21 -04:00
|
|
|
void SetLabel( const wxString &label );
|
1998-10-29 13:03:18 -05:00
|
|
|
|
|
|
|
// implementation
|
|
|
|
|
|
|
|
void ApplyWidgetStyle();
|
1998-05-20 10:01:55 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // __GTKSTATICBOXH__
|