Move body of SetFocusOnCanvas to .cpp file

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2008-09-30 07:15:40 +00:00
parent 733b7d1eb3
commit 0ca422ef4c
2 changed files with 7 additions and 5 deletions

View File

@@ -4113,6 +4113,12 @@ void wxPropertyGrid::SetVirtualWidth( int width )
m_pState->SetVirtualWidth( width );
}
void wxPropertyGrid::SetFocusOnCanvas()
{
m_canvas->SetFocusIgnoringChildren();
m_editorFocused = 0;
}
// -----------------------------------------------------------------------
// wxPropertyGrid mouse event handling
// -----------------------------------------------------------------------