Add MSWGetFocusHWND to allow focus a subwindow

Under MSW allow override which subwindow will be focused for composite
windows which are implemented not as a set of wxControl (i.e. using only
Windows native controls).
This commit is contained in:
Ilya Sinitsyn
2019-11-01 00:19:53 +07:00
parent 53c5ebedca
commit 1b6dc0a2fb
3 changed files with 11 additions and 3 deletions

View File

@@ -838,6 +838,7 @@ private:
// ---------------------------------------------------------------------------
#define GetHwnd() ((HWND)GetHWND())
#define MSWGetFocusHwnd() ((HWND)MSWGetFocusHWND())
#define GetHwndOf(win) ((HWND)((win)->GetHWND()))
// old name
#define GetWinHwnd GetHwndOf