1998-08-07 17:32:13 -04:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: stattext.h
|
1998-08-12 05:16:21 -04:00
|
|
|
// Purpose: wxStaticText class
|
|
|
|
// Author: AUTHOR
|
|
|
|
// Modified by:
|
|
|
|
// Created: ??/??/98
|
|
|
|
// RCS-ID: $Id$
|
|
|
|
// Copyright: (c) AUTHOR
|
1998-08-07 17:32:13 -04:00
|
|
|
// Licence: wxWindows licence
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
1998-08-12 05:16:21 -04:00
|
|
|
#ifndef _WX_STATTEXT_H_
|
|
|
|
#define _WX_STATTEXT_H_
|
1998-08-07 17:32:13 -04:00
|
|
|
|
|
|
|
#ifdef __GNUG__
|
1998-08-12 05:16:21 -04:00
|
|
|
#pragma interface "stattext.h"
|
1998-08-07 17:32:13 -04:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#include "wx/control.h"
|
|
|
|
|
1998-08-12 05:16:21 -04:00
|
|
|
WXDLLEXPORT_DATA(extern const char*) wxStaticTextNameStr;
|
1998-08-07 17:32:13 -04:00
|
|
|
|
1998-08-12 05:16:21 -04:00
|
|
|
class WXDLLEXPORT wxStaticText: public wxControl
|
1998-08-07 17:32:13 -04:00
|
|
|
{
|
|
|
|
DECLARE_DYNAMIC_CLASS(wxStaticText)
|
1998-08-12 05:16:21 -04:00
|
|
|
public:
|
|
|
|
inline wxStaticText() { }
|
|
|
|
|
|
|
|
inline wxStaticText(wxWindow *parent, wxWindowID id,
|
|
|
|
const wxString& label,
|
|
|
|
const wxPoint& pos = wxDefaultPosition,
|
|
|
|
const wxSize& size = wxDefaultSize,
|
|
|
|
long style = 0,
|
|
|
|
const wxString& name = wxStaticTextNameStr)
|
|
|
|
{
|
|
|
|
Create(parent, id, label, pos, size, style, name);
|
|
|
|
}
|
|
|
|
|
|
|
|
bool Create(wxWindow *parent, wxWindowID id,
|
|
|
|
const wxString& label,
|
|
|
|
const wxPoint& pos = wxDefaultPosition,
|
|
|
|
const wxSize& size = wxDefaultSize,
|
|
|
|
long style = 0,
|
|
|
|
const wxString& name = wxStaticTextNameStr);
|
|
|
|
|
|
|
|
// accessors
|
|
|
|
void SetSize(int x, int y, int width, int height, int sizeFlags = wxSIZE_AUTO);
|
|
|
|
void SetLabel(const wxString&);
|
|
|
|
|
|
|
|
// operations
|
|
|
|
virtual void Command(wxCommandEvent& WXUNUSED(event)) {};
|
|
|
|
virtual void ProcessCommand(wxCommandEvent& WXUNUSED(event)) {};
|
1998-08-07 17:32:13 -04:00
|
|
|
};
|
|
|
|
|
1998-08-12 05:16:21 -04:00
|
|
|
#endif
|
|
|
|
// _WX_STATTEXT_H_
|