implemented SetFocus

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2006-09-22 06:55:08 +00:00
parent 71c1dbbd54
commit 4ff28c37c8
4 changed files with 55 additions and 18 deletions

View File

@@ -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_

View File

@@ -154,7 +154,7 @@ private:
// common part of all ctors
void Init();
// counterpart to SetFocus
void KillFocus();
void DFBKillFocus();
protected:
// toplevel window (i.e. DirectFB window) this window belongs to