36 #include <wx/button.h>
67 : m_Workbench(
nullptr)
73 objects::CProjectItem*
pi, wxWindowID
id,
const wxPoint& pos,
const wxSize&
size,
long style )
74 : m_Workbench(wb), m_ProjectHandle(ph), m_ProjectItem(
pi)
88 SetExtraStyle(wxWS_EX_VALIDATE_RECURSIVELY);
89 wxPanel::Create( parent,
id, pos,
size, style );
130 wxBoxSizer* itemBoxSizer2 =
new wxBoxSizer(wxVERTICAL);
131 itemPanel1->SetSizer(itemBoxSizer2);
138 itemBoxSizer2->Add(
m_Panel, 1, wxGROW|wxALL, 0);
140 itemBoxSizer2->Add(5, 5, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5);
142 wxButton* itemButton4 =
new wxButton( itemPanel1,
ID_CSUBVALIDATE_REFRESH,
_(
"Validate record"), wxDefaultPosition, wxDefaultSize, 0 );
143 itemBoxSizer2->Add(itemButton4, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5);
204 return wxPanel::TransferDataToWindow();
bool Create(wxWindow *parent, wxWindowID id=ID_CSUBVALIDATEPANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL)
Creation.
static bool ShowToolTips()
Should we show tooltips?
void OnValidateClick(wxCommandEvent &event)
wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_CSUBVALIDATE_REFRESH
CSubValidatePanel()
Constructors.
wxIcon GetIconResource(const wxString &name)
Retrieves icon resources.
objects::CGBProjectHandle * m_ProjectHandle
~CSubValidatePanel()
Destructor.
void Init()
Initialises member variables.
virtual bool TransferDataToWindow()
virtual bool IsLastPage() const
wxBitmap GetBitmapResource(const wxString &name)
Retrieves bitmap resources.
@ ID_CSUBVALIDATE_REFRESH
objects::CProjectItem * m_ProjectItem
void CreateControls()
Creates the controls and sizers.
static void SetDoInference(objects::CUser_object ¶ms, bool val)
static void SetDoAlignment(objects::CUser_object ¶ms, bool val)
void SetProjectHandleAndItem(objects::CGBProjectHandle *ph, objects::CProjectItem *pi)
IWorkbench is the central interface in the application framework.
#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