diff options
author | Dan Gudmundsson <[email protected]> | 2012-10-30 11:31:22 +0100 |
---|---|---|
committer | Dan Gudmundsson <[email protected]> | 2013-01-09 11:41:40 +0100 |
commit | 9cffd30e76296fec83b22a2b3aa07bd3435cbe30 (patch) | |
tree | a890e1b27557854cf8c34759d737bf57a76c38e8 /lib/wx/api_gen/wxapi.conf | |
parent | c6b6e6b67a7b9f8e0e25385c2272327d9a706348 (diff) | |
download | otp-9cffd30e76296fec83b22a2b3aa07bd3435cbe30.tar.gz otp-9cffd30e76296fec83b22a2b3aa07bd3435cbe30.tar.bz2 otp-9cffd30e76296fec83b22a2b3aa07bd3435cbe30.zip |
wx: Deprecate functions not available in wxWidgets-2.9
Prepare to remove functionality which is not available in coming
wxWidgets versions.
Diffstat (limited to 'lib/wx/api_gen/wxapi.conf')
-rw-r--r-- | lib/wx/api_gen/wxapi.conf | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/lib/wx/api_gen/wxapi.conf b/lib/wx/api_gen/wxapi.conf index bb7732a140..385d7ca7f2 100644 --- a/lib/wx/api_gen/wxapi.conf +++ b/lib/wx/api_gen/wxapi.conf @@ -279,9 +279,9 @@ {class, wxGridCellEditor, root, [], ['Create', 'IsCreated', 'SetSize', 'Show', - {'PaintBackground', [{ifdef, "!wxCHECK_VERSION(2,9,0)"}]}, + {'PaintBackground', [{deprecated, "!wxCHECK_VERSION(2,9,0)"}]}, 'BeginEdit', - {'EndEdit', [{ifdef, "!wxCHECK_VERSION(2,9,0)"}]}, + {'EndEdit', [{deprecated, "!wxCHECK_VERSION(2,9,0)"}]}, 'Reset', 'StartingKey', 'StartingClick', 'HandleReturn' %'Destroy','Clone','~wxGridCellEditor', @@ -323,7 +323,7 @@ [{skip, [{'DrawEllipse',5},{'DrawRectangle',5}, {'DrawRoundedRectangle',6},{'SetClippingRegion',5}]}], [{'Blit',7},'CalcBoundingBox','Clear', - {'ComputeScaleAndOrigin',[{ifdef, "!wxCHECK_VERSION(2,9,0)"}]}, + {'ComputeScaleAndOrigin',[{deprecated, "!wxCHECK_VERSION(2,9,0)"}]}, {'CrossHair',1}, 'DestroyClippingRegion','DeviceToLogicalX','DeviceToLogicalXRel', 'DeviceToLogicalY','DeviceToLogicalYRel',{'DrawArc',3},{'DrawBitmap',3}, @@ -352,16 +352,16 @@ {class,wxScreenDC, wxDC, [], ['wxScreenDC', '~wxScreenDC']}. {class,wxPostScriptDC,wxDC,[], ['wxPostScriptDC','~wxPostScriptDC', - {'SetResolution', [{ifdef, "!wxCHECK_VERSION(2,9,0)"}]}, - {'GetResolution', [{ifdef, "!wxCHECK_VERSION(2,9,0)"}]}]}. + {'SetResolution', [{deprecated, "!wxCHECK_VERSION(2,9,0)"}]}, + {'GetResolution', [{deprecated, "!wxCHECK_VERSION(2,9,0)"}]}]}. {class,wxWindowDC, wxDC, [], - [{'wxWindowDC', [{{func, 0}, [{ifdef, "!wxCHECK_VERSION(2,9,0)"}]}]}, + [{'wxWindowDC', [{{func, 0}, [{deprecated, "!wxCHECK_VERSION(2,9,0)"}]}]}, '~wxWindowDC']}. {class,wxClientDC,wxWindowDC,[], - [{'wxClientDC', [{{func, 0}, [{ifdef, "!wxCHECK_VERSION(2,9,0)"}]}]}, + [{'wxClientDC', [{{func, 0}, [{deprecated, "!wxCHECK_VERSION(2,9,0)"}]}]}, '~wxClientDC']}. {class,wxPaintDC, wxWindowDC, [], - [{'wxPaintDC', [{{func, 0}, [{ifdef, "!wxCHECK_VERSION(2,9,0)"}]}]}, + [{'wxPaintDC', [{{func, 0}, [{deprecated, "!wxCHECK_VERSION(2,9,0)"}]}]}, '~wxPaintDC']}. %%{class,wxPrinterDC, wxDC, [], ['wxPrinterDC','GetPaperRect']}. Not in GTK {class,wxMemoryDC, wxDC, [], ['wxMemoryDC', '~wxMemoryDC','SelectObject','SelectObjectAsSource']}. @@ -377,8 +377,8 @@ ['~wxGraphicsContext', 'Create', %%CreateFromNative CreateFromNativeWindow 'CreatePen','CreateBrush', - {'CreateRadialGradientBrush', [{ifdef, "!wxCHECK_VERSION(2,9,0)"}]}, - {'CreateLinearGradientBrush', [{ifdef, "!wxCHECK_VERSION(2,9,0)"}]}, + {'CreateRadialGradientBrush', [{deprecated, "!wxCHECK_VERSION(2,9,0)"}]}, + {'CreateLinearGradientBrush', [{deprecated, "!wxCHECK_VERSION(2,9,0)"}]}, 'CreateFont','CreateMatrix', 'CreatePath','Clip','ResetClip', 'DrawBitmap','DrawEllipse','DrawIcon', @@ -407,8 +407,8 @@ ['GetDefaultRenderer','CreateContext', %%'CreateContextFromNativeContext', 'CreateContextFromNativeWindow', 'CreatePen','CreateBrush', - {'CreateLinearGradientBrush', [{ifdef, "!wxCHECK_VERSION(2,9,0)"}]}, - {'CreateRadialGradientBrush', [{ifdef, "!wxCHECK_VERSION(2,9,0)"}]}, + {'CreateLinearGradientBrush', [{deprecated, "!wxCHECK_VERSION(2,9,0)"}]}, + {'CreateRadialGradientBrush', [{deprecated, "!wxCHECK_VERSION(2,9,0)"}]}, 'CreateFont', 'CreateMatrix','CreatePath']}. @@ -712,7 +712,7 @@ {class, wxCalendarCtrl, wxControl, [], ['wxCalendarCtrl','Create','~wxCalendarCtrl','SetDate','GetDate', - {'EnableYearChange', [{ifdef, "!wxCHECK_VERSION(2,9,0)"}]}, %% Temp bug in wx I assume + {'EnableYearChange', [{deprecated, "!wxCHECK_VERSION(2,9,0)"}]}, %% Temp bug in wx I assume 'EnableMonthChange','EnableHolidayDisplay', 'SetHeaderColours','GetHeaderColourFg','GetHeaderColourBg', 'SetHighlightColours','GetHighlightColourFg','GetHighlightColourBg', @@ -1265,7 +1265,7 @@ ['wxMDIChildFrame','~wxMDIChildFrame','Activate','Create','Maximize','Restore']}. {class, wxMDIClientWindow, wxWindow, [], - [{'wxMDIClientWindow', [{{func, 2}, [{ifdef, "!wxCHECK_VERSION(2,9,0)"}]}]}, + [{'wxMDIClientWindow', [{{func, 2}, [{deprecated, "!wxCHECK_VERSION(2,9,0)"}]}]}, '~wxMDIClientWindow','CreateClient']}. {class, wxLayoutAlgorithm, object, [], @@ -1431,7 +1431,7 @@ ['GetPosition','SetPosition']}. {enum, wxIdleMode, "wxIDLE_"}. {class, wxIdleEvent, wxEvent, [{event,[wxEVT_IDLE]}], - [{'CanSend', [{ifdef, "!wxCHECK_VERSION(2,9,0)"}]}, + [{'CanSend', [{deprecated, "!wxCHECK_VERSION(2,9,0)"}]}, 'GetMode','RequestMore','MoreRequested','SetMode']}. {class, wxGridEvent, wxNotifyEvent, [{acc, [{m_row, "GetRow()"}, {m_col, "GetCol()"}, {m_x, "GetPosition().x"},{m_y, "GetPosition().y"}, |