]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dataobj.h
Added wxWindowBase::CentreOnParent to allow top level windows to be
[wxWidgets.git] / include / wx / dataobj.h
index c1ac807fc305ed5ad6f87b168c9360ebe4a6f5cb..95e4296b55b3bb0604a333262c7e1c2328c59946 100644 (file)
@@ -81,7 +81,9 @@ private:
 
 class WXDLLEXPORT wxPrivateDataObject : public wxDataObject
 {
+#ifdef __WXGTK__
     DECLARE_DYNAMIC_CLASS( wxPrivateDataObject )
+#endif
 
 public:
     wxPrivateDataObject();
@@ -118,11 +120,8 @@ public:
     virtual void GetDataHere(void *dest) const
         { WriteData(dest); }
 
-protected:
     // the function which really copies the data - called by WriteData() above
     // and uses GetSize() to get the size of the data
-    //
-    // VZ: I really wonder why do we need it
     void WriteData( const void *data, void *dest ) const;
 
 private: