]> git.saurik.com Git - wxWidgets.git/blobdiff - demos/forty/pile.cpp
Document wxListBox and wxChoice as inheriting from wxItemContainer.
[wxWidgets.git] / demos / forty / pile.cpp
index d9e1fad034d2cf93250a7ac8caf2492ddbce6d47..e9ddfdbf4804084ddcc1842fa3c93354667b2717 100644 (file)
 //| The base class for holding piles of playing cards.          |
 //+-------------------------------------------------------------+
 
-#ifdef __GNUG__
-#pragma implementation
-#pragma interface
-#endif
-
 // For compilers that support precompilation, includes "wx/wx.h".
 #include "wx/wxprec.h"
 
@@ -30,9 +25,6 @@
 #ifndef WX_PRECOMP
 #include "wx/wx.h"
 #endif
-#ifdef __GNUG__
-#pragma implementation
-#endif
 
 #include <stdlib.h>
 #include <stdio.h>
@@ -298,9 +290,3 @@ bool Pile::Overlap(int x, int y)
     }
     return false;
 }
-
-
-Pile::~Pile()
-{
-// nothing special at the moment
-}