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:
@@ -1822,11 +1822,7 @@ protected:
|
|||||||
wxVariant* pValue = NULL,
|
wxVariant* pValue = NULL,
|
||||||
unsigned int selFlags = 0 );
|
unsigned int selFlags = 0 );
|
||||||
|
|
||||||
void SetFocusOnCanvas()
|
void SetFocusOnCanvas();
|
||||||
{
|
|
||||||
m_canvas->SetFocusIgnoringChildren();
|
|
||||||
m_editorFocused = 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
bool DoHideProperty( wxPGProperty* p, bool hide, int flags );
|
bool DoHideProperty( wxPGProperty* p, bool hide, int flags );
|
||||||
|
|
||||||
|
@@ -4113,6 +4113,12 @@ void wxPropertyGrid::SetVirtualWidth( int width )
|
|||||||
m_pState->SetVirtualWidth( width );
|
m_pState->SetVirtualWidth( width );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void wxPropertyGrid::SetFocusOnCanvas()
|
||||||
|
{
|
||||||
|
m_canvas->SetFocusIgnoringChildren();
|
||||||
|
m_editorFocused = 0;
|
||||||
|
}
|
||||||
|
|
||||||
// -----------------------------------------------------------------------
|
// -----------------------------------------------------------------------
|
||||||
// wxPropertyGrid mouse event handling
|
// wxPropertyGrid mouse event handling
|
||||||
// -----------------------------------------------------------------------
|
// -----------------------------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user