projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Some compilation fixes
[wxWidgets.git]
/
include
/
wx
/
msw
/
tooltip.h
diff --git
a/include/wx/msw/tooltip.h
b/include/wx/msw/tooltip.h
index 135e87116e987fb769d2e802904872ad0b023a24..d79dbfd01dda0dbd0b995d30cca54e6ee8a9b1d7 100644
(file)
--- a/
include/wx/msw/tooltip.h
+++ b/
include/wx/msw/tooltip.h
@@
-9,7
+9,7
@@
// Licence: wxWindows license
///////////////////////////////////////////////////////////////////////////////
// Licence: wxWindows license
///////////////////////////////////////////////////////////////////////////////
-class wxToolTip : public wxObject
+class
WXDLLEXPORT
wxToolTip : public wxObject
{
public:
// ctor & dtor
{
public:
// ctor & dtor
@@
-31,14
+31,19
@@
public:
// set the delay after which the tooltip appears
static void SetDelay(long milliseconds);
// set the delay after which the tooltip appears
static void SetDelay(long milliseconds);
- // implementation
+ // implementation only from now on
+ // -------------------------------
+
+ // should be called in responde to WM_MOUSEMOVE
void RelayEvent(WXMSG *msg);
private:
void RelayEvent(WXMSG *msg);
private:
+ // the one and only one tooltip control we use - never access it directly
+ // but use GetToolTipCtrl() which will create it when needed
static WXHWND ms_hwndTT;
// create the tooltip ctrl if it doesn't exist yet and return its HWND
static WXHWND ms_hwndTT;
// create the tooltip ctrl if it doesn't exist yet and return its HWND
- WXHWND GetToolTipCtrl();
+
static
WXHWND GetToolTipCtrl();
// remove this tooltip from the tooltip control
void Remove();
// remove this tooltip from the tooltip control
void Remove();