mmNewAcctDialog::mmNewAcctDialog(Model_Account::Data* account, wxWindow* parent) : m_account(account) , m_currencyID(-1) , m_textAccountName(nullptr) , m_notesCtrl(nullptr) , m_itemInitValue(nullptr) , m_imageList(nullptr) , m_bitmapButtons(nullptr) { m_imageList = navtree_images_list(); long style = wxCAPTION | wxSYSTEM_MENU | wxCLOSE_BOX; Create(parent, wxID_ANY, _("New Account"), wxDefaultPosition, wxSize(550, 300), style); }
mmNewAcctDialog::mmNewAcctDialog(Model_Account::Data* account, wxWindow* parent) : m_account(account) , m_currencyID(-1) , m_textAccountName() , m_notesCtrl() , m_itemInitValue() , m_imageList() , m_bitmapButtons() { m_imageList = navtree_images_list(); long style = wxCAPTION | wxSYSTEM_MENU | wxCLOSE_BOX; Create(parent, wxID_ANY, _("New Account"), wxDefaultPosition, wxSize(550, 300), style); fillControls(); this->Connect(wxID_ANY, wxEVT_CHILD_FOCUS, wxChildFocusEventHandler(mmNewAcctDialog::changeFocus), nullptr, this); }