Go to the SVN repository for this file.
1 #ifndef _REGEXPVALIDATOR_H_ 2 #define _REGEXPVALIDATOR_H_ 39 #include <wx/validate.h> 40 #include <wx/window.h> 41 #include <wx/textctrl.h> 51 CRegexpValidator(
const char* szRegExp = 0,
const char* szExamples = 0, wxString *
val= 0);
64 virtual boolValidate(wxWindow *parent);
67 virtual boolTransferToWindow();
70 virtual boolTransferFromWindow();
72 void SetName(
const string& name ){ m_Name = name; }
73 const string&
GetName()
const{
returnm_Name; }
78wxCHECK_MSG( m_validatorWindow,
false,
79 wxT(
"No window associated with validator") );
80wxCHECK_MSG( m_validatorWindow->IsKindOf(CLASSINFO(wxTextCtrl)),
false,
81 wxT(
"wxTextValidator is only for wxTextCtrl's") );
void SetName(const string &name)
CRegexpValidator & operator=(const CRegexpValidator &)
bool CheckValidator() const
virtual ~CRegexpValidator()
virtual wxObject * Clone() const
const string & GetName() const
Include a standard set of the NCBI C++ Toolkit most basic headers.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define NCBI_GUIWIDGETS_WX_EXPORT
Defines to provide correct exporting from DLLs in Windows.
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