1999-07-29 05:11:30 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: statbox.h
|
|
|
|
// Purpose: wxStaticBox class
|
1999-10-15 21:00:38 +00:00
|
|
|
// Author: David Webster
|
1999-07-29 05:11:30 +00:00
|
|
|
// Modified by:
|
1999-10-15 21:00:38 +00:00
|
|
|
// Created: 10/15/99
|
1999-07-29 05:11:30 +00:00
|
|
|
// RCS-ID: $Id$
|
1999-10-15 21:00:38 +00:00
|
|
|
// Copyright: (c) David Webster
|
2004-05-23 20:53:33 +00:00
|
|
|
// Licence: wxWindows licence
|
1999-07-29 05:11:30 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef _WX_STATBOX_H_
|
|
|
|
#define _WX_STATBOX_H_
|
|
|
|
|
|
|
|
#include "wx/control.h"
|
|
|
|
|
|
|
|
// Group box
|
2001-07-06 21:45:11 +00:00
|
|
|
class WXDLLEXPORT wxStaticBox : public wxStaticBoxBase
|
1999-07-29 05:11:30 +00:00
|
|
|
{
|
2001-12-17 22:56:41 +00:00
|
|
|
public:
|
1999-10-15 21:00:38 +00:00
|
|
|
inline wxStaticBox() {}
|
2001-12-17 22:56:41 +00:00
|
|
|
inline wxStaticBox( wxWindow* pParent
|
|
|
|
,wxWindowID vId
|
|
|
|
,const wxString& rsLabel
|
|
|
|
,const wxPoint& rPos = wxDefaultPosition
|
|
|
|
,const wxSize& rSize = wxDefaultSize
|
|
|
|
,long lStyle = 0
|
|
|
|
,const wxString& rsName = wxStaticBoxNameStr
|
1999-10-15 21:00:38 +00:00
|
|
|
)
|
|
|
|
{
|
2001-12-17 22:56:41 +00:00
|
|
|
Create(pParent, vId, rsLabel, rPos, rSize, lStyle, rsName);
|
1999-10-15 21:00:38 +00:00
|
|
|
}
|
|
|
|
|
2001-12-17 22:56:41 +00:00
|
|
|
bool Create( wxWindow* pParent
|
|
|
|
,wxWindowID vId
|
|
|
|
,const wxString& rsLabel
|
|
|
|
,const wxPoint& rPos = wxDefaultPosition
|
|
|
|
,const wxSize& rSize = wxDefaultSize
|
|
|
|
,long lStyle = 0
|
|
|
|
,const wxString& rsName = wxStaticBoxNameStr
|
|
|
|
);
|
1999-10-15 21:00:38 +00:00
|
|
|
|
2001-12-17 22:56:41 +00:00
|
|
|
//
|
1999-10-15 21:00:38 +00:00
|
|
|
// implementation from now on
|
|
|
|
// --------------------------
|
2001-12-17 22:56:41 +00:00
|
|
|
//
|
|
|
|
virtual MRESULT OS2WindowProc( WXUINT uMsg
|
|
|
|
,WXWPARAM wParam
|
|
|
|
,WXLPARAM lParam
|
|
|
|
);
|
1999-10-15 21:00:38 +00:00
|
|
|
|
2001-12-17 22:56:41 +00:00
|
|
|
//
|
1999-10-15 21:00:38 +00:00
|
|
|
// overriden base class virtuals
|
2001-12-17 22:56:41 +00:00
|
|
|
//
|
|
|
|
inline virtual bool AcceptsFocus(void) const { return FALSE; }
|
1999-10-15 21:00:38 +00:00
|
|
|
|
|
|
|
protected:
|
2001-12-17 22:56:41 +00:00
|
|
|
virtual wxSize DoGetBestSize(void) const;
|
1999-10-15 21:00:38 +00:00
|
|
|
|
|
|
|
private:
|
2001-12-17 22:56:41 +00:00
|
|
|
DECLARE_DYNAMIC_CLASS(wxStaticBox)
|
|
|
|
}; // end of CLASS wxStaticBox
|
1999-07-29 05:11:30 +00:00
|
|
|
|
|
|
|
#endif
|
|
|
|
// _WX_STATBOX_H_
|
1999-10-15 21:00:38 +00:00
|
|
|
|