Go to the SVN repository for this file.
1 #ifndef GUI_DIALOGS_GENERAL___MESSAGE_BOX__HPP 2 #define GUI_DIALOGS_GENERAL___MESSAGE_BOX__HPP 42 #include <wx/gdicmn.h> 43 #include <wx/string.h> 44 #include <wx/arrstr.h> 62 const string& title =
"Error",
69 constwxString& title =
wxT(
"Error"),
75 const string& title =
"Info");
80 const string& title =
"Warning");
84 void NcbiErrorBox(
const string& message,
const string& title =
"Error");
101 SFileDlgData(
const string& title,
const string& wildcard,
longstyle);
103 voidSetFilename(
const string& filename);
104 stringGetFilename()
const;
119 SWFileDlgData(
constwxString& title,
constwxString& wildcard,
longstyle);
121 voidSetFilename(
constwxString& filename);
122wxString GetFilename()
const;
Include a standard set of the NCBI C++ Toolkit most basic headers.
Workaround for wxWidgets header errors in certain configurations; MUST be included (at least indirect...
vector< string > m_Filenames
EDialogReturnValue NcbiInfoBox(const string &message, const string &title="Info")
specialized Message Box function for reporting general information messages
void NcbiWarningBox(const string &message, const string &title="Warning")
specialized Message Box function for reporting non-critical errors
void NcbiErrorBox(const string &message, const string &title="Error")
specialized Message Box function for reporting critical errors
EDialogReturnValue NcbiMessageBoxW(const wxString &message, TDialogType type=eDialog_Ok, EDialogIcon icon=eIcon_Exclamation, const wxString &title=wxT("Error"), EDialogTextMode text_mode=eRaw)
int NcbiFileBrowser(SFileDlgData &data, wxWindow *parent=NULL)
show wxFileDialog and returns
wxArrayString m_Filenames
EDialogReturnValue NcbiMessageBox(const string &message, TDialogType type=eDialog_Ok, EDialogIcon icon=eIcon_Exclamation, const string &title="Error", EDialogTextMode text_mode=eRaw)
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define NCBI_GUIWIDGETS_WX_EXPORT
EDialogIcon
enumerated type for dialog icon
EDialogTextMode
enumerated return values for dialog boxes
EDialogReturnValue
enumerated return values for dialog boxes, starting from 1 to undermine attempts to cast it "bool"
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