]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/clipbrd.cpp
Cast needed to fix compilation on 10.4 --This line, and those below,
[wxWidgets.git] / src / motif / clipbrd.cpp
index 936328d7cf1f12aa418c45344309396cdd9fd92f..6a383909435d4c22d8952223db9571747e082bb0 100644 (file)
@@ -32,7 +32,9 @@
     #include "wx/dataobj.h"
 #endif
 
-#include "wx/ptr_scpd.h"
+#include "wx/scopedarray.h"
+
+typedef wxScopedArray<wxDataFormat> wxDataFormatScopedArray;
 
 #ifdef __VMS__
 #pragma message disable nosimpint
@@ -233,9 +235,6 @@ bool wxClipboard::SetData( wxDataObject *data )
     return AddData( data );
 }
 
-wxDECLARE_SCOPED_ARRAY( wxDataFormat, wxDataFormatScopedArray )
-wxDEFINE_SCOPED_ARRAY( wxDataFormat, wxDataFormatScopedArray )
-
 #if wxCHECK_LESSTIF()
 void wxClipboardCallback( Widget xwidget, int* data_id,
                           int* priv, int* WXUNUSED(reason) )