X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bbf1f0e5cffb8c01696eb26e254857a61f017d70..ab0d42f76d5594bd28fdcad35bedeb380902f3ea:/utils/nplugin/src/npshell.cpp diff --git a/utils/nplugin/src/npshell.cpp b/utils/nplugin/src/npshell.cpp index fa040054de..2fe8d3b4b6 100644 --- a/utils/nplugin/src/npshell.cpp +++ b/utils/nplugin/src/npshell.cpp @@ -42,12 +42,16 @@ typedef struct _PluginInstance NPError NPP_Initialize(void) { // MessageBox(NULL, "NPP_Initialize", "NPTest", MB_OK); - +/* wxPluginApp *app = wxGetPluginApp(); if ( app ) return app->NPP_Initialize(); else return NPERR_NO_ERROR; +*/ + wxEntry((WXHINSTANCE) GetModuleHandle(NULL)); + + return NPERR_NO_ERROR; }