X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cd5bf2a6e3a7d03e8b1f97e989eecdcc63f7151f..6db90681cf0b58209a061561f5d3624f6eda8024:/include/wx/gtk1/dataobj.h diff --git a/include/wx/gtk1/dataobj.h b/include/wx/gtk1/dataobj.h index 13c80135ca..cda2856ce0 100644 --- a/include/wx/gtk1/dataobj.h +++ b/include/wx/gtk1/dataobj.h @@ -32,7 +32,7 @@ class wxPrivateDataObject; class wxFileDataObject; //------------------------------------------------------------------------- -// wxDataFormat +// wxDataType (internal) //------------------------------------------------------------------------- enum wxDataType @@ -57,6 +57,10 @@ enum wxDataType wxDF_PRIVATE = 20 }; +//------------------------------------------------------------------------- +// wxDataFormat (internal) +//------------------------------------------------------------------------- + class wxDataFormat : public wxObject { DECLARE_CLASS( wxDataFormat ) @@ -66,6 +70,7 @@ public: wxDataFormat(); wxDataFormat( wxDataType type ); wxDataFormat( const wxString &id ); + wxDataFormat( const wxChar *id ); wxDataFormat( wxDataFormat &format ); wxDataFormat( const GdkAtom atom ); @@ -73,10 +78,10 @@ public: wxDataType GetType() const; wxString GetId() const; - void SetId( const wxString &id ); + void SetId( const wxChar *id ); GdkAtom GetAtom(); - + void SetAtom(GdkAtom atom) { m_hasAtom = TRUE; m_atom = atom; } private: wxDataType m_type; @@ -86,7 +91,7 @@ private: }; //------------------------------------------------------------------------- -// wxDataBroker handles data and ormat negotiation for clipboard and DnD +// wxDataBroker (internal) //------------------------------------------------------------------------- class wxDataBroker : public wxObject