projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
attempt to fix a rare crash which happens when changing the number of columns in...
[wxWidgets.git]
/
src
/
mac
/
carbon
/
tooltip.cpp
diff --git
a/src/mac/carbon/tooltip.cpp
b/src/mac/carbon/tooltip.cpp
index c4eea989d6892895527e98d72421e268275f351d..ba6de8cc8a1c9123730510e71ac752e5eaf7ce68 100644
(file)
--- a/
src/mac/carbon/tooltip.cpp
+++ b/
src/mac/carbon/tooltip.cpp
@@
-201,10
+201,12
@@
void wxMacToolTip::Setup( WindowRef win , wxString text , wxPoint localPosition
wxMacToolTip::~wxMacToolTip()
{
- if ( m_timer )
+ if ( m_timer )
{
delete m_timer ;
- if ( m_backpict )
- Clear() ;
+ m_timer = NULL;
+ }
+ if ( m_backpict )
+ Clear() ;
}
const short kTipBorder = 2 ;