Include wx/stattext.h according to precompiled headers of wx/wx.h (with other minor cleaning).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2006-05-30 17:39:22 +00:00
parent bacd54f604
commit ccdc11bbaf
9 changed files with 30 additions and 23 deletions

View File

@@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////////
// Name: univ/stattext.cpp
// Name: src/univ/stattext.cpp
// Purpose: wxStaticText
// Author: Vadim Zeitlin
// Modified by:
@@ -25,9 +25,10 @@
#if wxUSE_STATTEXT
#include "wx/stattext.h"
#ifndef WX_PRECOMP
#include "wx/dcclient.h"
#include "wx/stattext.h"
#include "wx/validate.h"
#endif
@@ -54,7 +55,7 @@ bool wxStaticText::Create(wxWindow *parent,
{
if ( !wxControl::Create(parent, id, pos, size, style, wxDefaultValidator, name) )
return false;
SetLabel(label);
SetBestSize(size);