]> git.saurik.com Git - wxWidgets.git/blobdiff - demos/forty/forty.cpp
wxHtmlBookRecords needs not be wxObject
[wxWidgets.git] / demos / forty / forty.cpp
index fbf0f1c546471b007f16c14a7b39357b105eee16..43865d88400b47a3bd1221386da32405c389f29b 100644 (file)
@@ -52,6 +52,20 @@ wxColour* FortyApp::m_backgroundColour = 0;
 wxColour* FortyApp::m_textColour = 0;
 wxBrush*  FortyApp::m_backgroundBrush = 0;
 
 wxColour* FortyApp::m_textColour = 0;
 wxBrush*  FortyApp::m_backgroundBrush = 0;
 
+FortyApp::FortyApp()
+{
+}
+
+FortyApp::~FortyApp()
+{
+    delete m_backgroundColour;
+    delete m_textColour;
+    delete m_backgroundBrush;
+    delete Card::m_symbolBmap;
+    delete Card::m_pictureBmap;
+
+}
+
 bool FortyApp::OnInit()
 {
         bool largecards = FALSE;
 bool FortyApp::OnInit()
 {
         bool largecards = FALSE;