12PANEL_PACKAGE_BASE::PANEL_PACKAGE_BASE( wxWindow* parent, wxWindowID
id,
const wxPoint& pos,
const wxSize& size,
long style,
const wxString&
name ) : wxPanel( parent, id, pos, size, style,
name )
14 this->SetMinSize( wxSize( -1,84 ) );
17 bSizer1 =
new wxBoxSizer( wxHORIZONTAL );
20 bSizer5 =
new wxBoxSizer( wxVERTICAL );
22 bSizer5->SetMinSize( wxSize( 70,-1 ) );
24 bSizer5->Add( 0, 0, 1, wxEXPAND, 5 );
27 bSizer6 =
new wxBoxSizer( wxHORIZONTAL );
30 bSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
32 m_bitmap =
new wxStaticBitmap(
this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, 0 );
33 bSizer6->Add(
m_bitmap, 0, wxALL, 5 );
36 bSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
39 bSizer5->Add( bSizer6, 1, wxEXPAND, 5 );
42 bSizer5->Add( 0, 0, 1, wxEXPAND, 5 );
45 bSizer1->Add( bSizer5, 0, wxEXPAND, 5 );
48 bSizer2 =
new wxBoxSizer( wxVERTICAL );
50 m_name =
new wxStaticText(
this, wxID_ANY,
_(
"Name"), wxDefaultPosition, wxDefaultSize, wxST_ELLIPSIZE_END );
52 bSizer2->Add(
m_name, 0, wxEXPAND|wxLEFT|wxRIGHT|wxTOP, 5 );
55 bSizer3 =
new wxBoxSizer( wxHORIZONTAL );
59 m_desc =
new wxStaticText(
this, wxID_ANY,
_(
"Description"), wxDefaultPosition, wxDefaultSize, wxST_NO_AUTORESIZE );
67 bSizer4 =
new wxBoxSizer( wxVERTICAL );
70 bSizer4->Add( 0, 0, 1, wxEXPAND, 5 );
72 m_button =
new wxButton(
this, wxID_ANY,
_(
"Install"), wxDefaultPosition, wxDefaultSize, 0 );
73 bSizer4->Add(
m_button, 0, wxTOP|wxBOTTOM|wxRIGHT, 5 );
79 bSizer3->Add( bSizer4, 0, wxEXPAND, 5 );
82 bSizer2->Add( bSizer3, 1, wxEXPAND, 5 );
85 bSizer1->Add( bSizer2, 1, wxEXPAND, 5 );
88 this->SetSizer( bSizer1 );
virtual void OnPaint(wxPaintEvent &event)
wxStaticBitmap * m_bitmap
PANEL_PACKAGE_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxBORDER_NONE|wxTAB_TRAVERSAL, const wxString &name=wxEmptyString)
virtual void OnSize(wxSizeEvent &event)
SPLIT_BUTTON * m_splitButton
virtual void OnClick(wxMouseEvent &event)
virtual void OnButtonClicked(wxCommandEvent &event)