#include <commctrl.h>
#endif
-HWND wxToolTip::hwndTT = NULL;
+WXHWND wxToolTip::hwndTT = NULL;
// ----------------------------------------------------------------------------
// private classes
wxToolInfo(wxWindow *win)
{
// initialize all members
-#ifdef __GNUWIN32__ && !defined(wxUSE_NORLANDER_HEADERS)
+#if __GNUWIN32__ && !defined(wxUSE_NORLANDER_HEADERS)
memset(this, 0, sizeof(TOOLINFO));
#else
::ZeroMemory(this, sizeof(TOOLINFO));
// send a message to all existing tooltip controls
static void SendTooltipMessageToAll(WXHWND hwnd,
- UINT msg,
- WPARAM wParam,
+ UINT msg,
+ WPARAM wParam,
LPARAM lParam)
{
if ( hwnd )
{
if ( !hwndTT )
{
- hwndTT = ::CreateWindow(TOOLTIPS_CLASS,
+ hwndTT = (WXHWND)::CreateWindow(TOOLTIPS_CLASS,
(LPSTR)NULL,
TTS_ALWAYSTIP,
CW_USEDEFAULT, CW_USEDEFAULT,
CW_USEDEFAULT, CW_USEDEFAULT,
NULL, (HMENU)NULL,
- wxGetInstance(), NULL);
+ wxGetInstance(),
+ NULL);
}
return (WXHWND)hwndTT;