]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/window.h
Fix tracking rectangles in 64-bit build by remembering the tag as the 64-bit integer...
[wxWidgets.git] / include / wx / window.h
index e1fb16519b455ba44b43add13ee764c07f33f7bb..013426c8f80e1877375d33536654f199091830d7 100644 (file)
@@ -620,6 +620,11 @@ public:
 
     static wxWindow *DoFindFocus() /* = 0: implement in derived classes */;
 
+        // return true if the window has focus (handles composite windows
+        // correctly - returns true if GetMainWindowOfCompositeControl()
+        // has focus)
+    virtual bool HasFocus() const;
+
         // can this window have focus in principle?
         //
         // the difference between AcceptsFocus[FromKeyboard]() and CanAcceptFocus