| 663 | return AssignNative(dm); |
| 664 | } |
| 665 | virtual void OnPropertyChanged(const wxString &id, wxUIProperty *p) |
| 666 | { |
| 667 | if (AFDataMatrixCtrl *dm = GetNative<AFDataMatrixCtrl>()) |
| 668 | { |
| 669 | if (id == "PasteAppendRows") dm->PasteAppendRows(p->GetBoolean()); |
| 670 | if (id == "PasteAppendCols") dm->PasteAppendCols(p->GetBoolean()); |
| 671 | if (id == "ShadeR0C0") dm->ShadeR0C0(p->GetBoolean()); |
| 672 | if (id == "LeftSideLabel") dm->SetR0C0Label(p->GetString()); |
| 673 | if (id == "ShadeC0") dm->ShadeC0(p->GetBoolean()); |
| 674 | if (id == "ShowButtons") dm->ShowButtons(p->GetBoolean()); |
| 675 | if (id == "ShowCols") dm->ShowCols(p->GetBoolean()); |
| 676 | if (id == "ShowRows") dm->ShowRows(p->GetBoolean()); |
| 677 | if (id == "ShowRowLabels") dm->ShowRowLabels(p->GetBoolean()); |
| 678 | if (id == "ShowColLabels") dm->ShowColLabels(p->GetBoolean()); |
| 679 | // if (id == "ColLabels") dm->SetColLabels(p->GetString()); |
| 680 | if (id == "NumRowsLabel") dm->SetNumRowsLabel(p->GetString()); |
| 681 | if (id == "NumColsLabel") dm->SetNumColsLabel(p->GetString()); |
| 682 | if (id == "ShowColumn") dm->ShowCol(p->GetInteger(), true); |
| 683 | if (id == "HideColumn") dm->ShowCol(p->GetInteger(), false); |
| 684 | if (id == "ColorMap") dm->ColorMap(p->GetBoolean()); |
| 685 | } |
| 686 | } |
| 687 | |
| 688 | }; |
| 689 |
nothing calls this directly
no test coverage detected