X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcreaDevManagerLib%2FwxCreaDevManagerProjectActionsPanel.cpp;fp=lib%2FcreaDevManagerLib%2FwxCreaDevManagerProjectActionsPanel.cpp;h=2c34fc60bcdce4dbf17d7e76596693258fea12c2;hb=024e27a190403e747501f3dafcc6600683b39937;hp=0000000000000000000000000000000000000000;hpb=8c148185c2d1d7106cef0224646c2f2d8800ab1a;p=crea.git diff --git a/lib/creaDevManagerLib/wxCreaDevManagerProjectActionsPanel.cpp b/lib/creaDevManagerLib/wxCreaDevManagerProjectActionsPanel.cpp new file mode 100644 index 0000000..2c34fc6 --- /dev/null +++ b/lib/creaDevManagerLib/wxCreaDevManagerProjectActionsPanel.cpp @@ -0,0 +1,52 @@ +/* + * wxCreaDevManagerProjectActionsWindow.cpp + * + * Created on: 25/10/2012 + * Author: daniel + */ + +#include "wxCreaDevManagerProjectActionsPanel.h" + + + +wxCreaDevManagerProjectActionsPanel::wxCreaDevManagerProjectActionsPanel( + wxWindow* parent, + wxWindowID id, + const wxString& caption, + const wxPoint& pos, + const wxSize& size, + long style +) +{ + wxCreaDevManagerProjectActionsPanel::Create(parent,id,caption,pos,size,style); +} + +wxCreaDevManagerProjectActionsPanel::~wxCreaDevManagerProjectActionsPanel() +{ +} + +bool wxCreaDevManagerProjectActionsPanel::Create( + wxWindow* parent, + wxWindowID id, + const wxString& caption, + const wxPoint& pos, + const wxSize& size, + long style +) +{ + wxPanel::Create(parent,id,pos,size,style); + wxBoxSizer* sizer = new wxBoxSizer(wxHORIZONTAL); + this->SetSizer(sizer); + + CreateControls(); + + return TRUE; +} + +void wxCreaDevManagerProjectActionsPanel::CreateControls() +{ + this->GetSizer()->Add(new wxButton(this, -1, _T("Action 1")), 0, wxALL, 5); + this->GetSizer()->Add(new wxButton(this, -1, _T("Action 2")), 0, wxALL, 5); + this->GetSizer()->Add(new wxButton(this, -1, _T("Action 3")), 0, wxALL, 5); + this->GetSizer()->Add(new wxButton(this, -1, _T("Action 4")), 0, wxALL, 5); +}