/////////////////////////////////////////////////////////////////////////////
-// Name: univ/stattext.cpp
+// Name: src/univ/stattext.cpp
// Purpose: wxStaticText
// Author: Vadim Zeitlin
// Modified by:
// Created: 14.08.00
// RCS-ID: $Id$
// Copyright: (c) 2000 SciTech Software, Inc. (www.scitechsoft.com)
-// Licence: wxWindows license
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// ============================================================================
// headers
// ----------------------------------------------------------------------------
-#ifdef __GNUG__
- #pragma implementation "univstattext.h"
-#endif
-
#include "wx/wxprec.h"
#ifdef __BORLANDC__
#if wxUSE_STATTEXT
+#include "wx/stattext.h"
+
#ifndef WX_PRECOMP
#include "wx/dcclient.h"
- #include "wx/stattext.h"
#include "wx/validate.h"
#endif
// implementation
// ============================================================================
+IMPLEMENT_ABSTRACT_CLASS(wxStaticText, wxControl)
+
// ----------------------------------------------------------------------------
// creation
// ----------------------------------------------------------------------------
const wxString &name)
{
if ( !wxControl::Create(parent, id, pos, size, style, wxDefaultValidator, name) )
- return FALSE;
+ return false;
SetLabel(label);
SetBestSize(size);
- return TRUE;
+ return true;
}
// ----------------------------------------------------------------------------