]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/font.h
handle fatal exceptions in the other threads (based on patch 1459813 by Carl-Friedric...
[wxWidgets.git] / include / wx / os2 / font.h
index 314d445d7bd9ce74f2456d116bbe04ea71fcc050..ba851805133f61fdd7ab82fae6dcb60be42e59f8 100644 (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: