- Add wxFile::ReadAll() for consistency with wxFFile.
- Add wxDateTime::DiffAsDateSpan() and wxDateSpan::GetTotalMonths() (jonasr).
- Add wxVector::assign() (Jonas Rydberg).
-- Add wxNOEXCEPT (Marian VooDooMan Meravy).
- Added Nepali translation (Him Prasad Gautam).
All (GUI):
const wxSize& size = wxDefaultSize, long style = 0,
const wxValidator& validator = wxDefaultValidator,
const wxString& name = wxTextCtrlNameStr);
- virtual ~wxTextCtrl() wxNOEXCEPT;
+ virtual ~wxTextCtrl();
// ------------------------------------------------------------------------
// Cocoa specifics
#define DECLARE_NO_ASSIGN_CLASS(classname) \
wxDECLARE_NO_ASSIGN_CLASS(classname);
-/* Macro that can be used to indicate that a function doesn't throw. */
-#if defined(__cplusplus) && __cplusplus >= 199711L /* C++98 */
-# if __cplusplus >= 201103L /* >= C++11 */
-# define wxNOEXCEPT noexcept
-# else
-# define wxNOEXCEPT throw()
-# endif
-#else
-# define wxNOEXCEPT
-#endif
-
/* --------------------------------------------------------------------------- */
/* If a manifest is being automatically generated, add common controls 6 to it */
/* --------------------------------------------------------------------------- */
const wxValidator& validator = wxDefaultValidator,
const wxString &name = wxTextCtrlNameStr);
- virtual ~wxTextCtrl() wxNOEXCEPT;
+ virtual ~wxTextCtrl();
bool Create(wxWindow *parent,
wxWindowID id,
const wxValidator& validator = wxDefaultValidator,
const wxString &name = wxTextCtrlNameStr);
- virtual ~wxTextCtrl() wxNOEXCEPT;
+ virtual ~wxTextCtrl();
bool Create(wxWindow *parent,
wxWindowID id,
Create(parent, id, value, pos, size, style, validator, name);
}
- virtual ~wxTextCtrl() wxNOEXCEPT;
+ virtual ~wxTextCtrl();
bool Create(wxWindow *parent, wxWindowID id,
const wxString& value = wxEmptyString,
{
Create(pParent, vId, rsValue, rPos, rSize, lStyle, rValidator, rsName);
}
- virtual ~wxTextCtrl() wxNOEXCEPT;
+ virtual ~wxTextCtrl();
bool Create( wxWindow* pParent
,wxWindowID vId
Create(parent, id, value, pos, size, style, validator, name);
}
- virtual ~wxTextCtrl() wxNOEXCEPT;
+ virtual ~wxTextCtrl();
bool Create(wxWindow *parent,
wxWindowID id,
{
public:
wxStdInputStreamBuffer(wxInputStream& stream);
- virtual ~wxStdInputStreamBuffer() wxNOEXCEPT { }
+ virtual ~wxStdInputStreamBuffer() { }
protected:
virtual std::streambuf *setbuf(char *s, std::streamsize n);
{
public:
wxStdInputStream(wxInputStream& stream);
- virtual ~wxStdInputStream() wxNOEXCEPT { }
+ virtual ~wxStdInputStream() { }
protected:
wxStdInputStreamBuffer m_streamBuffer;
{
public:
wxStdOutputStreamBuffer(wxOutputStream& stream);
- virtual ~wxStdOutputStreamBuffer() wxNOEXCEPT { }
+ virtual ~wxStdOutputStreamBuffer() { }
protected:
virtual std::streambuf *setbuf(char *s, std::streamsize n);
{
public:
wxStdOutputStream(wxOutputStream& stream);
- virtual ~wxStdOutputStream() wxNOEXCEPT { }
+ virtual ~wxStdOutputStream() { }
protected:
wxStdOutputStreamBuffer m_streamBuffer;
// --------
wxTextCtrlBase() { }
- virtual ~wxTextCtrlBase() wxNOEXCEPT { }
+ virtual ~wxTextCtrlBase() { }
// more readable flag testing methods
const wxValidator& validator = wxDefaultValidator,
const wxString& name = wxTextCtrlNameStr);
- virtual ~wxTextCtrl() wxNOEXCEPT;
+ virtual ~wxTextCtrl();
// implement base class pure virtuals
// ----------------------------------
long style = 0,
const wxValidator& validator = wxDefaultValidator,
const wxString &name = wxTextCtrlNameStr);
- virtual ~wxTextCtrl() wxNOEXCEPT;
+ virtual ~wxTextCtrl();
bool Create(wxWindow *parent,
wxWindowID id,
*/
void wxVaCopy(va_list argptrDst, va_list argptrSrc);
-/**
- Macro that can be used to indicate that a function doesn't throw any
- exceptions.
-
- This macro expands to `noexcept` when using C++11 compiler or `throw()` for
- older C++ compilers or nothing when used with a C++ compiler too old to
- support even this.
-
- Notice that `noexcept` and `throw()` have different semantics in case an
- exception @e is thrown, so this macro should be used only if you don't rely
- on the behaviour provided by the latter but not the former.
-
- @since 2.9.5
- */
-#define wxNOEXCEPT
-
//@}
{
public:
wxComboCtrlTextCtrl() : wxTextCtrl() { }
- virtual ~wxComboCtrlTextCtrl() wxNOEXCEPT { }
+ virtual ~wxComboCtrlTextCtrl() { }
virtual wxWindow *GetMainWindowOfCompositeControl()
{
SetSizeHints(wxDefaultCoord, wxDefaultCoord);
}
- virtual ~wxSpinCtrlTextGeneric() wxNOEXCEPT
+ virtual ~wxSpinCtrlTextGeneric()
{
// MSW sends extra kill focus event on destroy
if (m_spin)
public:
wxTreeTextCtrl(wxGenericTreeCtrl *owner, wxGenericTreeItem *item);
- virtual ~wxTreeTextCtrl() wxNOEXCEPT {}
-
void EndEdit( bool discardChanges );
const wxGenericTreeItem* item() const { return m_itemEdited; }
m_anonymousMarkList = NULL;
}
-wxTextCtrl::~wxTextCtrl() wxNOEXCEPT
+wxTextCtrl::~wxTextCtrl()
{
if (m_text)
GTKDisconnect(m_text);
m_vScrollbar = NULL;
}
-wxTextCtrl::~wxTextCtrl() wxNOEXCEPT
+wxTextCtrl::~wxTextCtrl()
{
}
m_isNativeCaretShown = true;
}
-wxTextCtrl::~wxTextCtrl() wxNOEXCEPT
+wxTextCtrl::~wxTextCtrl()
{
#if wxUSE_DRAG_AND_DROP && wxUSE_RICHEDIT
if ( m_dropTarget == wxRICHTEXT_DEFAULT_DROPTARGET )
return true;
}
-wxTextCtrl::~wxTextCtrl() wxNOEXCEPT
+wxTextCtrl::~wxTextCtrl()
{
delete m_cmdProcessor;