Added '_' checking that warns of the use of "_" or "\_" in the wrong places
[wxWidgets.git] / src / mac / stattext.cpp
index 5ce406a67a892724b25819345ffd63ab2fc85a34..33e784261d562bf4f91045a49702e2b2344c3d86 100644 (file)
@@ -259,7 +259,9 @@ void wxStaticText::SetLabel(const wxString& st )
        m_label = st ;
        if ( !(GetWindowStyle() & wxST_NO_AUTORESIZE) )
                SetSizeOrDefault() ;
-       
-    wxClientDC dc(this);
-    OnDraw( dc ) ;
+
+       Refresh() ;     
+       MacUpdateImmediately() ;
+//    wxClientDC dc(this);
+//    OnDraw( dc ) ;
 }