remove unnecessary (and provoking a warning under IRIX) const qualifier on the return value of a function returning bool
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -59,7 +59,7 @@ public:
|
|||||||
void SetToPrivPos(const wxPoint& pos) { m_toPrivPos = pos; }
|
void SetToPrivPos(const wxPoint& pos) { m_toPrivPos = pos; }
|
||||||
void ClearPrivPos() { m_toPrivPos = m_fromPrivPos = wxDefaultPosition; }
|
void ClearPrivPos() { m_toPrivPos = m_fromPrivPos = wxDefaultPosition; }
|
||||||
|
|
||||||
const bool IsEmpty() const
|
bool IsEmpty() const
|
||||||
{ return m_fromPos == wxDefaultPosition &&
|
{ return m_fromPos == wxDefaultPosition &&
|
||||||
m_toPos == wxDefaultPosition; }
|
m_toPos == wxDefaultPosition; }
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user