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:
Włodzimierz Skiba
2004-10-12 19:29:12 +00:00
parent 8e32e729a5
commit ecd9653bf3
10 changed files with 278 additions and 304 deletions

View File

@@ -38,7 +38,7 @@ class WXDLLEXPORT wxChoiceBase : public wxControlWithItems
{
public:
wxChoiceBase() { }
virtual ~wxChoiceBase();
virtual ~wxChoiceBase(){};
// all generic methods are in wxControlWithItems

View File

@@ -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;

View File

@@ -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(); }

View File

@@ -123,7 +123,7 @@ class WXDLLIMPEXP_BASE wxLog
{
public:
// ctor
wxLog();
wxLog(){};
// Internal buffer.

View File

@@ -64,7 +64,7 @@ public:
#endif // Unicode/ANSI
// virtual dtor for any base class
virtual ~wxMBConv();
virtual ~wxMBConv(){};
};
// ----------------------------------------------------------------------------