git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64563
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{
int keycode = event.GetKeyCode();
{
int keycode = event.GetKeyCode();
- // If key code was registered as action trigger, then trigger that action
if ( keycode == WXK_ESCAPE )
{
DoEndLabelEdit(false);
}
else
{
if ( keycode == WXK_ESCAPE )
{
DoEndLabelEdit(false);
}
else
{
+ HandleKeyEvent(event, true);
p = wxPropertyGridIterator::OneStep( m_pState, wxPG_ITERATE_VISIBLE, p, selectDir );
if ( p )
{
p = wxPropertyGridIterator::OneStep( m_pState, wxPG_ITERATE_VISIBLE, p, selectDir );
if ( p )
{
- // If editor was focused, then make the next editor focused as well
+ int reopenLabelEditorCol = -1;
+
+ {
+ // If editor was focused, then make the next editor
+ // focused as well
selFlags |= wxPG_SEL_FOCUS;
selFlags |= wxPG_SEL_FOCUS;
+ }
+ else
+ {
+ // Also maintain the same label editor focus state
+ if ( m_labelEditor )
+ reopenLabelEditorCol = m_selColumn;
+ }
+
DoSelectProperty(p, selFlags);
DoSelectProperty(p, selFlags);
+
+ if ( reopenLabelEditorCol >= 0 )
+ DoBeginLabelEdit(reopenLabelEditorCol);