]> git.saurik.com Git - wxWidgets.git/commitdiff
wxPropertyGrid::IsEditorFocused() is now public
authorJaakko Salli <jaakko.salli@dnainternet.net>
Thu, 26 Feb 2009 19:00:46 +0000 (19:00 +0000)
committerJaakko Salli <jaakko.salli@dnainternet.net>
Thu, 26 Feb 2009 19:00:46 +0000 (19:00 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/propgrid/propgrid.h
interface/wx/propgrid/propgrid.h

index 2091984aebf6ed22bee14bda3b10e85975244eb7..a43fdd5648f77b109f75f4326b6749bbe1199f9a 100644 (file)
@@ -880,6 +880,11 @@ public:
     /** Returns current vertical spacing. */
     int GetVerticalSpacing() const { return (int)m_vspacing; }
 
+    /**
+        Returns @true if a property editor control has focus.
+    */
+    bool IsEditorFocused() const;
+
     /** Returns true if editor's value was marked modified.
     */
     bool IsEditorsValueModified() const
@@ -1780,9 +1785,6 @@ protected:
 
     void ImprovedClientToScreen( int* px, int* py );
 
-    // Returns True if editor control has focus
-    bool IsEditorFocused() const;
-
     // Called by focus event handlers. newFocused is the window that becomes
     // focused.
     void HandleFocusChange( wxWindow* newFocused );
index 6e84d6e2afcdf156f5ae478b4f92467533452c35..21de0b07085604c2437d091a67174eaa56ad10d5 100644 (file)
@@ -686,6 +686,11 @@ public:
     */
     bool IsAnyModified() const;
 
+    /**
+        Returns @true if a property editor control has focus.
+    */
+    bool IsEditorFocused() const;
+
     /**
         Returns true if updating is frozen (ie. Freeze() called but not
         yet Thaw() ).