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:
@@ -168,6 +168,11 @@ public:
|
||||
void AssociateHandle(WXWidget handle) wxOVERRIDE;
|
||||
void DissociateHandle() wxOVERRIDE;
|
||||
|
||||
// returns the handle of the focused window (i.e. in composite windows
|
||||
// which can't be implemented via a set of wxControl's focus may be wanted
|
||||
// by a subwindow instead of the main window)
|
||||
virtual WXHWND MSWGetFocusHWND() const { return GetHWND(); }
|
||||
|
||||
// does this window have deferred position and/or size?
|
||||
bool IsSizeDeferred() const;
|
||||
|
||||
|
Reference in New Issue
Block a user