wxPanel::Create( parent,
id, pos,
size, style );
98GetSizer()->SetSizeHints(
this);
138wxBoxSizer* itemBoxSizer2 =
newwxBoxSizer(wxVERTICAL);
139itemPanel1->SetSizer(itemBoxSizer2);
141wxBoxSizer* itemBoxSizer3 =
newwxBoxSizer(wxHORIZONTAL);
142itemBoxSizer2->Add(itemBoxSizer3, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5);
144wxButton* itemButton4 =
newwxButton( itemPanel1,
ID_ACCEPT_BTN,
_(
"Accept"), wxDefaultPosition, wxDefaultSize, 0 );
145itemBoxSizer3->Add(itemButton4, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
147wxButton* itemButton5 =
newwxButton( itemPanel1, wxID_CLOSE,
_(
"&Close"), wxDefaultPosition, wxDefaultSize, 0 );
148itemBoxSizer3->Add(itemButton5, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
152itemBoxSizer3->Add(
m_LeaveUp, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
201wxWindow* w = this->GetParent();
216wxOK | wxICON_ERROR,
NULL);
220wxMessageBox(
ToWxString(
"No data was selected"),
221 wxT(
"Error"), wxOK | wxICON_ERROR,
NULL);
237wxWindow* w = this->GetParent();
251wxWindow* win = this->GetParent();
252 while(win !=
nullptr) {
253wxDialog* dlg_parent =
dynamic_cast<wxDialog*
>(win);
259wxFrame* fr_parent =
dynamic_cast<wxFrame*
>(win);
265win = win->GetParent();
virtual void ExecuteCmd(CRef< CCmdComposite > cmd)
virtual CRef< CCmdComposite > GetCommand()=0
virtual string GetErrorMessage()=0
bool GetTopLevelSeqEntryAndProcessor()
static bool ShowToolTips()
Should we show tooltips?
wxIcon GetIconResource(const wxString &name)
Retrieves icon resources.
bool Create(wxWindow *parent, wxWindowID id=ID_COKCANCELPANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL)
Creation.
void CreateControls()
Creates the controls and sizers.
~COkCancelPanel()
Destructor.
COkCancelPanel()
Constructors.
void Init()
Initialises member variables.
wxBitmap GetBitmapResource(const wxString &name)
Retrieves bitmap resources.
void OnAcceptBtnClick(wxCommandEvent &event)
wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_ACCEPT_BTN
void OnClickCancel(wxCommandEvent &event)
wxEVT_COMMAND_BUTTON_CLICKED event handler for wxID_CLOSE
@ ID_LEAVE_DIALOG_UP_CHKBOX
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
static bool IsBlank(const CTempString str, SIZE_TYPE pos=0)
Check if a string is blank (has no text).
void ReportUsage(const wxString &dialog_name)
Report opening & accepting events in the editing package.
const struct ncbi::grid::netcache::search::fields::SIZE size
USING_SCOPE(ncbi::objects)
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