]> git.saurik.com Git - wxWidgets.git/commitdiff
Added a wxDataFormat::SetAtom() inline function.
authorKarsten Ballüder <ballueder@usa.net>
Sun, 16 May 1999 23:13:16 +0000 (23:13 +0000)
committerKarsten Ballüder <ballueder@usa.net>
Sun, 16 May 1999 23:13:16 +0000 (23:13 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/gtk/dataobj.h
include/wx/gtk1/dataobj.h

index 86d2e79edcf504c4836791efba2de0a3920f14cc..cda2856ce0f9fdde2da7738d6b4cc0e55dc13669 100644 (file)
@@ -81,7 +81,7 @@ public:
   void SetId( const wxChar *id );
   
   GdkAtom GetAtom();
-      
+  void SetAtom(GdkAtom atom) { m_hasAtom = TRUE; m_atom = atom; }
 private:
 
   wxDataType  m_type;
index 86d2e79edcf504c4836791efba2de0a3920f14cc..cda2856ce0f9fdde2da7738d6b4cc0e55dc13669 100644 (file)
@@ -81,7 +81,7 @@ public:
   void SetId( const wxChar *id );
   
   GdkAtom GetAtom();
-      
+  void SetAtom(GdkAtom atom) { m_hasAtom = TRUE; m_atom = atom; }
 private:
 
   wxDataType  m_type;