// For now, instead of this, we just add all radiobox buttons to the
// tooltip control as well (see SetWindow) - this is probably less
// efficient, but it works.
-#define wxUSE_TTM_WINDOWFROMPOINT 0
+#define wxUSE_TTM_WINDOWFROMPOINT 1
// ----------------------------------------------------------------------------
// global variables
}
}
- return ::CallWindowProc(gs_wndprocToolTip, hwndTT, msg, wParam, lParam);
+ return ::CallWindowProc(CASTWNDPROC gs_wndprocToolTip, hwndTT, msg, wParam, lParam);
}
#endif // wxUSE_TTM_WINDOWFROMPOINT
Add(m_window->GetHWND());
}
+#if 1 //!wxUSE_TTM_WINDOWFROMPOINT
// and all of its subcontrols (e.g. radiobuttons in a radiobox) as well
wxControl *control = wxDynamicCast(m_window, wxControl);
if ( control )
}
}
}
+#endif // !wxUSE_TTM_WINDOWFROMPOINT
}
void wxToolTip::SetTip(const wxString& tip)