X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/67d947ba89b176c05c7707f44e4381bdef0f21c8..6b707fc394b2601878996dc7581c6d7427f8f4dd:/src/univ/stattext.cpp?ds=sidebyside diff --git a/src/univ/stattext.cpp b/src/univ/stattext.cpp index e09644b5b1..2f2a955f83 100644 --- a/src/univ/stattext.cpp +++ b/src/univ/stattext.cpp @@ -6,7 +6,7 @@ // Created: 14.08.00 // RCS-ID: $Id$ // Copyright: (c) 2000 SciTech Software, Inc. (www.scitechsoft.com) -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// // ============================================================================ @@ -17,7 +17,7 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "univstattext.h" #endif @@ -59,8 +59,6 @@ bool wxStaticText::Create(wxWindow *parent, if ( !wxControl::Create(parent, id, pos, size, style, wxDefaultValidator, name) ) return FALSE; - m_hasDialogBackground = TRUE; - SetLabel(label); SetBestSize(size);