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:
|
public:
|
||||||
wxChoiceBase() { }
|
wxChoiceBase() { }
|
||||||
virtual ~wxChoiceBase();
|
virtual ~wxChoiceBase(){};
|
||||||
|
|
||||||
// all generic methods are in wxControlWithItems
|
// all generic methods are in wxControlWithItems
|
||||||
|
|
||||||
|
@@ -30,7 +30,7 @@ class WXDLLEXPORT wxCommand : public wxObject
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
wxCommand(bool canUndoIt = false, const wxString& name = wxEmptyString);
|
wxCommand(bool canUndoIt = false, const wxString& name = wxEmptyString);
|
||||||
~wxCommand();
|
~wxCommand(){};
|
||||||
|
|
||||||
// Override this to perform a command
|
// Override this to perform a command
|
||||||
virtual bool Do() = 0;
|
virtual bool Do() = 0;
|
||||||
|
@@ -30,7 +30,7 @@ public:
|
|||||||
#else
|
#else
|
||||||
wxDataInputStream(wxInputStream& s);
|
wxDataInputStream(wxInputStream& s);
|
||||||
#endif
|
#endif
|
||||||
~wxDataInputStream();
|
~wxDataInputStream(){};
|
||||||
|
|
||||||
bool IsOk() { return m_input->IsOk(); }
|
bool IsOk() { return m_input->IsOk(); }
|
||||||
|
|
||||||
@@ -78,7 +78,7 @@ public:
|
|||||||
#else
|
#else
|
||||||
wxDataOutputStream(wxOutputStream& s);
|
wxDataOutputStream(wxOutputStream& s);
|
||||||
#endif
|
#endif
|
||||||
~wxDataOutputStream();
|
~wxDataOutputStream(){};
|
||||||
|
|
||||||
bool IsOk() { return m_output->IsOk(); }
|
bool IsOk() { return m_output->IsOk(); }
|
||||||
|
|
||||||
|
@@ -123,7 +123,7 @@ class WXDLLIMPEXP_BASE wxLog
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
// ctor
|
// ctor
|
||||||
wxLog();
|
wxLog(){};
|
||||||
|
|
||||||
// Internal buffer.
|
// Internal buffer.
|
||||||
|
|
||||||
|
@@ -64,7 +64,7 @@ public:
|
|||||||
#endif // Unicode/ANSI
|
#endif // Unicode/ANSI
|
||||||
|
|
||||||
// virtual dtor for any base class
|
// virtual dtor for any base class
|
||||||
virtual ~wxMBConv();
|
virtual ~wxMBConv(){};
|
||||||
};
|
};
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
@@ -38,11 +38,6 @@
|
|||||||
// implementation
|
// implementation
|
||||||
// ============================================================================
|
// ============================================================================
|
||||||
|
|
||||||
wxChoiceBase::~wxChoiceBase()
|
|
||||||
{
|
|
||||||
// this destructor is required for Darwin
|
|
||||||
}
|
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// selection
|
// selection
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
@@ -53,10 +53,6 @@ wxCommand::wxCommand(bool canUndoIt, const wxString& name)
|
|||||||
m_commandName = name;
|
m_commandName = name;
|
||||||
}
|
}
|
||||||
|
|
||||||
wxCommand::~wxCommand()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// Command processor
|
// Command processor
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
@@ -38,10 +38,6 @@ wxDataInputStream::wxDataInputStream(wxInputStream& s)
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
wxDataInputStream::~wxDataInputStream()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
wxUint64 wxDataInputStream::Read64()
|
wxUint64 wxDataInputStream::Read64()
|
||||||
{
|
{
|
||||||
wxUint64 i64;
|
wxUint64 i64;
|
||||||
@@ -277,10 +273,6 @@ wxDataOutputStream::wxDataOutputStream(wxOutputStream& s)
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
wxDataOutputStream::~wxDataOutputStream()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
void wxDataOutputStream::Write64(wxUint64 i)
|
void wxDataOutputStream::Write64(wxUint64 i)
|
||||||
{
|
{
|
||||||
wxUint64 i64;
|
wxUint64 i64;
|
||||||
|
@@ -367,10 +367,6 @@ void WXDLLEXPORT wxLogSysError(long lErrCode, const wxChar *szFormat, ...)
|
|||||||
// wxLog class implementation
|
// wxLog class implementation
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
wxLog::wxLog()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
wxChar *wxLog::SetLogBuffer( wxChar *buf, size_t size)
|
wxChar *wxLog::SetLogBuffer( wxChar *buf, size_t size)
|
||||||
{
|
{
|
||||||
wxChar *oldbuf = s_szBuf;
|
wxChar *oldbuf = s_szBuf;
|
||||||
|
@@ -166,11 +166,6 @@ static size_t decode_utf16(const wxUint16* input, wxUint32& output)
|
|||||||
// wxMBConv
|
// wxMBConv
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
wxMBConv::~wxMBConv()
|
|
||||||
{
|
|
||||||
// nothing to do here
|
|
||||||
}
|
|
||||||
|
|
||||||
const wxWCharBuffer wxMBConv::cMB2WC(const char *psz) const
|
const wxWCharBuffer wxMBConv::cMB2WC(const char *psz) const
|
||||||
{
|
{
|
||||||
if ( psz )
|
if ( psz )
|
||||||
|
Reference in New Issue
Block a user