git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56211
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
editor is activate and string edited by user represents valid,
uncommitted property value.
*/
editor is activate and string edited by user represents valid,
uncommitted property value.
*/
- wxVariant GetPendingEditedValue();
+ wxVariant GetUncommittedPropertyValue();
/** Returns cell background colour of a property. */
wxColour GetPropertyBackgroundColour( wxPGPropArg id ) const;
/** Returns cell background colour of a property. */
wxColour GetPropertyBackgroundColour( wxPGPropArg id ) const;
editor is activate and string edited by user represents valid,
uncommitted property value.
*/
editor is activate and string edited by user represents valid,
uncommitted property value.
*/
- wxVariant GetPendingEditedValue();
+ wxVariant GetUncommittedPropertyValue();
/**
Returns cell background colour of a property.
/**
Returns cell background colour of a property.
{
if ( propgrid->IsMainButtonEvent(event) )
{
{
if ( propgrid->IsMainButtonEvent(event) )
{
- wxVariant useValue = propgrid->GetPendingEditedValue();
+ wxVariant useValue = propgrid->GetUncommittedPropertyValue();
wxFontData fontData;
fontData << useValue;
wxFontData fontData;
fontData << useValue;
if ( propgrid->IsMainButtonEvent(event) )
{
// Update the value in case of last minute changes
if ( propgrid->IsMainButtonEvent(event) )
{
// Update the value in case of last minute changes
- wxVariant useValue = propgrid->GetPendingEditedValue();
+ wxVariant useValue = propgrid->GetUncommittedPropertyValue();
wxArrayDouble& value = wxArrayDoubleRefFromVariant(useValue);
wxArrayDouble& value = wxArrayDoubleRefFromVariant(useValue);
if ( propgrid->IsMainButtonEvent(event) )
{
// Update value from last minute changes
if ( propgrid->IsMainButtonEvent(event) )
{
// Update value from last minute changes
- wxVariant useValue = propgrid->GetPendingEditedValue();
+ wxVariant useValue = propgrid->GetUncommittedPropertyValue();
wxFontData data;
wxFont font;
wxFontData data;
wxFont font;
if ( propgrid->IsMainButtonEvent(event) )
{
// Update the value
if ( propgrid->IsMainButtonEvent(event) )
{
// Update the value
- wxVariant useValue = propgrid->GetPendingEditedValue();
+ wxVariant useValue = propgrid->GetUncommittedPropertyValue();
wxArrayString labels = m_choices.GetLabels();
unsigned int choiceCount;
wxArrayString labels = m_choices.GetLabels();
unsigned int choiceCount;
// -----------------------------------------------------------------------
// -----------------------------------------------------------------------
-wxVariant wxPropertyGrid::GetPendingEditedValue()
+wxVariant wxPropertyGrid::GetUncommittedPropertyValue()
{
wxPGProperty* prop = GetSelectedProperty();
{
wxPGProperty* prop = GetSelectedProperty();
if ( propGrid->IsMainButtonEvent(event) )
{
// Update the value
if ( propGrid->IsMainButtonEvent(event) )
{
// Update the value
- wxVariant useValue = propGrid->GetPendingEditedValue();
+ wxVariant useValue = propGrid->GetUncommittedPropertyValue();
wxString val1 = useValue.GetString();
wxString val_orig = val1;
wxString val1 = useValue.GetString();
wxString val_orig = val1;
const wxChar* cbt )
{
// Update the value
const wxChar* cbt )
{
// Update the value
- wxVariant useValue = propGrid->GetPendingEditedValue();
+ wxVariant useValue = propGrid->GetUncommittedPropertyValue();
if ( !propGrid->EditorValidate() )
return false;
if ( !propGrid->EditorValidate() )
return false;