wxPropertyGrid::IsEditorFocused() is now public

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Jaakko Salli
2009-02-26 19:00:46 +00:00
parent 36835e02e3
commit 4584344296
2 changed files with 10 additions and 3 deletions

View File

@@ -880,6 +880,11 @@ public:
/** Returns current vertical spacing. */ /** Returns current vertical spacing. */
int GetVerticalSpacing() const { return (int)m_vspacing; } 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. /** Returns true if editor's value was marked modified.
*/ */
bool IsEditorsValueModified() const bool IsEditorsValueModified() const
@@ -1780,9 +1785,6 @@ protected:
void ImprovedClientToScreen( int* px, int* py ); 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 // Called by focus event handlers. newFocused is the window that becomes
// focused. // focused.
void HandleFocusChange( wxWindow* newFocused ); void HandleFocusChange( wxWindow* newFocused );

View File

@@ -686,6 +686,11 @@ public:
*/ */
bool IsAnyModified() const; 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 Returns true if updating is frozen (ie. Freeze() called but not
yet Thaw() ). yet Thaw() ).