/////////////////////////////////////////////////////////////////////////////
-// Name: cocoa/stattext.mm
+// Name: src/cocoa/stattext.mm
// Purpose: wxStaticText
// Author: David Elliott
// Modified by:
// Created: 2003/02/15
-// RCS-ID: $Id:
+// RCS-ID: $Id$
// Copyright: (c) 2003 David Elliott
-// Licence: wxWidgets licence
+// Licence: wxWidgets licence
/////////////////////////////////////////////////////////////////////////////
#include "wx/wxprec.h"
+
+#include "wx/stattext.h"
+
#ifndef WX_PRECOMP
#include "wx/app.h"
- #include "wx/stattext.h"
#include "wx/log.h"
#endif //WX_PRECOMP
void wxStaticText::Cocoa_didChangeText(void)
{
}
-
#include "wx/checklst.h"
#include "wx/textctrl.h"
#include "wx/intl.h"
+ #include "wx/stattext.h"
#endif // WX_PRECOMP
#include "wx/filename.h"
#include "wx/mimetype.h"
#include "wx/statline.h"
-#include "wx/stattext.h"
#include "wx/filedlg.h"
#include "wx/valtext.h"
#include "wx/bmpbuttn.h"
#include "wx/checkbox.h"
#include "wx/choice.h"
+ #include "wx/stattext.h"
#endif
#include "wx/textctrl.h"
-#include "wx/stattext.h"
#include "wx/longlong.h"
#include "wx/sizer.h"
#include "wx/tokenzr.h"
#include "wx/button.h"
#include "wx/dialog.h"
#include "wx/scrolbar.h"
+ #include "wx/stattext.h"
#endif // WX_PRECOMP
#include "wx/notebook.h"
#include "wx/spinbutt.h"
#include "wx/statbox.h"
#include "wx/sizer.h"
-#include "wx/stattext.h"
#include "wx/mac/uma.h"
#include "wx/mac/private.h"
#include "wx/button.h"
#include "wx/dialog.h"
#include "wx/scrolbar.h"
+ #include "wx/stattext.h"
#endif // WX_PRECOMP
#include "wx/notebook.h"
#include "wx/spinbutt.h"
#include "wx/statbox.h"
#include "wx/sizer.h"
-#include "wx/stattext.h"
IMPLEMENT_ABSTRACT_CLASS(wxControl, wxWindow)
#if wxUSE_STATTEXT
+#include "wx/stattext.h"
+
#ifndef WX_PRECOMP
#include "wx/event.h"
#include "wx/app.h"
#include "wx/settings.h"
#endif
-#include "wx/stattext.h"
#include "wx/msw/private.h"
#if wxUSE_EXTENDED_RTTI
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
+#include "wx/stattext.h"
+
#ifndef WX_PRECOMP
#include "wx/event.h"
#include "wx/app.h"
#include "wx/scrolwin.h"
#endif
-#include "wx/stattext.h"
#include "wx/os2/private.h"
#include <stdio.h>
/////////////////////////////////////////////////////////////////////////////
-// Name: univ/stattext.cpp
+// Name: src/univ/stattext.cpp
// Purpose: wxStaticText
// Author: Vadim Zeitlin
// Modified by:
#if wxUSE_STATTEXT
+#include "wx/stattext.h"
+
#ifndef WX_PRECOMP
#include "wx/dcclient.h"
- #include "wx/stattext.h"
#include "wx/validate.h"
#endif
{
if ( !wxControl::Create(parent, id, pos, size, style, wxDefaultValidator, name) )
return false;
-
+
SetLabel(label);
SetBestSize(size);
/////////////////////////////////////////////////////////////////////////////
-// Name: xh_sttxt.cpp
+// Name: src/xrc/xh_sttxt.cpp
// Purpose: XRC resource for wxStaticText
// Author: Bob Mitchell
// Created: 2000/03/21
#pragma hdrstop
#endif
-#if wxUSE_XRC
+#if wxUSE_XRC && wxUSE_STATTEXT
#include "wx/xrc/xh_sttxt.h"
-#include "wx/stattext.h"
+
+#ifndef WX_PRECOMP
+ #include "wx/stattext.h"
+#endif
IMPLEMENT_DYNAMIC_CLASS(wxStaticTextXmlHandler, wxXmlResourceHandler)
XRC_MAKE_INSTANCE(text, wxStaticText)
text->Create(m_parentAsWindow,
- GetID(),
- GetText(wxT("label")),
- GetPosition(), GetSize(),
- GetStyle(),
- GetName());
+ GetID(),
+ GetText(wxT("label")),
+ GetPosition(), GetSize(),
+ GetStyle(),
+ GetName());
SetupWindow(text);
return IsOfClass(node, wxT("wxStaticText"));
}
-#endif // wxUSE_XRC
+#endif // wxUSE_XRC && wxUSE_STATTEXT