(parent,
id, caption, pos,
size, style);
78SetExtraStyle(wxWS_EX_BLOCK_EVENTS);
79CDialog::Create( parent,
id, caption, pos,
size, style );
84GetSizer()->SetSizeHints(
this);
110wxBoxSizer* itemBoxSizer2 =
newwxBoxSizer(wxVERTICAL);
111itemCDialog1->SetSizer(itemBoxSizer2);
113wxStaticText* itemStaticText3 =
newwxStaticText( itemCDialog1, wxID_STATIC,
_(
"Please, enter short description of the parameter set:"), wxDefaultPosition, wxDefaultSize, 0 );
114itemBoxSizer2->Add(itemStaticText3, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5);
116 m_DescrCtrl=
newwxTextCtrl( itemCDialog1,
ID_TEXTCTRL3, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
117itemBoxSizer2->Add(
m_DescrCtrl, 0, wxGROW|wxALL, 5);
119wxStdDialogButtonSizer* itemStdDialogButtonSizer5 =
newwxStdDialogButtonSizer;
121itemBoxSizer2->Add(itemStdDialogButtonSizer5, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5);
122wxButton* itemButton6 =
newwxButton( itemCDialog1, wxID_OK,
_(
"&OK"), wxDefaultPosition, wxDefaultSize, 0 );
123itemStdDialogButtonSizer5->AddButton(itemButton6);
125wxButton* itemButton7 =
newwxButton( itemCDialog1, wxID_CANCEL,
_(
"&Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
126itemStdDialogButtonSizer5->AddButton(itemButton7);
128itemStdDialogButtonSizer5->Realize();
137 if(!CDialog::TransferDataFromWindow())
140wxTextCtrl* textCtrl = (wxTextCtrl*)FindWindow(
ID_TEXTCTRL3);
144wxMessageBox(
wxT(
"Please, enter non empty description"),
wxT(
"Error"),
145wxOK | wxICON_ERROR,
this);
static bool ShowToolTips()
wxBitmap GetBitmapResource(const wxString &name)
wxIcon GetIconResource(const wxString &name)
virtual bool TransferDataFromWindow()
bool Create(wxWindow *parent, wxWindowID id=ID_CADDQUICKLAUNCHDLG, const wxString &caption=_("Add Quick Launch Entry"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL)
virtual void SetRegistryPath(const string &path)
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
static string TruncateSpaces(const string &str, ETrunc where=eTrunc_Both)
Truncate whitespace in a string.
const struct ncbi::grid::netcache::search::fields::SIZE size
string ToStdString(const wxString &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