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

Method BookmarkViewVisualDragItem

src/forms/Bookmark/BookmarkView.cpp:27–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25
26
27BookmarkViewVisualDragItem::BookmarkViewVisualDragItem(const wxString& labelValue) : wxDialog(nullptr, wxID_ANY, L"", wxPoint(20,20), wxSize(-1,-1), wxFRAME_TOOL_WINDOW | wxNO_BORDER | wxSTAY_ON_TOP | wxALL ) {
28
29 auto *sizer = new wxBoxSizer(wxVERTICAL);
30 auto *label = new wxStaticText( this, wxID_ANY, labelValue, wxDefaultPosition, wxDefaultSize, wxEXPAND );
31
32 sizer->Add(label, 1, wxALL | wxEXPAND, 5);
33
34 SetSizerAndFit(sizer);
35 Show();
36}
37
38class ActionDialogRemoveBookmark : public ActionDialog {
39public:

Callers

nothing calls this directly

Calls 1

AddMethod · 0.80

Tested by

no test coverage detected