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:
@@ -20,8 +20,29 @@
|
||||
|
||||
IMPLEMENT_DYNAMIC_CLASS(wxIcon,wxBitmap)
|
||||
|
||||
wxIcon::wxIcon( char **bits, int WXUNUSED(width), int WXUNUSED(height) ) :
|
||||
wxBitmap( bits )
|
||||
wxIcon::wxIcon( char **bits, int WXUNUSED(width), int WXUNUSED(height) ) :
|
||||
wxBitmap( bits )
|
||||
{
|
||||
}
|
||||
|
||||
wxIcon::wxIcon() : wxBitmap()
|
||||
{
|
||||
}
|
||||
|
||||
wxIcon::wxIcon(const wxIcon& icon) : wxBitmap()
|
||||
{
|
||||
Ref(icon);
|
||||
}
|
||||
|
||||
wxIcon::wxIcon(const wxIcon* icon) : wxBitmap()
|
||||
{
|
||||
if (icon) Ref(*icon);
|
||||
}
|
||||
|
||||
wxIcon& wxIcon::operator = (const wxIcon& icon)
|
||||
{
|
||||
if (*this == icon) return (*this);
|
||||
Ref(icon);
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user