From 2d9b9fecd52fb12f187d57fb7dc891d424e0f457 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Sun, 24 Apr 2011 21:12:32 +0200 Subject: Remove unnecessary line which creates a dependency on wx's png library. This should allow the bitcoin binaries to run on ever so slightly more installs, specifically those who use a different libpng library (many distros use 1.4 which is imcompatible with 1.2. --- ui.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'ui.cpp') diff --git a/ui.cpp b/ui.cpp index 2277da6a3a..a95f31bdb8 100644 --- a/ui.cpp +++ b/ui.cpp @@ -2839,9 +2839,6 @@ bool CMyApp::OnInit() extern int g_isPainting; g_isPainting = 10000; #endif -#ifdef GUI - wxImage::AddHandler(new wxPNGHandler); -#endif #if defined(__WXMSW__ ) || defined(__WXMAC_OSX__) SetAppName("Bitcoin"); #else -- cgit v1.2.3