and ports.
@li @ref page_port_wxgtk
-@li @ref page_port_wxosx_carbon
-@li @ref page_port_wxosx_cocoa
+@li @ref page_port_wxosx
@li @ref page_port_wxos2
@li @ref page_port_wxmgl
@li @ref page_port_wxx11
in the distribution.
-
-
-@section page_port_wxosx_carbon wxOSX/Carbon
+@section page_port_wxosx wxOSX
@htmlonly
<img src="logo_osxleopard.png" alt="Mac OS X (Leopard) logo"
title="Mac OS X (Leopard) logo" class="logo">
@endhtmlonly
+@subsection page_port_wxosx_carbon wxOSX/Carbon
+
wxOSX/Carbon is a port of wxWidgets for the Macintosh OS platform.
Currently MacOS X 10.4 or higher are supported. wxOSX/Carbon can
be compiled both using Apple's command line developer tools
64-bit architecture since Apple decided not to port its Carbon
API entirely to 64-bit.
+@note Carbon has been deprecated by Apple as of OS X 10.5 and will likely
+be removed entirely in a future OS version. It's recommended you look into
+switching your app over to wxOSX/Cocoa as soon as possible.
+
For further information, please see the files in @c docs/osx
in the distribution.
-@section page_port_wxosx_cocoa wxOSX/Cocoa
-
-@htmlonly
-<img src="logo_osxleopard.png" alt="Mac OS X (Leopard) logo"
- title="Mac OS X (Leopard) logo" class="logo">
-@endhtmlonly
+@subsection page_port_wxosx_cocoa wxOSX/Cocoa
wxOSX/Cocoa is another port of wxWidgets for the Macintosh OS
platform. In contrast to wxOSX/Carbon, it uses the Cocoa API
of the wxOSX/Carbon port yet. It is possible to use wxOSX/Cocoa
on 64-bit architectures.
+In order to configure wxWidgets to compile wxOSX/Cocoa you will
+need to type:
+
+@verbatim configure --with-osx_cocoa @endverbatim
+
For further information, please see the files in @c docs/osx
in the distribution.
-Note that there was a previous effort towards a Cocoa port called
+@note There was a previous effort towards a Cocoa port called
wxCocoa, which was implemented totally with Cocoa API unlike the OSX/Cocoa port
which uses OS X C APIs to share code, and while it is no longer being actively
developed, docs for it are available in @c docs/cocoa in the distribution.
Called in response of an "open-application" Apple event.
Override this to create a new document in your app.
- @onlyfor{wxmac}
+ @onlyfor{wxosx}
*/
virtual void MacNewFile();
user double clicked on it or if the document file was dropped on either the
running application or the application icon in Finder.
- @onlyfor{wxmac}
+ @onlyfor{wxosx}
*/
virtual void MacOpenFile(const wxString& fileName);
/**
Called in response of a "get-url" Apple event.
- @onlyfor{wxmac}
+ @onlyfor{wxosx}
*/
virtual void MacOpenURL(const wxString& url);
/**
Called in response of a "print-document" Apple event.
- @onlyfor{wxmac}
+ @onlyfor{wxosx}
*/
virtual void MacPrintFile(const wxString& fileName);
/**
Called in response of a "reopen-application" Apple event.
- @onlyfor{wxmac}
+ @onlyfor{wxosx}
*/
virtual void MacReopenApp();
icons for GTK. You should use the macro wxDROP_ICON() in portable
programs instead of directly using either of these types.
- @onlyfor{wxmsw,wxmac}
+ @onlyfor{wxmsw,wxosx}
@param win
The window which initiates the drag and drop operation.
icons for GTK. You should use the macro wxDROP_ICON() in portable
programs instead of directly using either of these types.
- @onlyfor{wxmsw,wxmac}
+ @onlyfor{wxmsw,wxosx}
@param data
The data associated with the drop source.
matching the dimensions of the image list.
This does not apply when adding icons.
- @onlyfor{wxmsw,wxmac}
+ @onlyfor{wxmsw,wxosx}
*/
int Add(const wxIcon& icon);
@remarks The original bitmap or icon is not affected by the Replace()
operation, and can be deleted afterwards.
- @onlyfor{wxmsw,wxmac}
+ @onlyfor{wxmsw,wxosx}
*/
bool Replace(int index, const wxIcon& icon);
};
Sets the bitmap for the menu item.
It is equivalent to wxMenuItem::SetBitmaps(bmp, wxNullBitmap).
- @onlyfor{wxmsw,wxmac,wxgtk}
+ @onlyfor{wxmsw,wxosx,wxgtk}
*/
virtual void SetBitmap(const wxBitmap& bmp);