Lines 796-802
Link Here
|
796 |
|
796 |
|
797 |
wxString strFileName(idData.nationalNumber, wxConvUTF8); |
797 |
wxString strFileName(idData.nationalNumber, wxConvUTF8); |
798 |
strFileName += wxT(".eid"); |
798 |
strFileName += wxT(".eid"); |
799 |
wxFileDialog oDialog(m_pFrame, _("Save an eID file"), wxT(""), strFileName, wxT("eID files (*.eid)|*.eid"), wxSAVE | wxHIDE_READONLY | wxOVERWRITE_PROMPT); |
799 |
wxFileDialog oDialog(m_pFrame, _("Save an eID file"), wxT(""), strFileName, wxT("eID files (*.eid)|*.eid"), wxFD_SAVE | wxFD_OVERWRITE_PROMPT); |
800 |
if (oDialog.ShowModal() != wxID_OK) |
800 |
if (oDialog.ShowModal() != wxID_OK) |
801 |
{ |
801 |
{ |
802 |
m_pFrame->SetStatusText(wxT("")); |
802 |
m_pFrame->SetStatusText(wxT("")); |
Lines 864-870
Link Here
|
864 |
|
864 |
|
865 |
if(strFile.IsEmpty()) |
865 |
if(strFile.IsEmpty()) |
866 |
{ |
866 |
{ |
867 |
wxFileDialog oDialog(m_pFrame, _("Open an eID file"), wxT(""), wxT(""), wxT("eID files (*.eid)|*.eid"), wxOPEN | wxHIDE_READONLY); |
867 |
wxFileDialog oDialog(m_pFrame, _("Open an eID file"), wxT(""), wxT(""), wxT("eID files (*.eid)|*.eid"), wxFD_OPEN); |
868 |
if (oDialog.ShowModal() != wxID_OK) |
868 |
if (oDialog.ShowModal() != wxID_OK) |
869 |
{ |
869 |
{ |
870 |
m_pFrame->SetStatusText(wxT("")); |
870 |
m_pFrame->SetStatusText(wxT("")); |