Improve wording of MSWGetFocusHWND() comment

No real changes, just try to explain what this function is for better.
This commit is contained in:
Vadim Zeitlin
2019-10-31 23:58:21 +01:00
parent 96da0060ca
commit c0d992cf67

View File

@@ -168,9 +168,10 @@ public:
void AssociateHandle(WXWidget handle) wxOVERRIDE; void AssociateHandle(WXWidget handle) wxOVERRIDE;
void DissociateHandle() wxOVERRIDE; void DissociateHandle() wxOVERRIDE;
// returns the handle of the focused window (i.e. in composite windows // returns the handle of the native window to focus when this wxWindow gets
// which can't be implemented via a set of wxControl's focus may be wanted // focus (i.e. in composite windows: by default, this is just the HWND for
// by a subwindow instead of the main window) // this window itself, but it can be overridden to return something
// different for composite controls
virtual WXHWND MSWGetFocusHWND() const { return GetHWND(); } virtual WXHWND MSWGetFocusHWND() const { return GetHWND(); }
// does this window have deferred position and/or size? // does this window have deferred position and/or size?