Turned wxIcon inline constructors to real constructors

Removed warning from dcclient
  Added wxTheFontList->Add(this) somewhere in wxFont
  CleanUp() now printfs the number of members in
    wxTheBitmapList


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
1998-08-17 14:29:53 +00:00
parent e8c81745ea
commit 52cbfcf009
14 changed files with 72 additions and 22 deletions

View File

@@ -153,12 +153,16 @@ wxFont::wxFont(int PointSize, const char *Face, int Family, int Style,
wxFont::wxFont( const wxFont& font )
{
Ref( font );
if (wxTheFontList) wxTheFontList->Append( this );
}
wxFont::wxFont( const wxFont* font )
{
UnRef();
if (font) Ref( *font );
if (wxTheFontList) wxTheFontList->Append( this );
}
wxFont::~wxFont(void)