projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Compile fix.
[wxWidgets.git]
/
samples
/
resource
/
resource.cpp
diff --git
a/samples/resource/resource.cpp
b/samples/resource/resource.cpp
index 588b3873ff532d72f8eddef364741a4910ab772a..ab0405be9bfeb7b407b047b4685903ea08e44e9b 100644
(file)
--- 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)