Go to the SVN repository for this file.
32 #include "wx/imaglist.h" 40 #include <wx/bitmap.h> 54IMPLEMENT_DYNAMIC_CLASS(
CBondPanel, wxPanel )
69wxWindowID
id,
constwxPoint& pos,
constwxSize&
size,
longstyle )
80wxPanel::Create( parent,
id, pos,
size, style );
85GetSizer()->SetSizeHints(
this);
108wxBoxSizer* itemBoxSizer2 =
newwxBoxSizer(wxVERTICAL);
109itemPanel1->SetSizer(itemBoxSizer2);
111wxArrayString
types;
118 if(
i->second ==
m_Bond) selection = j;
124itemBoxSizer2->Add(
m_Choice, 0, wxALIGN_LEFT|wxALL, 5);
132 bool result= wxPanel::TransferDataFromWindow();
133 intselection =
m_Choice->GetSelection();
138 if(j == selection)
m_Bond=
i->second;
#define ID_BONDPANEL_CHOICE
TBondMap::const_iterator const_iterator
const_iterator end() const
const_iterator begin() const
bool Create(wxWindow *parent, wxWindowID id=10027, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL)
Creation.
~CBondPanel()
Destructor.
void CreateControls()
Creates the controls and sizers.
void Init()
Initialises member variables.
wxIcon GetIconResource(const wxString &name)
Retrieves icon resources.
CSeqFeatData::EBond m_Bond
CBondPanel()
Constructors.
CSeqFeatData::EBond GetBond()
virtual bool TransferDataFromWindow()
wxBitmap GetBitmapResource(const wxString &name)
Retrieves bitmap resources.
static bool ShowToolTips()
Should we show tooltips?
static const struct type types[]
#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