SetExtraStyle(wxWS_EX_BLOCK_EVENTS);
94wxPanel::Create( parent,
id, pos,
size, style );
99GetSizer()->SetSizeHints(
this);
140wxBoxSizer* itemBoxSizer2 =
newwxBoxSizer(wxHORIZONTAL);
141itemPanel1->SetSizer(itemBoxSizer2);
143 m_DbCtrl=
newwxTextCtrl( itemPanel1,
ID_TEXTCTRL31, wxEmptyString, wxDefaultPosition, wxSize(100, -1), 0 );
144itemBoxSizer2->Add(
m_DbCtrl, 0, wxALIGN_CENTER_VERTICAL|wxALL, 0);
147itemBoxSizer2->Add(
m_ObjectIdCtrl, 0, wxALIGN_CENTER_VERTICAL|wxALL, 0);
155 if(!wxPanel::TransferDataToWindow())
158 if(
m_Tag->IsSetDb()) {
161 if(
m_Tag->IsSetTag()) {
162 if(
m_Tag->GetTag().IsId()) {
164}
else if(
m_Tag->GetTag().IsStr()) {
179 static CRegexpall_digits_regex(
"^[0-9]+$");
186 if(!wxPanel::TransferDataFromWindow())
202 m_Tag->SetTag().SetStr(
id);
260wxTextCtrl* item = (wxTextCtrl*)event.GetEventObject();
264wxWindow* parent = this->GetParent();
268 while(parent && !dbxrefpanel) {
269parent = parent->GetParent();
void AddLastDbxref(wxWindow *link)
wxBitmap GetBitmapResource(const wxString &name)
Retrieves bitmap resources.
virtual bool TransferDataToWindow()
bool Create(wxWindow *parent, wxWindowID id=ID_CSINGLEDBXREF_SUBPANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL)
Creation.
CRef< objects::CDbtag > m_Tag
wxTextCtrl * m_ObjectIdCtrl
virtual bool TransferDataFromWindow()
void Init()
Initialises member variables.
wxIcon GetIconResource(const wxString &name)
Retrieves icon resources.
void CreateControls()
Creates the controls and sizers.
CRef< objects::CDbtag > GetDbtag()
void OnTextctrl32TextUpdated(wxCommandEvent &event)
wxEVT_COMMAND_TEXT_UPDATED event handler for ID_TEXTCTRL32
CSingleDbxref_SubPanel()
Constructors.
static bool ShowToolTips()
Should we show tooltips?
~CSingleDbxref_SubPanel()
Destructor.
static const char * str(char *buf, int n)
bool IsMatch(CTempString str, TMatch flags=fMatch_default)
Check existence substring which match a specified pattern.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
static int StringToInt(const CTempString str, TStringToNumFlags flags=0, int base=10)
Convert string to int.
static bool IsBlank(const CTempString str, SIZE_TYPE pos=0)
Check if a string is blank (has no text).
static enable_if< is_arithmetic< TNumeric >::value||is_convertible< TNumeric, Int8 >::value, string >::type NumericToString(TNumeric value, TNumToStringFlags flags=0, int base=10)
Convert numeric value to string.
const struct ncbi::grid::netcache::search::fields::SIZE size
static bool s_IsAllDigits(const string &str)
C++ wrappers for the Perl-compatible regular expression (PCRE) library.
wxString ToWxString(const string &s)
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