]> git.saurik.com Git - wxWidgets.git/commitdiff
unihde base class virtual functions
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 13 Sep 2005 16:37:11 +0000 (16:37 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 13 Sep 2005 16:37:11 +0000 (16:37 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/motif/dataobj2.h

index 8e7fad45ddb005761160a4208f68d8436011cde0..4226e32d481fefb2899abba3b08dc9502bed6c82 100644 (file)
@@ -33,6 +33,16 @@ public:
     virtual size_t GetDataSize() const;
     virtual bool GetDataHere(void *buf) const;
     virtual bool SetData(size_t len, const void *buf);
+
+    // unhide base class virtual functions
+    virtual size_t GetDataSize(const wxDataFormat& WXUNUSED(format)) const
+        { return GetDataSize(); }
+    virtual bool GetDataHere(const wxDataFormat& WXUNUSED(format),
+                             void *buf) const
+        { return GetDataHere(buf); }
+    virtual bool SetData(const wxDataFormat& WXUNUSED(format),
+                         size_t len, const void *buf)
+        { return SetData(len, buf); }
 };
 
 #endif // _WX_MOTIF_DATAOBJ2_H_