projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added '_' checking that warns of the use of "_" or "\_" in the wrong places
[wxWidgets.git]
/
src
/
mac
/
stattext.cpp
diff --git
a/src/mac/stattext.cpp
b/src/mac/stattext.cpp
index 5ce406a67a892724b25819345ffd63ab2fc85a34..33e784261d562bf4f91045a49702e2b2344c3d86 100644
(file)
--- a/
src/mac/stattext.cpp
+++ b/
src/mac/stattext.cpp
@@
-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 ) ;
}