diff options
| author | Neil <nyamatongwe@gmail.com> | 2020-04-05 08:43:27 +1000 |
|---|---|---|
| committer | Neil <nyamatongwe@gmail.com> | 2020-04-05 08:43:27 +1000 |
| commit | bf9adaf7f82732929f00336421536812805cdf8c (patch) | |
| tree | 7f11a4a9808538d3bfe48b9b443b00de64756d98 /win32/PlatWin.h | |
| parent | f2878cb7710c1b5efda08cb0d5ca77acc0877339 (diff) | |
| download | scintilla-mirror-bf9adaf7f82732929f00336421536812805cdf8c.tar.gz | |
Backport: Feature [feature-requests:1345] Use more typesafe code to clear window pointers,
share implementation of window pointers between files, use GetWindowStyle.
Backport of changeset 8110:33f16ac2c3ca.
Diffstat (limited to 'win32/PlatWin.h')
| -rw-r--r-- | win32/PlatWin.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/win32/PlatWin.h b/win32/PlatWin.h index f4f804b2e..3f1152522 100644 --- a/win32/PlatWin.h +++ b/win32/PlatWin.h @@ -31,6 +31,9 @@ inline HWND HwndFromWindow(const Window &w) noexcept { return HwndFromWindowID(w.GetID()); } +void *PointerFromWindow(HWND hWnd) noexcept; +void SetWindowPointer(HWND hWnd, void *ptr) noexcept; + #if defined(USE_D2D) extern bool LoadD2D(); extern ID2D1Factory *pD2DFactory; |
