#include "wx/app.h"
#include "wx/stattext.h"
+#include "wx/dc.h"
+#include "wx/dcclient.h"
#include <stdio.h>
return;
PrepareDC(dc);
- dc.Clear() ;
+// dc.Clear() ; this eventually draws in the wrong background colour (appearance panels)
int x = 0 ;
int y = 0 ;
m_label = st ;
if ( !(GetWindowStyle() & wxST_NO_AUTORESIZE) )
SetSizeOrDefault() ;
-
- wxClientDC dc(this);
- OnDraw( dc ) ;
+
+ Refresh() ;
+ MacUpdateImmediately() ;
+// wxClientDC dc(this);
+// OnDraw( dc ) ;
}