| 642 | virtual wxUIObject *Duplicate() { wxUIObject *o = new wxUIDataMatrixObject; o->Copy(this); return o; } |
| 643 | virtual bool IsNativeObject() { return true; } |
| 644 | virtual wxWindow *CreateNative(wxWindow *parent) { |
| 645 | AFDataMatrixCtrl *dm = new AFDataMatrixCtrl(parent, wxID_ANY, wxDefaultPosition, wxDefaultSize, Property("Layout").GetInteger() == 1, Property("ColLabels").GetString(), Property("RowLabels").GetString(), Property("Choices").GetString(), Property("ChoiceColumn").GetInteger(),false, Property("HorizontalLabel").GetString(), Property("VerticalLabel").GetString()); |
| 646 | dm->PasteAppendRows(Property("PasteAppendRows").GetBoolean()); |
| 647 | dm->PasteAppendCols(Property("PasteAppendCols").GetBoolean()); |
| 648 | dm->ShowButtons(Property("ShowButtons").GetBoolean()); |
| 649 | dm->ShowRows(Property("ShowRows").GetBoolean()); |
| 650 | dm->ShowRowLabels(Property("ShowRowLabels").GetBoolean()); |
| 651 | dm->SetRowLabels(Property("RowLabels").GetString()); |
| 652 | dm->ShadeR0C0(Property("ShadeR0C0").GetBoolean()); |
| 653 | dm->SetR0C0Label(Property("LeftSideLabel").GetString()); |
| 654 | dm->ShadeC0(Property("ShadeC0").GetBoolean()); |
| 655 | dm->ShowCols(Property("ShowCols").GetBoolean()); |
| 656 | dm->ShowColLabels(Property("ShowColLabels").GetBoolean()); |
| 657 | dm->SetColLabels(Property("ColLabels").GetString()); |
| 658 | dm->SetNumRowsLabel(Property("NumRowsLabel").GetString()); |
| 659 | dm->SetNumColsLabel(Property("NumColsLabel").GetString()); |
| 660 | dm->ShowCol(Property("ShowColumn").GetInteger(), true); |
| 661 | dm->ShowCol(Property("HideColumn").GetInteger(), false); |
| 662 | dm->ColorMap(Property("ColorMap").GetBoolean()); |
| 663 | return AssignNative(dm); |
| 664 | } |
| 665 | virtual void OnPropertyChanged(const wxString &id, wxUIProperty *p) |
| 666 | { |
| 667 | if (AFDataMatrixCtrl *dm = GetNative<AFDataMatrixCtrl>()) |
nothing calls this directly
no test coverage detected