- if (view->GetConfirmButton())
- view->GetConfirmButton()->Enable(true);
- if (view->GetCancelButton())
- view->GetCancelButton()->Enable(true);
- if (view->GetEditButton())
- view->GetEditButton()->Enable(true);
- if (view->GetValueText())
- view->GetValueText()->Enable((GetFlags() & wxPROP_ALLOW_TEXT_EDITING) == wxPROP_ALLOW_TEXT_EDITING);
- return true;
+ if (view->GetConfirmButton())
+ view->GetConfirmButton()->Enable();
+
+ if (view->GetCancelButton())
+ view->GetCancelButton()->Enable();
+
+ if (view->GetEditButton())
+ view->GetEditButton()->Enable();
+
+ if (view->GetValueText())
+ view->GetValueText()->Enable((GetFlags() & wxPROP_ALLOW_TEXT_EDITING) == wxPROP_ALLOW_TEXT_EDITING);
+
+ return true;