if ( m_inDoPropertyChanged )
return true;
+ wxWindow* editor = GetEditorControl();
+
m_pState->m_anyModified = 1;
m_inDoPropertyChanged = 1;
p->m_flags |= wxPG_PROP_MODIFIED;
if ( p == m_selected && (m_windowStyle & wxPG_BOLD_MODIFIED) )
{
- if ( m_wndEditor )
+ if ( editor )
SetCurControlBoldFont();
}
}
if ( pwc == m_selected && (m_windowStyle & wxPG_BOLD_MODIFIED) )
{
- if ( m_wndEditor )
+ if ( editor )
SetCurControlBoldFont();
}
// control.
if ( selFlags & wxPG_SEL_DIALOGVAL )
{
- if ( m_wndEditor )
- p->GetEditorClass()->UpdateControl(p, m_wndEditor);
+ if ( editor )
+ p->GetEditorClass()->UpdateControl(p, editor);
}
else
{