great copy ctor/assignment operators cleanup by Paul Cornett (patch 1307665)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-02-09 00:51:23 +00:00
parent 1906f9df59
commit f8855e4725
125 changed files with 44 additions and 892 deletions

View File

@@ -25,8 +25,7 @@ class WXDLLEXPORT wxFont : public wxFontBase
{
public:
// ctors and such
wxFont() { Init(); }
wxFont(const wxFont& rFont) { Init(); Ref(rFont); }
wxFont() { }
wxFont( int nSize
,int nFamily
@@ -37,8 +36,6 @@ public:
,wxFontEncoding vEncoding = wxFONTENCODING_DEFAULT
)
{
Init();
(void)Create( nSize
,nFamily
,nStyle
@@ -54,8 +51,6 @@ public:
)
{
Init();
(void)Create( rInfo
,hFont
);
@@ -77,11 +72,6 @@ public:
virtual ~wxFont();
//
// Assignment
//
wxFont& operator=(const wxFont& rFont);
//
// Implement base class pure virtuals
//
@@ -123,10 +113,6 @@ public:
protected:
virtual void DoSetNativeFontInfo(const wxNativeFontInfo& rInfo);
//
// Common part of all ctors
//
void Init(void);
void Unshare(void);
private: