X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4e21a649f07f2045158d793ccb58b696d541e860..43c42c18d36c703a88b1b7b697bac27fe5608eca:/include/wx/dfb/nonownedwnd.h diff --git a/include/wx/dfb/nonownedwnd.h b/include/wx/dfb/nonownedwnd.h index aa1a7f410e..4cba760b3e 100644 --- a/include/wx/dfb/nonownedwnd.h +++ b/include/wx/dfb/nonownedwnd.h @@ -18,6 +18,7 @@ wxDFB_DECLARE_INTERFACE(IDirectFBWindow); class wxDfbQueuedPaintRequests; struct wxDFBWindowEvent; +class wxDFBEventsHandler; //----------------------------------------------------------------------------- // wxNonOwnedWindow @@ -28,7 +29,7 @@ struct wxDFBWindowEvent; // wxFrame is non-owned, because even though it can have a parent, it's // location is independent of it. This class is for internal use only, it's // the base class for wxTopLevelWindow and wxPopupWindow. -class WXDLLIMPEXP_CORE wxNonOwnedWindow : public wxWindow +class WXDLLIMPEXP_CORE wxNonOwnedWindow : public wxNonOwnedWindowBase { public: // construction @@ -59,6 +60,9 @@ public: virtual void Update(); + virtual void Raise(); + virtual void Lower(); + // implementation from now on // -------------------------- @@ -76,7 +80,7 @@ protected: virtual wxIDirectFBSurfacePtr ObtainDfbSurface() const; - // overriden wxWindow methods + // overridden wxWindow methods virtual void DoGetPosition(int *x, int *y) const; virtual void DoGetSize(int *width, int *height) const; virtual void DoMoveWindow(int x, int y, int width, int height); @@ -88,7 +92,7 @@ protected: // wxWindows as in wx void SetDfbFocus(); - // overriden in wxTopLevelWindowDFB, there's no common handling for wxTLW + // overridden in wxTopLevelWindowDFB, there's no common handling for wxTLW // and wxPopupWindow to be done here virtual void HandleFocusEvent(const wxDFBWindowEvent& WXUNUSED(event_)) {} @@ -115,8 +119,8 @@ private: // are we currently painting some area of this TLW? bool m_isPainting; - friend class wxGUIEventLoop; // for HandleDFBWindowEvent - friend class wxWindowDFB; // for SetDfbFocus + friend class wxDFBEventsHandler; // for HandleDFBWindowEvent + friend class wxWindowDFB; // for SetDfbFocus }; #endif // _WX_DFB_NONOWNEDWND_H_