projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
don't crash when restoring focus after showing a modal dialog
[wxWidgets.git]
/
src
/
mac
/
carbon
/
dc.cpp
diff --git
a/src/mac/carbon/dc.cpp
b/src/mac/carbon/dc.cpp
index 126dea09aa7a4b1382c23c84f76c152e0c0a583a..15bf719bd15ef4c5b54a59e243a5a109b74ed8a0 100644
(file)
--- a/
src/mac/carbon/dc.cpp
+++ b/
src/mac/carbon/dc.cpp
@@
-1679,7
+1679,7
@@
wxCoord wxDC::GetCharWidth(void) const
if ( UMAGetSystemVersion() < 0x1000 || ((wxFont*)&m_font)->GetNoAntiAliasing() )
useGetThemeText = false ;
#endif
- char text[] = "
H
" ;
+ char text[] = "
g
" ;
#if TARGET_CARBON
if ( useGetThemeText )
{