-wxPrivateDataObject::wxPrivateDataObject()
-{
- m_id = "application/";
- m_id += wxTheApp->GetAppName();
-
- m_format = new wxDataFormat( m_id );
-
- m_size = 0;
- m_data = (char*) NULL;
-}
-
-wxPrivateDataObject::~wxPrivateDataObject()
-{
- if (m_data) delete[] m_data;
-}
-
-void wxPrivateDataObject::SetId( const wxString& id )
-{
- m_id = id;
- m_format->SetId( m_id );
-}
-
-wxString wxPrivateDataObject::GetId() const
-{
- return m_id;