Have wxPGTextCtrlEditor::UpdateControl() update wxTextCtrl font boldness based on property's modified-status

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Jaakko Salli
2008-12-26 18:46:08 +00:00
parent 2f1c8faf2c
commit f521bae665
7 changed files with 48 additions and 18 deletions

View File

@@ -3636,6 +3636,15 @@ bool wxPropertyGrid::UnfocusEditor()
// -----------------------------------------------------------------------
void wxPropertyGrid::RefreshEditor()
{
if ( !m_selected || !m_wndEditor || m_frozen )
return;
m_selected->UpdateControl(m_wndEditor);
}
// -----------------------------------------------------------------------
// This method is not inline because it called dozens of times
// (i.e. two-arg function calls create smaller code size).
bool wxPropertyGrid::DoClearSelection()