#include #include namespace creaImageIO { // CTor WxCustomizeConfigPanel::WxCustomizeConfigPanel(wxWindow *parent, wxDialog* dial, WxGimmickView* view, const std::string& cPath, const std::string& dPath, const std::string& sEvent, const std::string& sFreq) : wxPanel( parent, -1, wxDefaultPosition, wxDefaultSize, wxRESIZE_BORDER | wxSYSTEM_MENU | wxCLOSE_BOX | wxMAXIMIZE_BOX | wxMINIMIZE_BOX | wxCAPTION ), dialog(dial), copyP (cPath), databaseP(dPath), syncEv(sEvent), syncFr(sFreq), mView(view) { GimmickDebugMessage(1,"WxCustomizeConfigPanel::WxCustomizeConfigPanel" <GetId(), wxEVT_COMMAND_BUTTON_CLICKED , (wxObjectEventFunction) &WxCustomizeConfigPanel::OnSaveConfig ); Layout(); } /// Destructor WxCustomizeConfigPanel::~WxCustomizeConfigPanel() { GimmickDebugMessage(1,"WxCustomizeConfigPanel::~WxCustomizeConfigPanel" <OnSaveSettingsCallback(crea::wx2std(copyPath->GetValue()), crea::wx2std(dbPath->GetValue()), crea::wx2std(syncEvent->GetValue()), crea::wx2std(syncFrequency->GetValue())); dialog->Destroy(); } //====================================================================== //====================================================================== } // EO namespace creaImageIO