Have you tried using the source debugger to set breakpoints to see if you are even getting loaded?
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 cant make a plugin using wxWidgets on mac?
Well, i think you can.
But the Sample provided in SDK does not work on Mac currently.
have you a working code with wxWidgets just for lets me start plz?
i just want to open a frame
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.
Can you give me a code exemple whose work please? i try to open a simple frame in acrobat since 2 day ago and i cant success
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_References/Acrobat_API_R eference/Samples/CodeSamples/sample-descriptions.html
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.
really thanks to you dude
you save me