Added separate SetFocusOnCanvas() function so that m_editorFocused will be more reliable updated

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Jaakko Salli
2008-09-17 17:34:22 +00:00
parent 68545f7889
commit c29e714c37
2 changed files with 13 additions and 8 deletions

View File

@@ -1819,6 +1819,12 @@ protected:
wxVariant* pValue = NULL,
unsigned int selFlags = 0 );
void SetFocusOnCanvas()
{
m_canvas->SetFocusIgnoringChildren();
m_editorFocused = 0;
}
bool DoHideProperty( wxPGProperty* p, bool hide, int flags );
private: