]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/nplugin/src/npshell.cpp
corrected CodeWarrior project target names and generated application names
[wxWidgets.git] / utils / nplugin / src / npshell.cpp
index fa040054de6e10bb7bb65b97b466b15a8ed2b1f8..2fe8d3b4b6c93ca29c2f1ab22e56985a8763b34a 100644 (file)
@@ -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;
 }