X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/868741e9d30e1b62e8ee27614543e8ae820fd15d..2d956b58023a4955313a1c1531bc70a0deb0b831:/demos/forty/forty.cpp?ds=sidebyside 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;