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(){};
|
||||
};
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
@@ -38,11 +38,6 @@
|
||||
// implementation
|
||||
// ============================================================================
|
||||
|
||||
wxChoiceBase::~wxChoiceBase()
|
||||
{
|
||||
// this destructor is required for Darwin
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// selection
|
||||
// ----------------------------------------------------------------------------
|
||||
|
@@ -53,10 +53,6 @@ wxCommand::wxCommand(bool canUndoIt, const wxString& name)
|
||||
m_commandName = name;
|
||||
}
|
||||
|
||||
wxCommand::~wxCommand()
|
||||
{
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// Command processor
|
||||
// ----------------------------------------------------------------------------
|
||||
|
@@ -38,10 +38,6 @@ wxDataInputStream::wxDataInputStream(wxInputStream& s)
|
||||
{
|
||||
}
|
||||
|
||||
wxDataInputStream::~wxDataInputStream()
|
||||
{
|
||||
}
|
||||
|
||||
wxUint64 wxDataInputStream::Read64()
|
||||
{
|
||||
wxUint64 i64;
|
||||
@@ -277,10 +273,6 @@ wxDataOutputStream::wxDataOutputStream(wxOutputStream& s)
|
||||
{
|
||||
}
|
||||
|
||||
wxDataOutputStream::~wxDataOutputStream()
|
||||
{
|
||||
}
|
||||
|
||||
void wxDataOutputStream::Write64(wxUint64 i)
|
||||
{
|
||||
wxUint64 i64;
|
||||
|
@@ -367,10 +367,6 @@ void WXDLLEXPORT wxLogSysError(long lErrCode, const wxChar *szFormat, ...)
|
||||
// wxLog class implementation
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
wxLog::wxLog()
|
||||
{
|
||||
}
|
||||
|
||||
wxChar *wxLog::SetLogBuffer( wxChar *buf, size_t size)
|
||||
{
|
||||
wxChar *oldbuf = s_szBuf;
|
||||
|
@@ -166,11 +166,6 @@ static size_t decode_utf16(const wxUint16* input, wxUint32& output)
|
||||
// wxMBConv
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
wxMBConv::~wxMBConv()
|
||||
{
|
||||
// nothing to do here
|
||||
}
|
||||
|
||||
const wxWCharBuffer wxMBConv::cMB2WC(const char *psz) const
|
||||
{
|
||||
if ( psz )
|
||||
|
Reference in New Issue
Block a user