summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
1729acd)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59545
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
and ports.
@li @ref page_port_wxgtk
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
@li @ref page_port_wxos2
@li @ref page_port_wxmgl
@li @ref page_port_wxx11
-
-
-@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
@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
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.
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.
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
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.
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.
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.
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.
Called in response of an "open-application" Apple event.
Override this to create a new document in your app.
*/
virtual void MacNewFile();
*/
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.
user double clicked on it or if the document file was dropped on either the
running application or the application icon in Finder.
*/
virtual void MacOpenFile(const wxString& fileName);
/**
Called in response of a "get-url" Apple event.
*/
virtual void MacOpenFile(const wxString& fileName);
/**
Called in response of a "get-url" Apple event.
*/
virtual void MacOpenURL(const wxString& url);
/**
Called in response of a "print-document" Apple event.
*/
virtual void MacOpenURL(const wxString& url);
/**
Called in response of a "print-document" Apple event.
*/
virtual void MacPrintFile(const wxString& fileName);
/**
Called in response of a "reopen-application" Apple event.
*/
virtual void MacPrintFile(const wxString& fileName);
/**
Called in response of a "reopen-application" Apple event.
*/
virtual void MacReopenApp();
*/
virtual void MacReopenApp();
icons for GTK. You should use the macro wxDROP_ICON() in portable
programs instead of directly using either of these types.
icons for GTK. You should use the macro wxDROP_ICON() in portable
programs instead of directly using either of these types.
@param win
The window which initiates the drag and drop operation.
@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.
icons for GTK. You should use the macro wxDROP_ICON() in portable
programs instead of directly using either of these types.
@param data
The data associated with the drop source.
@param data
The data associated with the drop source.
@param height
The height of the image.
@param height
The height of the image.
*/
wxIcon(const char bits[], int width, int height);
*/
wxIcon(const char bits[], int width, int height);
matching the dimensions of the image list.
This does not apply when adding icons.
matching the dimensions of the image list.
This does not apply when adding icons.
*/
int Add(const wxIcon& icon);
*/
int Add(const wxIcon& icon);
@remarks The original bitmap or icon is not affected by the Replace()
operation, and can be deleted afterwards.
@remarks The original bitmap or icon is not affected by the Replace()
operation, and can be deleted afterwards.
*/
bool Replace(int index, const wxIcon& icon);
};
*/
bool Replace(int index, const wxIcon& icon);
};
Sets the bitmap for the menu item.
It is equivalent to wxMenuItem::SetBitmaps(bmp, wxNullBitmap).
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);
*/
virtual void SetBitmap(const wxBitmap& bmp);
@param stipple
A stipple bitmap.
@param stipple
A stipple bitmap.
@see SetWidth(), SetStipple()
*/
@see SetWidth(), SetStipple()
*/