X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9738cd3118fadd172c2fea8b3c4c057035c7d975..571b0b138bc5c910e4dbc5bca510b65859741e1b:/demos/forty/game.cpp diff --git a/demos/forty/game.cpp b/demos/forty/game.cpp index 4880c30eb0..4226e58c71 100644 --- a/demos/forty/game.cpp +++ b/demos/forty/game.cpp @@ -861,11 +861,6 @@ bool Base::AcceptCard(Card* card) return retval; } -Base::~Base() -{ -// nothing special at the moment -}; - //----------------------------------------------------------------// // The Foundation class: holds the cards built up from the ace... // @@ -895,11 +890,6 @@ bool Foundation::AcceptCard(Card* card) return retval; } -Foundation::~Foundation() -{ -// nothing special at the moment -}; - //----------------------------------------------------// // The Discard class: holds cards dealt from the m_pack // @@ -981,7 +971,7 @@ Card* Discard::RemoveTopCard(wxDC& dc, int m_xOffset, int m_yOffset) for (int i = m_topCard - 31; i <= m_topCard - 31 + CardWidth / m_dx; i++) { - m_cards[i]->Draw(dc, m_x - m_xOffset + i * m_dx, m_y - m_yOffset); + m_cards[i]->Draw(dc, m_x - m_xOffset + i * m_dx, m_y - m_yOffset); } if (m_topCard > 31) { @@ -992,9 +982,3 @@ Card* Discard::RemoveTopCard(wxDC& dc, int m_xOffset, int m_yOffset) return card; } - - -Discard::~Discard() -{ -// nothing special at the moment -};