| 741 | return AssignNative(dm); |
| 742 | } |
| 743 | virtual void OnPropertyChanged(const wxString& id, wxUIProperty* p) |
| 744 | { |
| 745 | if (AFDataArrayTableCtrl* dm = GetNative<AFDataArrayTableCtrl>()) |
| 746 | { |
| 747 | if (id == "PasteAppendRows") dm->PasteAppendRows(p->GetBoolean()); |
| 748 | if (id == "PasteAppendCols") dm->PasteAppendCols(p->GetBoolean()); |
| 749 | if (id == "ShadeR0C0") dm->ShadeR0C0(p->GetBoolean()); |
| 750 | if (id == "LeftSideLabel") dm->SetR0C0Label(p->GetString()); |
| 751 | if (id == "ShadeC0") dm->ShadeC0(p->GetBoolean()); |
| 752 | if (id == "ShowButtons") dm->ShowButtons(p->GetBoolean()); |
| 753 | if (id == "ShowCols") dm->ShowCols(p->GetBoolean()); |
| 754 | if (id == "ShowRows") dm->ShowRows(p->GetBoolean()); |
| 755 | if (id == "ShowRowLabels") dm->ShowRowLabels(p->GetBoolean()); |
| 756 | if (id == "ShowColLabels") dm->ShowColLabels(p->GetBoolean()); |
| 757 | // if (id == "ColLabels") dm->SetColLabels(p->GetString()); |
| 758 | if (id == "NumRowsLabel") dm->SetNumRowsLabel(p->GetString()); |
| 759 | if (id == "NumColsLabel") dm->SetNumColsLabel(p->GetString()); |
| 760 | if (id == "ShowColumn") dm->ShowCol(p->GetInteger(), true); |
| 761 | if (id == "HideColumn") dm->ShowCol(p->GetInteger(), false); |
| 762 | } |
| 763 | } |
| 764 | |
| 765 | }; |
| 766 |
nothing calls this directly
no test coverage detected