]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/dataobj.cpp
Added support for saving greyscale TIFF images.
[wxWidgets.git] / src / motif / dataobj.cpp
index c96ec26e1541eaf55772e7622a0496cf5fcf3a82..0fd6bf384b565eb0a8a8a2ec555b5e7cc43c9cd8 100644 (file)
@@ -160,7 +160,7 @@ size_t wxBitmapDataObject::GetDataSize() const
 
 bool wxBitmapDataObject::GetDataHere(void* buf) const
 {
-    if( !GetBitmap().Ok() )
+    if( !GetBitmap().IsOk() )
         return false;
 
     (*(Pixmap*)buf) = (Pixmap)GetBitmap().GetDrawable();