simplify/cleanup wxTheXXXList and wxGDIObject code (patch 1452023 from Paul Cornett)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-04-16 22:33:24 +00:00
parent d0914b9d8d
commit 1de8d512b7
12 changed files with 97 additions and 258 deletions

View File

@@ -371,13 +371,6 @@ Constructor. The application should not construct its own brush list:
use the object pointer {\bf wxTheBrushList}.
\membersection{wxBrushList::AddBrush}\label{wxbrushlistaddbrush}
\func{void}{AddBrush}{\param{wxBrush *}{brush}}
Used internally by wxWidgets to add a brush to the list.
\membersection{wxBrushList::FindOrCreateBrush}\label{wxbrushlistfindorcreatebrush}
\func{wxBrush *}{FindOrCreateBrush}{\param{const wxColour\& }{colour}, \param{int}{ style = wxSOLID}}
@@ -392,10 +385,3 @@ to the brush list, and returns it.
\docparam{style}{Brush style. See \helpref{wxBrush::SetStyle}{wxbrushsetstyle} for a list of styles.}
\membersection{wxBrushList::RemoveBrush}\label{wxbrushlistremovebrush}
\func{void}{RemoveBrush}{\param{wxBrush *}{brush}}
Used by wxWidgets to remove a brush from the list.

View File

@@ -29,12 +29,6 @@ deleted and their resources freed, eliminating the possibility of `memory leaks'
Constructor. The application should not construct its own font list:
use the object pointer {\bf wxTheFontList}.
\membersection{wxFontList::AddFont}\label{wxfontlistaddfont}
\func{void}{AddFont}{\param{wxFont *}{font}}
Used by wxWidgets to add a font to the list, called in the font constructor.
\membersection{wxFontList::FindOrCreateFont}\label{findorcreatefont}
\func{wxFont *}{FindOrCreateFont}{\param{int}{ point\_size}, \param{int}{ family}, \param{int}{ style}, \param{int}{ weight}, \param{bool}{ underline = false},
@@ -43,10 +37,3 @@ Used by wxWidgets to add a font to the list, called in the font constructor.
Finds a font of the given specification, or creates one and adds it to the list. See the \helpref{wxFont constructor}{wxfontctor} for
details of the arguments.
\membersection{wxFontList::RemoveFont}\label{wxfontlistremovefont}
\func{void}{RemoveFont}{\param{wxFont *}{font}}
Used by wxWidgets to remove a font from the list.

View File

@@ -390,12 +390,6 @@ backward compatibility with earlier versions of wxWidgets.
Constructor. The application should not construct its own pen list:
use the object pointer {\bf wxThePenList}.
\membersection{wxPenList::AddPen}\label{wxpenlistaddpen}
\func{void}{AddPen}{\param{wxPen*}{ pen}}
Used internally by wxWidgets to add a pen to the list.
\membersection{wxPenList::FindOrCreatePen}\label{wxpenlistfindorcreatepen}
\func{wxPen*}{FindOrCreatePen}{\param{const wxColour\& }{colour}, \param{int}{ width}, \param{int}{ style}}
@@ -417,9 +411,3 @@ to the pen list, and returns it.
\docparam{width}{Width of pen.}
\docparam{style}{Pen style. See \helpref{wxPen::wxPen}{wxpenctor} for a list of styles.}
\membersection{wxPenList::RemovePen}\label{wxpenlistremovepen}
\func{void}{RemovePen}{\param{wxPen*}{ pen}}
Used by wxWidgets to remove a pen from the list.