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:
		| @@ -36,13 +36,11 @@ class wxIcon: public wxBitmap | ||||
|  | ||||
| public: | ||||
|  | ||||
|   wxIcon(void) {}; | ||||
|  | ||||
|   inline wxIcon(const wxIcon& icon) { Ref(icon); } | ||||
|   inline wxIcon(const wxIcon* icon) { if (icon) Ref(*icon); } | ||||
|   wxIcon(void); | ||||
|   wxIcon(const wxIcon& icon); | ||||
|   wxIcon(const wxIcon* icon); | ||||
|   wxIcon( char **bits, int width=-1, int height=-1 ); | ||||
|    | ||||
|   inline wxIcon& operator = (const wxIcon& icon) { if (*this == icon) return (*this); Ref(icon); return *this; } | ||||
|   inline bool operator == (const wxIcon& icon) { return m_refData == icon.m_refData; } | ||||
|   inline bool operator != (const wxIcon& icon) { return m_refData != icon.m_refData; } | ||||
| }; | ||||
|   | ||||
| @@ -36,13 +36,11 @@ class wxIcon: public wxBitmap | ||||
|  | ||||
| public: | ||||
|  | ||||
|   wxIcon(void) {}; | ||||
|  | ||||
|   inline wxIcon(const wxIcon& icon) { Ref(icon); } | ||||
|   inline wxIcon(const wxIcon* icon) { if (icon) Ref(*icon); } | ||||
|   wxIcon(void); | ||||
|   wxIcon(const wxIcon& icon); | ||||
|   wxIcon(const wxIcon* icon); | ||||
|   wxIcon( char **bits, int width=-1, int height=-1 ); | ||||
|    | ||||
|   inline wxIcon& operator = (const wxIcon& icon) { if (*this == icon) return (*this); Ref(icon); return *this; } | ||||
|   inline bool operator == (const wxIcon& icon) { return m_refData == icon.m_refData; } | ||||
|   inline bool operator != (const wxIcon& icon) { return m_refData != icon.m_refData; } | ||||
| }; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user