]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dfb/nonownedwnd.h
added wxWeakRef<T> (slightly modified patch 1860953)
[wxWidgets.git] / include / wx / dfb / nonownedwnd.h
index 6c4e731d5ca33ef20d3e925ae3bb6a357581ed5d..aa1a7f410e17aa1ccba120268514b0ce8586ff23 100644 (file)
@@ -1,6 +1,6 @@
 ///////////////////////////////////////////////////////////////////////////////
 // Name:        wx/dfb/nonownedwnd.h
 ///////////////////////////////////////////////////////////////////////////////
 // Name:        wx/dfb/nonownedwnd.h
-// Purpose:     declares wxNonTopLevelWindow class
+// Purpose:     declares wxNonOwnedWindow class
 // Author:      Vaclav Slavik
 // Modified by:
 // Created:     2006-12-24
 // Author:      Vaclav Slavik
 // Modified by:
 // Created:     2006-12-24
@@ -88,6 +88,10 @@ protected:
     // wxWindows as in wx
     void SetDfbFocus();
 
     // 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();
 private:
     // do queued painting in idle time
     void HandleQueuedPaintRequests();
@@ -111,8 +115,8 @@ private:
     // are we currently painting some area of this TLW?
     bool m_isPainting;
 
     // are we currently painting some area of this TLW?
     bool m_isPainting;
 
-    friend class wxEventLoop; // for HandleDFBWindowEvent
-    friend class wxWindowDFB; // for SetDfbFocus
+    friend class wxGUIEventLoop; // for HandleDFBWindowEvent
+    friend class wxWindowDFB;    // for SetDfbFocus
 };
 
 #endif // _WX_DFB_NONOWNEDWND_H_
 };
 
 #endif // _WX_DFB_NONOWNEDWND_H_