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:
@@ -885,11 +885,18 @@ inline wxWindow *wxWindowBase::GetGrandParent() const
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// global function
|
||||
// global functions
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
WXDLLEXPORT extern wxWindow* wxGetActiveWindow();
|
||||
|
||||
// Find the wxWindow at the current mouse position, also returning the mouse
|
||||
// position.
|
||||
WXDLLEXPORT extern wxWindow* wxFindWindowAtPointer(wxPoint& pt);
|
||||
|
||||
// Get the current mouse position.
|
||||
WXDLLEXPORT extern wxPoint wxGetMousePosition();
|
||||
|
||||
// deprecated (doesn't start with 'wx' prefix), use wxWindow::NewControlId()
|
||||
inline WXDLLEXPORT int NewControlId() { return wxWindowBase::NewControlId(); }
|
||||
|
||||
|
Reference in New Issue
Block a user