projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
correction to last commit: Korean and Romanian translations will only be in 2.9.1...
[wxWidgets.git]
/
src
/
gtk1
/
tooltip.cpp
diff --git
a/src/gtk1/tooltip.cpp
b/src/gtk1/tooltip.cpp
index 141f3bc17d53e4508007aedbe18d0c07468d0e11..bf98adb334f135d2dc4a5d803d022aef61198fb3 100644
(file)
--- a/
src/gtk1/tooltip.cpp
+++ b/
src/gtk1/tooltip.cpp
@@
-24,7
+24,7
@@
// global data
//-----------------------------------------------------------------------------
// global data
//-----------------------------------------------------------------------------
-static GtkTooltips *ss_tooltips =
(GtkTooltips*)
NULL;
+static GtkTooltips *ss_tooltips = NULL;
//-----------------------------------------------------------------------------
// wxToolTip
//-----------------------------------------------------------------------------
// wxToolTip
@@
-35,7
+35,7
@@
IMPLEMENT_ABSTRACT_CLASS(wxToolTip, wxObject)
wxToolTip::wxToolTip( const wxString &tip )
{
m_text = tip;
wxToolTip::wxToolTip( const wxString &tip )
{
m_text = tip;
- m_window =
(wxWindow*)
NULL;
+ m_window = NULL;
}
void wxToolTip::SetTip( const wxString &tip )
}
void wxToolTip::SetTip( const wxString &tip )
@@
-56,7
+56,7
@@
void wxToolTip::Apply( wxWindow *win )
m_window = win;
if (m_text.empty())
m_window = win;
if (m_text.empty())
- m_window->ApplyToolTip( ss_tooltips,
(wxChar*)
NULL );
+ m_window->ApplyToolTip( ss_tooltips, NULL );
else
m_window->ApplyToolTip( ss_tooltips, m_text );
}
else
m_window->ApplyToolTip( ss_tooltips, m_text );
}
@@
-79,4
+79,12
@@
void wxToolTip::SetDelay( long msecs )
gtk_tooltips_set_delay( ss_tooltips, (int)msecs );
}
gtk_tooltips_set_delay( ss_tooltips, (int)msecs );
}
+void wxToolTip::SetAutoPop( long WXUNUSED(msecs) )
+{
+}
+
+void wxToolTip::SetReshow( long WXUNUSED(msecs) )
+{
+}
+
#endif
#endif