Do not initialize objects on the stack before the program commences,
since other required structures may not have been set up yet. Instead,
Do not initialize objects on the stack before the program commences,
since other required structures may not have been set up yet. Instead,
Although all remaining pens are deleted when the application exits,
the application should try to clean up all pens itself. This is because
Although all remaining pens are deleted when the application exits,
the application should try to clean up all pens itself. This is because
application data structure, and there is a risk of double deletion.
\membersection{wxPen::GetCap}\label{wxpengetcap}
application data structure, and there is a risk of double deletion.
\membersection{wxPen::GetCap}\label{wxpengetcap}
Sets the pen join style, which may be one of {\bf wxJOIN\_BEVEL}, {\bf wxJOIN\_ROUND} and
\rtfsp{\bf wxJOIN\_MITER}. The default is {\bf wxJOIN\_ROUND}.
Sets the pen join style, which may be one of {\bf wxJOIN\_BEVEL}, {\bf wxJOIN\_ROUND} and
\rtfsp{\bf wxJOIN\_MITER}. The default is {\bf wxJOIN\_ROUND}.
`memory leaks'. However, it is best not to rely on this automatic
cleanup because it can lead to double deletion in some circumstances.
`memory leaks'. However, it is best not to rely on this automatic
cleanup because it can lead to double deletion in some circumstances.
pen list less useful than it once was. Under Windows, scarce resources
are cleaned up internally if they are not being used. Also, a referencing
counting mechanism applied to all GDI objects means that some sharing
pen list less useful than it once was. Under Windows, scarce resources
are cleaned up internally if they are not being used. Also, a referencing
counting mechanism applied to all GDI objects means that some sharing
your application is using too many resources, you can resort to using
GDI lists to share objects explicitly.
your application is using too many resources, you can resort to using
GDI lists to share objects explicitly.
\membersection{wxPenList::RemovePen}\label{wxpenlistremovepen}
\func{void}{RemovePen}{\param{wxPen*}{ pen}}
\membersection{wxPenList::RemovePen}\label{wxpenlistremovepen}
\func{void}{RemovePen}{\param{wxPen*}{ pen}}