X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/20671963efabd70a208b415c4734ee813b9eb439..e22cf4b310aa1cac5f21879823aa26be4c804c24:/include/wx/dfb/toplevel.h diff --git a/include/wx/dfb/toplevel.h b/include/wx/dfb/toplevel.h index f15d9e4fd7..4d71aa7aac 100644 --- a/include/wx/dfb/toplevel.h +++ b/include/wx/dfb/toplevel.h @@ -94,6 +94,11 @@ protected: virtual void DoRefreshRect(const wxRect& rect); + // sets DirectFB keyboard focus to this toplevel window (note that DFB + // focus is different from wx: only shown TLWs can have it and not any + // wxWindows as in wx + void SetDfbFocus(); + private: // do queued painting in idle time void HandleQueuedPaintRequests(); @@ -129,6 +134,7 @@ private: bool m_isPainting; friend class wxEventLoop; // for HandleDFBWindowEvent + friend class wxWindowDFB; // for SetDfbFocus }; #endif // _WX_DFB_TOPLEVEL_H_