projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix discrepancy between different ways of measuring text extents under Mac.
[wxWidgets.git]
/
include
/
wx
/
palmos
/
tooltip.h
diff --git
a/include/wx/palmos/tooltip.h
b/include/wx/palmos/tooltip.h
index e9f2eb1b486f7294b5b704b354505aa19697bac0..447dd4d9a8b582ac58c8cbb019b9784c2e37ce3a 100644
(file)
--- a/
include/wx/palmos/tooltip.h
+++ b/
include/wx/palmos/tooltip.h
@@
-9,7
+9,10
@@
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
-class WXDLLEXPORT wxToolTip : public wxObject
+#ifndef _WX_PALMOS_TOOLTIP_H_
+#define _WX_PALMOS_TOOLTIP_H_
+
+class WXDLLIMPEXP_CORE wxToolTip : public wxObject
{
public:
// ctor & dtor
{
public:
// ctor & dtor
@@
-30,6
+33,10
@@
public:
static void Enable(bool flag);
// set the delay after which the tooltip appears
static void SetDelay(long milliseconds);
static void Enable(bool flag);
// set the delay after which the tooltip appears
static void SetDelay(long milliseconds);
+ // set the delay after which the tooltip disappears or how long the tooltip remains visible
+ static void SetAutoPop(long milliseconds);
+ // set the delay between subsequent tooltips to appear
+ static void SetReshow(long milliseconds);
// implementation only from now on
// -------------------------------
// implementation only from now on
// -------------------------------
@@
-55,6
+62,7
@@
private:
wxWindow *m_window; // window we're associated with
DECLARE_ABSTRACT_CLASS(wxToolTip)
wxWindow *m_window; // window we're associated with
DECLARE_ABSTRACT_CLASS(wxToolTip)
- DECLARE_NO_COPY_CLASS(wxToolTip)
+ wxDECLARE_NO_COPY_CLASS(wxToolTip);
};
};
+#endif // _WX_PALMOS_TOOLTIP_H_