apply SF patch 1252602 to remove warnings in bcc and watcom
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
4106cebb95
commit
fa776a5809
@ -48,7 +48,7 @@ protected:
|
|||||||
|
|
||||||
const void *GetItem(size_type idx) const
|
const void *GetItem(size_type idx) const
|
||||||
{
|
{
|
||||||
wxASSERT(idx >= 0 && idx < m_size);
|
wxASSERT(idx < m_size);
|
||||||
return m_objects[idx];
|
return m_objects[idx];
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -61,7 +61,7 @@ protected:
|
|||||||
|
|
||||||
void RemoveAt(size_type idx)
|
void RemoveAt(size_type idx)
|
||||||
{
|
{
|
||||||
wxASSERT(idx >= 0 && idx < m_size);
|
wxASSERT(idx < m_size);
|
||||||
Free(m_objects[idx]);
|
Free(m_objects[idx]);
|
||||||
if (idx < m_size - 1)
|
if (idx < m_size - 1)
|
||||||
memcpy(
|
memcpy(
|
||||||
@ -143,7 +143,7 @@ private:\
|
|||||||
}\
|
}\
|
||||||
public:\
|
public:\
|
||||||
cls() {}\
|
cls() {}\
|
||||||
cls(const cls& c)\
|
cls(const cls& c) : wxVectorBase()\
|
||||||
{\
|
{\
|
||||||
wxCHECK2(copy(c), return);\
|
wxCHECK2(copy(c), return);\
|
||||||
}\
|
}\
|
||||||
|
Loading…
Reference in New Issue
Block a user