X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bbf1f0e5cffb8c01696eb26e254857a61f017d70..8204abdefe62d9903692f6758ec1ecded4034cd6:/utils/nplugin/src/npshell.cpp?ds=sidebyside 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; }