///////////////////////////////////////////////////////////////////////////////
// Name: wx/dfb/nonownedwnd.h
-// Purpose: declares wxNonTopLevelWindow class
+// Purpose: declares wxNonOwnedWindow class
// Author: Vaclav Slavik
// Modified by:
// Created: 2006-12-24
wxDFB_DECLARE_INTERFACE(IDirectFBWindow);
class wxDfbQueuedPaintRequests;
struct wxDFBWindowEvent;
+class wxDFBEventsHandler;
//-----------------------------------------------------------------------------
// wxNonOwnedWindow
virtual void Update();
+ virtual void Raise();
+ virtual void Lower();
+
// implementation from now on
// --------------------------
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);
// wxWindows as in wx
void SetDfbFocus();
+ // overridden in wxTopLevelWindowDFB, there's no common handling for wxTLW
+ // and wxPopupWindow to be done here
+ virtual void HandleFocusEvent(const wxDFBWindowEvent& WXUNUSED(event_)) {}
+
private:
// do queued painting in idle time
void HandleQueuedPaintRequests();
// 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_