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.
This commit is contained in:
Matt Corallo 2011-04-24 21:12:32 +02:00
parent 64ad448adc
commit 2d9b9fecd5
2 changed files with 1 additions and 4 deletions

View file

@ -73,7 +73,7 @@ tar -xzvf wxWidgets-2.9.0.tar.gz
cd wxWidgets-2.9.0 cd wxWidgets-2.9.0
mkdir buildgtk mkdir buildgtk
cd 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 make
sudo su sudo su
make install make install

3
ui.cpp
View file

@ -2839,9 +2839,6 @@ bool CMyApp::OnInit()
extern int g_isPainting; extern int g_isPainting;
g_isPainting = 10000; g_isPainting = 10000;
#endif #endif
#ifdef GUI
wxImage::AddHandler(new wxPNGHandler);
#endif
#if defined(__WXMSW__ ) || defined(__WXMAC_OSX__) #if defined(__WXMSW__ ) || defined(__WXMAC_OSX__)
SetAppName("Bitcoin"); SetAppName("Bitcoin");
#else #else