projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added Inno Setup distrib files
[wxWidgets.git]
/
utils
/
nplugin
/
src
/
npapp.cpp
diff --git
a/utils/nplugin/src/npapp.cpp
b/utils/nplugin/src/npapp.cpp
index b5aff25ab18adc7c31ed6e8721e79e55fa41fbf6..b9e28cc1592f7de8c0910f9613b6567d74f1d732 100644
(file)
--- a/
utils/nplugin/src/npapp.cpp
+++ b/
utils/nplugin/src/npapp.cpp
@@
-103,8
+103,7
@@
NPError wxPluginApp::NPP_Destroy(NPP instance, NPSavedData** save)
wxPluginFrame *frame = FindFrame(instance);
if ( frame )
{
- frame->OnClose();
- delete frame;
+ frame->Close();
}
return NPERR_NO_ERROR;
}