X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3e6807d7019e72131db24a03c9ab298fb1c18c89..d6c37f5bc40dc01ba7a0db6c50a79d88bdd028c7:/include/wx/msw/private.h diff --git a/include/wx/msw/private.h b/include/wx/msw/private.h index e824c6e5fd..63010bf4c5 100644 --- a/include/wx/msw/private.h +++ b/include/wx/msw/private.h @@ -923,6 +923,9 @@ WXDLLIMPEXP_BASE wxWinVersion wxGetWinVersion(); extern HCURSOR wxGetCurrentBusyCursor(); // from msw/utils.cpp extern const wxCursor *wxGetGlobalCursor(); // from msw/cursor.cpp +// GetCursorPos can fail without populating the POINT. This falls back to GetMessagePos. +WXDLLIMPEXP_CORE void wxGetCursorPosMSW(POINT* pt); + WXDLLIMPEXP_CORE void wxGetCharSize(WXHWND wnd, int *x, int *y, const wxFont& the_font); WXDLLIMPEXP_CORE void wxFillLogFont(LOGFONT *logFont, const wxFont *font); WXDLLIMPEXP_CORE wxFont wxCreateFontFromLogFont(const LOGFONT *logFont);