Consider wxOSX the port name, and have wxOSX/Carbon and wxOSX/Cocoa as variations, so that linkages from function docs are left intact. Also, do a little cleanup and elaborate more in the docs for OS X Cocoa and OS X Carbon.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -212,7 +212,7 @@ public:
|
||||
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();
|
||||
|
||||
@@ -223,28 +223,28 @@ public:
|
||||
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();
|
||||
|
||||
|
@@ -192,7 +192,7 @@ public:
|
||||
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.
|
||||
@@ -216,7 +216,7 @@ public:
|
||||
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.
|
||||
|
@@ -94,7 +94,7 @@ public:
|
||||
@param height
|
||||
The height of the image.
|
||||
|
||||
@onlyfor{wxmsw,wxmac}
|
||||
@onlyfor{wxmsw,wxosx}
|
||||
*/
|
||||
wxIcon(const char bits[], int width, int height);
|
||||
|
||||
|
@@ -101,7 +101,7 @@ public:
|
||||
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);
|
||||
|
||||
@@ -209,7 +209,7 @@ public:
|
||||
@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);
|
||||
};
|
||||
|
@@ -276,7 +276,7 @@ public:
|
||||
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);
|
||||
|
||||
|
@@ -182,7 +182,7 @@ public:
|
||||
@param stipple
|
||||
A stipple bitmap.
|
||||
|
||||
@onlyfor{wxmsw,wxmac}
|
||||
@onlyfor{wxmsw,wxosx}
|
||||
|
||||
@see SetWidth(), SetStipple()
|
||||
*/
|
||||
|
Reference in New Issue
Block a user