X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ab272c0bf8d2ca2d2d691215fbc0e65a8782f73d..6cf7c00f3beb3aa6c84b47d43d904e0e40f91a97:/docs/latex/wx/bmpdatob.tex diff --git a/docs/latex/wx/bmpdatob.tex b/docs/latex/wx/bmpdatob.tex index 3c2c283193..634794c0e1 100644 --- a/docs/latex/wx/bmpdatob.tex +++ b/docs/latex/wx/bmpdatob.tex @@ -13,6 +13,10 @@ and \helpref{WriteData}{wxbitmapdataobjectwritedata} will have to be overridden. \helpref{wxDataObject}{wxdataobject} +\wxheading{Include files} + + + \wxheading{See also} \helpref{wxDataObject}{wxdataobject} @@ -23,7 +27,7 @@ and \helpref{WriteData}{wxbitmapdataobjectwritedata} will have to be overridden. \func{}{wxBitmapDataObject}{\void} -Default constructor. Call \helpref{SetBitmap}{wxbitmapdataobjectsettext} later +Default constructor. Call \helpref{SetBitmap}{wxbitmapdataobjectsetbitmap} later or override \helpref{WriteData}{wxbitmapdataobjectwritedata} and \helpref{GetSize}{wxbitmapdataobjectgetsize} for providing data on-demand. @@ -36,7 +40,7 @@ Constructor, passing a bitmap. \constfunc{virtual size\_t}{GetSize}{\void} Returns the data size. By default, returns the size of the bitmap data -set in the constructor or using \helpref{SetBitmap}{wxbitmapdataobjectsettext}. +set in the constructor or using \helpref{SetBitmap}{wxbitmapdataobjectsetbitmap}. This can be overridden to provide size data on-demand. Note that you'd have to call the inherited GetSize method as this is the only way to get to know the transfer size of the bitmap in a platform dependent @@ -69,6 +73,7 @@ size_t MyBitmapDataObject::GetSize() TODO: Offer a nicer way to do this. Maybe by providing a platform dependent function in this class like + \begin{verbatim} size_t GetBitmapSize( const wxBitmap &bitmap ) \end{verbatim} @@ -82,7 +87,7 @@ this method when offering data on-demand, but this is not required by wxWindows' internals. Use this method to get data in bitmap form from the \helpref{wxClipboard}{wxclipboard}. -\membersection{wxBitmapDataObject::SetBitmap}\label{wxbitmapdataobjectsettext} +\membersection{wxBitmapDataObject::SetBitmap}\label{wxbitmapdataobjectsetbitmap} \func{virtual void}{SetBitmap}{\param{const wxBitmap\& }{bitmap}}