Restore private wxDataFormat::PrepareFormats() to preserve ABI

Even though this function is private, the ABI checker script still
complains if it is removed, so restore it, even if it doesn't do
anything any longer after the changes of the grandparent commit.
This commit is contained in:
Vadim Zeitlin 2022-12-28 00:55:36 +01:00
parent fcf6ff8904
commit 6c2c9220cd
2 changed files with 7 additions and 0 deletions

View File

@ -70,6 +70,8 @@ private:
wxDataFormatId m_type;
NativeFormat m_format;
void PrepareFormats();
};
#endif // _WX_GTK_DATAFORM_H

View File

@ -167,6 +167,11 @@ void wxDataFormat::SetId( const wxString& id )
m_format = gdk_atom_intern( id.ToAscii(), FALSE );
}
void wxDataFormat::PrepareFormats()
{
// This function is not used any longer, but kept for ABI compatibility.
}
//-------------------------------------------------------------------------
// wxDataObject
//-------------------------------------------------------------------------