X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/868741e9d30e1b62e8ee27614543e8ae820fd15d..35b038b17edefee28f48440d26414d1df6b972e9:/demos/forty/forty.cpp diff --git a/demos/forty/forty.cpp b/demos/forty/forty.cpp index fbf0f1c546..43865d8840 100644 --- a/demos/forty/forty.cpp +++ b/demos/forty/forty.cpp @@ -52,6 +52,20 @@ wxColour* FortyApp::m_backgroundColour = 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;