]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/resource/resource.cpp
oops, wxGTK.spec missed clean section
[wxWidgets.git] / samples / resource / resource.cpp
index 588b3873ff532d72f8eddef364741a4910ab772a..ab0405be9bfeb7b407b047b4685903ea08e44e9b 100644 (file)
@@ -113,8 +113,10 @@ bool MyApp::OnInit(void)
 
 MyApp::~MyApp()
 {
 
 MyApp::~MyApp()
 {
+#if defined(__WXMSW__)
     delete dialog1;
     delete menu1;
     delete dialog1;
     delete menu1;
+#endif
 }
 
 BEGIN_EVENT_TABLE(MyPanel, wxPanel)
 }
 
 BEGIN_EVENT_TABLE(MyPanel, wxPanel)