implemented wxPopupWindow for wxDFB; added wxNonOwnedWindow as base class for wxTopLevelWindow and wxPopupWindow

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2007-01-22 15:04:49 +00:00
parent c3a58b249e
commit 42b0d8b96d
12 changed files with 683 additions and 474 deletions

View File

@@ -21,7 +21,7 @@ wxDFB_DECLARE_INTERFACE(IDirectFBSurface);
struct wxDFBWindowEvent;
class WXDLLIMPEXP_CORE wxFont;
class WXDLLIMPEXP_CORE wxTopLevelWindowDFB;
class WXDLLIMPEXP_CORE wxNonOwnedWindow;
class wxOverlayImpl;
class wxDfbOverlaysList;
@@ -108,7 +108,7 @@ public:
wxIDirectFBSurfacePtr GetDfbSurface();
// returns toplevel window the window belongs to
wxTopLevelWindowDFB *GetTLW() const { return m_tlw; }
wxNonOwnedWindow *GetTLW() const { return m_tlw; }
void OnInternalIdle();
@@ -174,7 +174,7 @@ private:
protected:
// toplevel window (i.e. DirectFB window) this window belongs to
wxTopLevelWindowDFB *m_tlw;
wxNonOwnedWindow *m_tlw;
private:
// subsurface of TLW's surface covered by this window
@@ -190,7 +190,7 @@ private:
// overlays for this window (or NULL if it doesn't have any)
wxDfbOverlaysList *m_overlays;
friend class wxTopLevelWindowDFB; // for HandleXXXEvent
friend class wxNonOwnedWindow; // for HandleXXXEvent
friend class wxOverlayImpl; // for Add/RemoveOverlay
friend class wxWindowDC; // for PaintOverlays