1. some warnings fixed in forty

2. added test for a would-ve client data bug in wxTextCtrl
3. added support for metafiels to the dnd sample


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2000-01-14 00:17:41 +00:00
parent d9317fd472
commit ae3dd4a589
4 changed files with 180 additions and 54 deletions

View File

@@ -410,8 +410,8 @@ void Game::LButtonDblClk(wxDC& dc, int x, int y)
{
for(i = 0; i < 4; i++)
{
Card* m_topCard;
if ((m_topCard = m_foundations[i]->GetTopCard()))
Card* m_topCard = m_foundations[i]->GetTopCard();
if ( m_topCard )
{
if (m_topCard->GetSuit() == card->GetSuit() &&
m_foundations[i + 4] != pile &&