A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/save__file__helper_8cpp_source.html below:

NCBI C++ ToolKit: src/gui/widgets/wx/save_file_helper.cpp Source File

Go to the documentation of this file.

Go to the SVN repository for this file.

34 #include <wx/string.h> 35 #include <wx/filedlg.h> 36 #include <wx/textctrl.h> 37 #include <wx/msgdlg.h> 49

wxFileDialog dlg(

m_Parent

,

wxT

(

"Select an output file"

),

wxT

(

""

),

wxT

(

""

),

56  if

(dlg.ShowModal() != wxID_OK)

73

wxMessageBox(

wxT

(

"Please select file name"

),

wxT

(

"Error"

), wxOK | wxICON_WARNING,

m_Parent

);

81  int

choice = wxMessageBox(

wxT

(

"Selected file already exists. Are you sure you want to overwrite it?"

),

wxT

(

"Warning"

), wxYES_NO | wxICON_WARNING,

m_Parent

);

82  if

(choice != wxYES) {

static void AppendDefaultExtension(EFileType fileType, wxString &path)

static wxString GetDialogFilter(EFileType fileType)

bool Validate(wxString &path)

bool ShowSaveDialog(CFileExtensions::EFileType file_type)

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

Defines classes: CDirEntry, CFile, CDir, CSymLink, CMemoryFile, CFileUtil, CFileLock,...

string ToAsciiStdString(const wxString &input)


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4