]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/font.cpp
fix another memory leak in SetCommand() (coverity checker CID 52)
[wxWidgets.git] / src / motif / font.cpp
index abfa867eb08e48c127a8e71ed52a28bdbdb10d83..07d193cb74353bf239f6dee5ec32109bce3c84a2 100644 (file)
@@ -215,15 +215,9 @@ wxFontRefData::~wxFontRefData()
 
 wxFont::wxFont(const wxNativeFontInfo& info)
 {
 
 wxFont::wxFont(const wxNativeFontInfo& info)
 {
-    Init();
-
     (void)Create(info.GetXFontName());
 }
 
     (void)Create(info.GetXFontName());
 }
 
-void wxFont::Init()
-{
-}
-
 bool wxFont::Create(int pointSize,
                     int family,
                     int style,
 bool wxFont::Create(int pointSize,
                     int family,
                     int style,