]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/dataobj.h
* Some more CopyObject()
[wxWidgets.git] / include / wx / gtk1 / dataobj.h
index 13c80135ca038c1a2fba27b6d6fdef3d5ff26523..86d2e79edcf504c4836791efba2de0a3920f14cc 100644 (file)
@@ -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,7 +78,7 @@ public:
   wxDataType GetType() const;
   
   wxString GetId() const;
-  void SetId( const wxString &id );
+  void SetId( const wxChar *id );
   
   GdkAtom GetAtom();
       
@@ -86,7 +91,7 @@ private:
 };
 
 //-------------------------------------------------------------------------
-// wxDataBroker handles data and ormat negotiation for clipboard and DnD
+// wxDataBroker (internal)
 //-------------------------------------------------------------------------
 
 class wxDataBroker : public wxObject