Warning fixes found under hardest mode of OpenWatcom. Seems clean in Borland, MinGW and DMC.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -38,7 +38,7 @@ class WXDLLEXPORT wxChoiceBase : public wxControlWithItems
|
||||
{
|
||||
public:
|
||||
wxChoiceBase() { }
|
||||
virtual ~wxChoiceBase();
|
||||
virtual ~wxChoiceBase(){};
|
||||
|
||||
// all generic methods are in wxControlWithItems
|
||||
|
||||
|
@@ -30,7 +30,7 @@ class WXDLLEXPORT wxCommand : public wxObject
|
||||
{
|
||||
public:
|
||||
wxCommand(bool canUndoIt = false, const wxString& name = wxEmptyString);
|
||||
~wxCommand();
|
||||
~wxCommand(){};
|
||||
|
||||
// Override this to perform a command
|
||||
virtual bool Do() = 0;
|
||||
|
@@ -30,7 +30,7 @@ public:
|
||||
#else
|
||||
wxDataInputStream(wxInputStream& s);
|
||||
#endif
|
||||
~wxDataInputStream();
|
||||
~wxDataInputStream(){};
|
||||
|
||||
bool IsOk() { return m_input->IsOk(); }
|
||||
|
||||
@@ -78,7 +78,7 @@ public:
|
||||
#else
|
||||
wxDataOutputStream(wxOutputStream& s);
|
||||
#endif
|
||||
~wxDataOutputStream();
|
||||
~wxDataOutputStream(){};
|
||||
|
||||
bool IsOk() { return m_output->IsOk(); }
|
||||
|
||||
|
@@ -123,7 +123,7 @@ class WXDLLIMPEXP_BASE wxLog
|
||||
{
|
||||
public:
|
||||
// ctor
|
||||
wxLog();
|
||||
wxLog(){};
|
||||
|
||||
// Internal buffer.
|
||||
|
||||
|
@@ -64,7 +64,7 @@ public:
|
||||
#endif // Unicode/ANSI
|
||||
|
||||
// virtual dtor for any base class
|
||||
virtual ~wxMBConv();
|
||||
virtual ~wxMBConv(){};
|
||||
};
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user