MCPcopy Create free account
hub / github.com/cjcliffe/CubicSDR / addBookmarkChoice

Method addBookmarkChoice

src/forms/Bookmark/BookmarkView.cpp:812–818  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

810}
811
812void BookmarkView::addBookmarkChoice(wxWindow *parent) {
813 updateBookmarkChoices();
814 bookmarkChoice = new wxChoice(parent, wxID_ANY, wxDefaultPosition, wxDefaultSize, bookmarkChoices, wxEXPAND, wxDefaultValidator, "Bookmark");
815 bookmarkChoice->Select(0);
816 bookmarkChoice->Connect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler(BookmarkView::onBookmarkChoice), nullptr, this);
817 parent->GetSizer()->Add(bookmarkChoice, 0, wxALL | wxEXPAND);
818}
819
820
821void BookmarkView::onBookmarkChoice( wxCommandEvent & /* event */ ) {

Callers

nothing calls this directly

Calls 1

AddMethod · 0.80

Tested by

no test coverage detected