From 2d9b9fecd52fb12f187d57fb7dc891d424e0f457 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Sun, 24 Apr 2011 21:12:32 +0200 Subject: [PATCH] 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. --- build-unix.txt | 2 +- ui.cpp | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/build-unix.txt b/build-unix.txt index b959f1a2d9..d0cbc40fab 100644 --- a/build-unix.txt +++ b/build-unix.txt @@ -73,7 +73,7 @@ tar -xzvf wxWidgets-2.9.0.tar.gz cd wxWidgets-2.9.0 mkdir buildgtk cd buildgtk -../configure --with-gtk --enable-debug --disable-shared --enable-monolithic +../configure --with-gtk --enable-debug --disable-shared --enable-monolithic --without-libpng --disable-svg make sudo su make install 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