]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/carbon/dataobj.cpp
Fit modeless preferences dialog to its contents too.
[wxWidgets.git] / src / osx / carbon / dataobj.cpp
index b48ce932e9d3d3a6d0e7ff21476721ba0e1df6f5..e02e880b1a8e594d049abf41049f127672d3b743 100644 (file)
@@ -629,6 +629,10 @@ void wxDataObject::AddSupportedTypes( void* cfarray)
         {
             CFArrayAppendValue((CFMutableArrayRef)cfarray, kUTTypePDF);
         }
+        else if ( dataFormat.GetType() == wxDF_PRIVATE )
+        {
+            CFArrayAppendValue((CFMutableArrayRef)cfarray, (CFStringRef) dataFormat.GetFormatId());
+        }
     }
     delete[] array;
 }