X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e306597309a120f2ae91385c731a5cb2722c52aa..2b96d0fb4be7d684c17987d74f8f92d0cfe345b5:/samples/resource/resource.cpp diff --git a/samples/resource/resource.cpp b/samples/resource/resource.cpp index 588b3873ff..ab0405be9b 100644 --- a/samples/resource/resource.cpp +++ b/samples/resource/resource.cpp @@ -113,8 +113,10 @@ bool MyApp::OnInit(void) MyApp::~MyApp() { +#if defined(__WXMSW__) delete dialog1; delete menu1; +#endif } BEGIN_EVENT_TABLE(MyPanel, wxPanel)