X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/20671963efabd70a208b415c4734ee813b9eb439..4e2251ecd324ba89c486434485efcb1d32ee7dca:/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_