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:
@@ -1885,7 +1885,7 @@ bool wxLongStringProperty::OnEvent( wxPropertyGrid* propGrid, wxWindow* WXUNUSED
|
||||
if ( propGrid->IsMainButtonEvent(event) )
|
||||
{
|
||||
// Update the value
|
||||
wxVariant useValue = propGrid->GetPendingEditedValue();
|
||||
wxVariant useValue = propGrid->GetUncommittedPropertyValue();
|
||||
|
||||
wxString val1 = useValue.GetString();
|
||||
wxString val_orig = val1;
|
||||
@@ -2487,7 +2487,7 @@ bool wxArrayStringProperty::OnButtonClick( wxPropertyGrid* propGrid,
|
||||
const wxChar* cbt )
|
||||
{
|
||||
// Update the value
|
||||
wxVariant useValue = propGrid->GetPendingEditedValue();
|
||||
wxVariant useValue = propGrid->GetUncommittedPropertyValue();
|
||||
|
||||
if ( !propGrid->EditorValidate() )
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user