i have a problem with wxPlugin in SDK samples, i succeed to compile it with wxWidgets library.
Its results the wxPlugin.acroplugin, but i paste in the plugin acrobat directory and i start acrobat pro --> the plugin is not known, i cant see the the plugin in the advanced menu.
Notifications: im on mac os x leopard and i use acrobat pro 9
wxPlugin is not supported currently on Mac.
If you look at the sources, you will find that plugin does not do anything for Mac platform.
This Plugin will be supported on Mac in the next release of Acrobat SDK.
I use wxWidgets 2.8.10 successfuly on both Win (XP-7) and Mac(10.4 and above) platforms.
You will need to delete all the preinstalled wxWidgets from your MAC as the old version clashes with the new one.
I use static unicode build for wx.
On Mac you need to specify that it is to run as a plug-in - embedded (or something like this) variable must be set to true during the init. You will find the all the information on wx forum and related sites.
I remember there were some problems with assigning the created windows to the right class under Mac.
The wxPlugin works for me after removing the #ifndef MAC_PLATFORM in PluginUnload() and PluginInit(). The hard part was to compile wxWidgets. I used the following configure parameters:
../configure CC=gcc-4.0 CXX=g++-4.0 LD=g++-4.0 --enable-universal_binary --disable-shared --with-macosx-sdk=/Developer/SDKs/MacOSX10.4u.sdk --with-mmacosx-version-min=10.4 --enable-debug
Just copy the include and library files to NonAdobeSupport/wxWidgets/mac (as described on this page: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/API_Refe rences/Acrobat_API_Reference/Samples/CodeSamples/sample-descriptions.h tml
All that was left to do was to remove libexpat from the frameworks section - that library is part of the operating system.
All three menu items are there and working. I don't know if there are any problems lurking below the surface, I'm just getting started with a cross-platform project that will use wxWidgets in an Acrobat plug-in on both WIndows and the Mac.