(parent,
id, caption, pos,
size, style);
82 bool CwxLabelEditDlg::Create( wxWindow* parent, wxWindowID
id,
constwxString& caption,
constwxPoint& pos,
constwxSize&
size,
longstyle )
85SetExtraStyle(wxWS_EX_BLOCK_EVENTS);
86wxDialog::Create( parent,
id, caption, pos,
size, style );
91GetSizer()->SetSizeHints(
this);
117wxBoxSizer* itemBoxSizer2 =
newwxBoxSizer(wxHORIZONTAL);
118itemDialog1->SetSizer(itemBoxSizer2);
120wxTextCtrl* itemTextCtrl3 =
newwxTextCtrl( itemDialog1,
ID_TEXTCTRL16,
wxT(
""), wxDefaultPosition, wxDefaultSize, 0 );
121itemBoxSizer2->Add(itemTextCtrl3, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
123wxStdDialogButtonSizer* itemStdDialogButtonSizer4 =
newwxStdDialogButtonSizer;
125itemBoxSizer2->Add(itemStdDialogButtonSizer4, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
126wxButton* itemButton5 =
newwxButton( itemDialog1, wxID_OK,
wxT(
"&OK"), wxDefaultPosition, wxDefaultSize, 0 );
127itemButton5->SetDefault();
128itemStdDialogButtonSizer4->AddButton(itemButton5);
130itemStdDialogButtonSizer4->Realize();
133itemTextCtrl3->SetValidator( wxTextValidator(wxFILTER_NONE, &
m_Label) );
170TransferDataFromWindow();
Tree subclass also has functions and data needed for rendering and selection.
CPhyloTree::TTreeIdx m_NodeIdx
wxBitmap GetBitmapResource(const wxString &name)
void OnOkClick(wxCommandEvent &event)
static bool ShowToolTips()
bool Create(wxWindow *parent, wxWindowID id=10018, const wxString &caption=wxT("Edit Label"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxCAPTION|wxSYSTEM_MENU|wxCLOSE_BOX)
void SetParams(CPhyloTree *tree, CPhyloTree::TTreeIdx node_idx)
wxIcon GetIconResource(const wxString &name)
string GetLabel(const CSeq_id &id)
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
const struct ncbi::grid::netcache::search::fields::SIZE size
wxString ToWxString(const string &s)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4