Made wxContextHelp implementation generic and added wxFindWindowAtPointer,
wxGetMousePosition functions git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -93,25 +93,15 @@ public:
|
||||
bool BeginContextHelp(wxWindow* win);
|
||||
bool EndContextHelp();
|
||||
|
||||
bool EventLoop(const wxCursor& cursor, wxWindow* win);
|
||||
bool EventLoop();
|
||||
bool DispatchEvent(wxWindow* win, const wxPoint& pt);
|
||||
|
||||
#ifdef __WXMSW__
|
||||
bool ProcessHelpMessage(WXMSG* wxmsg, const wxCursor& cursor, wxWindow* win);
|
||||
#endif
|
||||
|
||||
#ifdef __WXGTK__
|
||||
void SetStatus(bool status, const wxPoint& pt) { m_status = status; m_mousePos = pt; }
|
||||
#endif
|
||||
void SetStatus(bool status) { m_status = status; }
|
||||
|
||||
protected:
|
||||
|
||||
bool m_inHelp;
|
||||
|
||||
#ifdef __WXGTK__
|
||||
bool m_status; // The user left-clicked
|
||||
wxPoint m_mousePos;
|
||||
#endif
|
||||
bool m_status; // TRUE if the user left-clicked
|
||||
};
|
||||
|
||||
#endif // wxUSE_HELP
|
||||
|
Reference in New Issue
Block a user