]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dfb/nonownedwnd.h
no changes, just remove #if'd out code
[wxWidgets.git] / include / wx / dfb / nonownedwnd.h
index 96d2ebbf88ba0e38ba62bb015a593776269cfc12..86b7200aa18109d81fcc507ac14b7c03f9ea92b0 100644 (file)
@@ -1,6 +1,6 @@
 ///////////////////////////////////////////////////////////////////////////////
 // Name:        wx/dfb/nonownedwnd.h
-// Purpose:     declares wxNonTopLevelWindow class
+// Purpose:     declares wxNonOwnedWindow class
 // Author:      Vaclav Slavik
 // Modified by:
 // Created:     2006-12-24
@@ -18,6 +18,7 @@
 wxDFB_DECLARE_INTERFACE(IDirectFBWindow);
 class wxDfbQueuedPaintRequests;
 struct wxDFBWindowEvent;
+class wxDFBEventsHandler;
 
 //-----------------------------------------------------------------------------
 // wxNonOwnedWindow
@@ -59,6 +60,9 @@ public:
 
     virtual void Update();
 
+    virtual void Raise();
+    virtual void Lower();
+
     // implementation from now on
     // --------------------------
 
@@ -88,6 +92,10 @@ protected:
     // wxWindows as in wx
     void SetDfbFocus();
 
+    // overriden 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();
@@ -111,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_