class TreeMultiItemWindow !!!167426.cpp!!! TreeMultiItemWindow(inout parent : TreeMultiItemNode, in name : wxString = wxEmptyString) _name = name; // TODO: Enter your constructor code here !!!167554.cpp!!! ~TreeMultiItemWindow() if(_window) _window->Destroy(); !!!167810.cpp!!! AssignWindow(inout wnd : wxWindow) : void // delete previous, assign new (even if zero) if(_window) _window->Destroy(); _window = wnd; // recalculate the size if(wnd) { wxSize size; // resize the sized control by sizer or // by single window. For a sizer handled window // GetBestSize returns the optimal size /// \todo This might need rivision for retaining the sizer size /// maybe we need to check whether size is <> 0,0 before get best size if(wnd->GetSizer()) size = wnd->GetBestSize(); else size = wnd->GetSize(); _height = size.GetHeight(); _width = size.GetWidth(); } else { _height = 0; _width = 0; } !!!168834.cpp!!! SetCheckboxState(in state : int) : void TreeMultiItemBase::SetCheckboxState(state); // enable or disable the window if(GetCheckbox() && GetWindow() && state != 2) GetWindow()->Enable(state == 1);