X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dcbd177f06597f98aae27bf53a4c98b4739102c7..a1c3cdc4a2c4cc2b15d7fdf60c1be228f9fbc520:/docs/latex/wx/memorydc.tex diff --git a/docs/latex/wx/memorydc.tex b/docs/latex/wx/memorydc.tex index 0f4f2854c6..eadaa1d991 100644 --- a/docs/latex/wx/memorydc.tex +++ b/docs/latex/wx/memorydc.tex @@ -41,17 +41,18 @@ can be reselected into another memory DC. \membersection{wxMemoryDC::wxMemoryDC}\label{wxmemorydcctor} -\func{}{wxMemoryDC}{\void} +\func{}{wxMemoryDC}{\param{const wxBitmap\& }{bitmap = wxNullBitmap}} Constructs a new memory device context. Use the {\it Ok} member to test whether the constructor was successful -in creating a usable device context. Don't forget to select a bitmap -into the DC before drawing on it. +in creating a usable device context. If you don't pass a valid bitmap +to the constructor, don't forget to select a bitmap into the DC before +drawing on it. \membersection{wxMemoryDC::SelectObject}\label{wxmemorydcselectobject} -\func{}{SelectObject}{\param{const wxBitmap\& }{bitmap}} +\func{void}{SelectObject}{\param{const wxBitmap\& }{bitmap}} Selects the given bitmap into the device context, to use as the memory bitmap. Selecting the bitmap into a memory DC allows you to draw into