Changeset 56169 for wxWidgets/trunk/src/propgrid/props.cpp
- Timestamp:
- 10/08/08 11:15:10 (3 months ago)
- Files:
-
- 1 modified
-
wxWidgets/trunk/src/propgrid/props.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wxWidgets/trunk/src/propgrid/props.cpp
r56147 r56169 1559 1559 { 1560 1560 // Update property value from editor, if necessary 1561 PrepareValueForDialogEditing(propGrid);1562 1563 1561 wxSize dlg_sz(300,400); 1564 1562 … … 1888 1886 { 1889 1887 // Update the value 1890 PrepareValueForDialogEditing(propGrid);1891 1892 wxString val1 = GetValueAsString(0);1888 wxVariant useValue = propGrid->GetPendingEditedValue(); 1889 1890 wxString val1 = useValue.GetString(); 1893 1891 wxString val_orig = val1; 1894 1892 … … 2490 2488 { 2491 2489 // Update the value 2492 PrepareValueForDialogEditing(propGrid);2490 wxVariant useValue = propGrid->GetPendingEditedValue(); 2493 2491 2494 2492 if ( !propGrid->EditorValidate() ) … … 2507 2505 strEdDlg->SetCustomButton(cbt, this); 2508 2506 2509 dlg->SetDialogValue( wxVariant(m_value));2507 dlg->SetDialogValue( useValue ); 2510 2508 dlg->Create(propGrid, wxEmptyString, m_label); 2511 2509
