X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cd5082468fc4dd397d7eea951fa4e905ea3f9368..65baafba0e8cd74f2264b7e2f7625ff5bea84864:/docs/html/faqmac.htm diff --git a/docs/html/faqmac.htm b/docs/html/faqmac.htm index 722f83ca55..eb10289a07 100644 --- a/docs/html/faqmac.htm +++ b/docs/html/faqmac.htm @@ -2,7 +2,7 @@ -wxWindows 2 for Mac FAQ +wxWidgets for Mac FAQ @@ -13,7 +13,7 @@ -wxWindows 2 for Mac FAQ +wxWidgets for Mac FAQ @@ -27,65 +27,65 @@ See also top-level FAQ page.

Where should I download wxMac from?

Please see the downloads page. -The version of wxMac in CVS advances quickly so it is recommended that you download the -the sources from the CVS trunk. -There is also a wxMac 2.3.1 development snapshot.

The author of this port is Stefan Csomor.

Which Mac platforms are supported?

-wxWindows 2 can be used to develop and deliver applications on Classic Mac OS (e.g. Mac OS 8.x/9.x) both as Carbon and non-Carbon applications. -

-A Mac OS X port is in progress in order to be able to build wxWindows applications using the Apple Developer Tools that are delivered with every copy of Mac OS X. -The Mac OS X port is based on and, for the most part, merged with the Carbon code for Classic Mac OS. +wxWidgets can be used to develop and deliver applications on Mac OS X and Mac Classic (e.g. Mac OS 8.x/9.x) both as Carbon and non-Carbon applications. +However the Mac OS X port is the most actively developed one, and Mac Classic will not be supported +after 2.6. wxMac works best with Mac OS X 10.3 and above.

-

How is the Mac OS X port different from the Classic Mac OS port?

+

What compilers are supported?

-wxMac for Mac OS X shares code both with wxMac for Mac OS and common Unix code in wxWindows. The aim is to use the same Mac OS Carbon code both for Classic Mac OS and for Mac OS X while leveraging the fact that Mac OS X is a BSD Unix. +Under Classic Mac OS, MetroWerks CodeWarrior Pro 6 (or above) is required to build wxMac.

-This hybrid approach was suggested by Apple to the Fizzilla team working on Mozilla for Mac OS X. +Under Mac OS X, the Developer Tools are sufficient to build wxMac. CodeWarrior Pro 6 can also be used to build the Carbon targets.

-

How are improvements to the Classic Mac OS port integrated into the Mac OS X port?

- -Since the source code is shared between the two ports, any Carbon compliant improvements to wxMac for Classic Mac OS are automatically available in the Mac OS X port. -

-The following points should be considered when improving wxMac: -

-

+

What can I do if I get conflicts between different installed versions of wxWidgets?

-

What compilers are supported?

+Some versions of Mac OS X install an older version of wxMac than the one you may be using +for development. This can cause conflicts, such as link errors when building your +applications. A user reports:

-Under Classic Mac OS, MetroWerks CodeWarrior Pro 5.3 or 6 are required to build wxMac. -

-Under Mac OS X, the Developer Tools are sufficient to build wxMac. CodeWarrior Pro 6 can also be used to build the Carbon targets. -

+

+I got it to work. I removed the original wxMac build-release folder +and recompiled wxMac following instructions in your book. I then ran +"sudo make install" which I didn't do the first time. I figured I +could now run wx-config --cxxflags from my home directory because +/usr/local/bin/wx-config was in my $PATH. However, OSX 10.4 installed +a version of wxWidgets. When I ran wx-config I was getting wx 2.5 +libs instead of the 2.6.1 libs I just compiled. When I ran +"/usr/local/bin/wx-config --cxxflags" and "/usr/local/bin/wx-config --libs" +and pasted that output into XCode preferences, everything worked fine. +
+

How does CVS handle file types/creators under Mac OS 8.x/9.x?

-Before checking out the wxWindows code using a CVS client under Mac OS 8.x/9.x, be sure your computer is set up to treat xpm and xbm images correctly: +Before checking out the wxWidgets code using a CVS client under Mac OS 8.x/9.x, be sure your computer is set up to treat xpm and xbm images correctly: