GetPendingEditedValue() -> GetUncommittedPropertyValue() (more consistent API naming. Eg. there is also CommitChangesFromEditor())
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -531,7 +531,7 @@ bool wxFontProperty::OnEvent( wxPropertyGrid* propgrid, wxWindow* WXUNUSED(prima
|
||||
if ( propgrid->IsMainButtonEvent(event) )
|
||||
{
|
||||
// Update value from last minute changes
|
||||
wxVariant useValue = propgrid->GetPendingEditedValue();
|
||||
wxVariant useValue = propgrid->GetUncommittedPropertyValue();
|
||||
|
||||
wxFontData data;
|
||||
wxFont font;
|
||||
@@ -1803,7 +1803,7 @@ bool wxMultiChoiceProperty::OnEvent( wxPropertyGrid* propgrid,
|
||||
if ( propgrid->IsMainButtonEvent(event) )
|
||||
{
|
||||
// Update the value
|
||||
wxVariant useValue = propgrid->GetPendingEditedValue();
|
||||
wxVariant useValue = propgrid->GetUncommittedPropertyValue();
|
||||
|
||||
wxArrayString labels = m_choices.GetLabels();
|
||||
unsigned int choiceCount;
|
||||
|
Reference in New Issue
Block a user