diff --git a/include/wx/msw/window.h b/include/wx/msw/window.h index 306cd814da..2ee4558b94 100644 --- a/include/wx/msw/window.h +++ b/include/wx/msw/window.h @@ -168,9 +168,10 @@ 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) + // returns the handle of the native window to focus when this wxWindow gets + // focus (i.e. in composite windows: by default, this is just the HWND for + // this window itself, but it can be overridden to return something + // different for composite controls virtual WXHWND MSWGetFocusHWND() const { return GetHWND(); } // does this window have deferred position and/or size?