]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/dataobj.cpp
Only give capture to wxPopupTransientWindow child if it's the only one.
[wxWidgets.git] / src / motif / dataobj.cpp
index c96ec26e1541eaf55772e7622a0496cf5fcf3a82..2a4eb9404d0f4fe7cb80bb1d7feac0de08b50f2d 100644 (file)
@@ -2,7 +2,6 @@
 // Name:        src/motif/dataobj.cpp
 // Purpose:     wxDataObject class
 // Author:      Julian Smart
-// Id:          $Id$
 // Copyright:   (c) 1998 Julian Smart
 // Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
@@ -160,7 +159,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();