Remove wxOSX/Carbon support.
Cocoa has been the default toolkit in wxWidgets for a long time. There is really no good reason to use Carbon in 2016 and this removes a lot of unused and unmaintained code.
This commit is contained in:
@@ -1000,8 +1000,7 @@ public:
|
||||
virtual void MacNewFile();
|
||||
|
||||
/**
|
||||
Called in response of an openFiles message with Cocoa, or an
|
||||
"open-document" Apple event with Carbon.
|
||||
Called in response of an openFiles message.
|
||||
|
||||
You need to override this method in order to open one or more document
|
||||
files after the user double clicked on it or if the files and/or
|
||||
|
@@ -85,11 +85,7 @@
|
||||
bitmap but uses a standard id would display a label too.
|
||||
@style{wxBORDER_NONE}
|
||||
Creates a button without border. This is currently implemented in MSW,
|
||||
GTK2 and OSX/Cocoa and OSX/Carbon ports but in the latter only applies
|
||||
to buttons with bitmaps and using bitmap of one of the standard sizes
|
||||
only, namely 128*128, 48*48, 24*24 or 16*16. In all the other cases
|
||||
wxBORDER_NONE is ignored under OSX/Carbon (these restrictions don't
|
||||
exist in OSX/Cocoa however).
|
||||
GTK2 and OSX/Cocoa.
|
||||
@endStyleTable
|
||||
|
||||
@beginEventEmissionTable{wxCommandEvent}
|
||||
|
@@ -182,9 +182,6 @@ public:
|
||||
@return
|
||||
@true if this item should be enabled, @false otherwise.
|
||||
|
||||
@note Currently disabling items is not supported by the wxOSX/Carbon
|
||||
implementation.
|
||||
|
||||
@since 2.9.2
|
||||
*/
|
||||
virtual bool IsEnabled(const wxDataViewItem &item,
|
||||
@@ -1274,8 +1271,6 @@ public:
|
||||
|
||||
Doesn't do anything if the item or this column is not editable.
|
||||
|
||||
@note Currently not implemented in wxOSX/Carbon.
|
||||
|
||||
@since 2.9.4
|
||||
*/
|
||||
virtual void EditItem(const wxDataViewItem& item, const wxDataViewColumn *column);
|
||||
|
@@ -31,8 +31,8 @@ const char wxMessageBoxCaptionStr[] = "Message";
|
||||
Puts a Help button to the message box. This button can have special
|
||||
appearance or be specially positioned if its label is not changed from
|
||||
the default one. Notice that using this button is not supported when
|
||||
showing a message box from non-main thread in wxOSX/Cocoa and it is not
|
||||
supported in wxOSX/Carbon at all. Available since wxWidgets 2.9.3.
|
||||
showing a message box from non-main thread in wxOSX/Cocoa.
|
||||
Available since wxWidgets 2.9.3.
|
||||
@style{wxNO_DEFAULT}
|
||||
Makes the "No" button default, can only be used with @c wxYES_NO.
|
||||
@style{wxCANCEL_DEFAULT}
|
||||
|
@@ -1279,7 +1279,7 @@ public:
|
||||
The returned number is the number of logical lines, i.e. just the count
|
||||
of the number of newline characters in the control + 1, for wxGTK and
|
||||
wxOSX/Cocoa ports while it is the number of physical lines, i.e. the
|
||||
count of lines actually shown in the control, in wxMSW and wxOSX/Carbon.
|
||||
count of lines actually shown in the control, in wxMSW.
|
||||
Because of this discrepancy, it is not recommended to use this function.
|
||||
|
||||
@remarks
|
||||
|
@@ -588,7 +588,7 @@ public:
|
||||
@param vflag
|
||||
Whether the vertical scroll bar should always be visible.
|
||||
|
||||
@remarks This function is currently only implemented under Mac/Carbon.
|
||||
@remarks This function is currently not implemented.
|
||||
*/
|
||||
virtual void AlwaysShowScrollbars(bool hflag = true, bool vflag = true);
|
||||
|
||||
@@ -2750,9 +2750,7 @@ public:
|
||||
animation time for the current platform is used.
|
||||
|
||||
@note Currently this function is only implemented in wxMSW and wxOSX
|
||||
(for wxTopLevelWindows only in Carbon version and for any kind of
|
||||
windows in Cocoa) and does the same thing as Show() in the other
|
||||
ports.
|
||||
and does the same thing as Show() in the other ports.
|
||||
|
||||
@since 2.9.0
|
||||
|
||||
|
Reference in New Issue
Block a user