Add wxNOEXCEPT to all wxTextCtrl dtors.
Fix compilation with some compilers after r72978 which added wxNOEXCEPT to wxTextCtrlBase dtor and wxTextCtrl dtor in wxMSW but not in all the other ports. See #14826. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
d180f4e007
commit
24f54e45dc
@ -43,7 +43,7 @@ public:
|
||||
const wxSize& size = wxDefaultSize, long style = 0,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = wxTextCtrlNameStr);
|
||||
virtual ~wxTextCtrl();
|
||||
virtual ~wxTextCtrl() wxNOEXCEPT;
|
||||
|
||||
// ------------------------------------------------------------------------
|
||||
// Cocoa specifics
|
||||
|
@ -30,7 +30,7 @@ public:
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString &name = wxTextCtrlNameStr);
|
||||
|
||||
virtual ~wxTextCtrl();
|
||||
virtual ~wxTextCtrl() wxNOEXCEPT;
|
||||
|
||||
bool Create(wxWindow *parent,
|
||||
wxWindowID id,
|
||||
|
@ -28,7 +28,7 @@ public:
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString &name = wxTextCtrlNameStr);
|
||||
|
||||
virtual ~wxTextCtrl();
|
||||
virtual ~wxTextCtrl() wxNOEXCEPT;
|
||||
|
||||
bool Create(wxWindow *parent,
|
||||
wxWindowID id,
|
||||
|
@ -30,7 +30,7 @@ public:
|
||||
{
|
||||
Create(pParent, vId, rsValue, rPos, rSize, lStyle, rValidator, rsName);
|
||||
}
|
||||
virtual ~wxTextCtrl();
|
||||
virtual ~wxTextCtrl() wxNOEXCEPT;
|
||||
|
||||
bool Create( wxWindow* pParent
|
||||
,wxWindowID vId
|
||||
|
@ -47,7 +47,7 @@ public:
|
||||
Create(parent, id, value, pos, size, style, validator, name);
|
||||
}
|
||||
|
||||
virtual ~wxTextCtrl();
|
||||
virtual ~wxTextCtrl() wxNOEXCEPT;
|
||||
|
||||
bool Create(wxWindow *parent,
|
||||
wxWindowID id,
|
||||
|
@ -99,7 +99,7 @@ public:
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = wxTextCtrlNameStr);
|
||||
|
||||
virtual ~wxTextCtrl();
|
||||
virtual ~wxTextCtrl() wxNOEXCEPT;
|
||||
|
||||
// implement base class pure virtuals
|
||||
// ----------------------------------
|
||||
|
@ -96,7 +96,7 @@ public:
|
||||
long style = 0,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString &name = wxTextCtrlNameStr);
|
||||
virtual ~wxTextCtrl();
|
||||
virtual ~wxTextCtrl() wxNOEXCEPT;
|
||||
|
||||
bool Create(wxWindow *parent,
|
||||
wxWindowID id,
|
||||
|
Loading…
Reference in New Issue
Block a user