// Created: 04/01/98
// RCS-ID: $Id$
// Copyright: (c) Stefan Csomor
-// Licence: wxWidgets licence
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#ifdef __GNUG__
-#pragma implementation "stattext.h"
-#endif
-
#include "wx/app.h"
#include "wx/stattext.h"
#include "wx/notebook.h"
#include <stdio.h>
-#if !USE_SHARED_LIBRARY
IMPLEMENT_DYNAMIC_CLASS(wxStaticText, wxControl)
-#endif
#include "wx/mac/uma.h"
{
// temporary fix until layout measurement and drawing are in synch again
Refresh() ;
+ InvalidateBestSize();
SetSize( GetBestSize() ) ;
}
Refresh() ;
if ( !(GetWindowStyle() & wxST_NO_AUTORESIZE) )
{
// temporary fix until layout measurement and drawing are in synch again
- Refresh() ;
+ Refresh() ;
+ InvalidateBestSize();
SetSize( GetBestSize() );
}
}