aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2011-05-01 06:39:31 -0700
committerGavin Andresen <gavinandresen@gmail.com>2011-05-01 06:39:31 -0700
commit249aff45c205962d97d6b77b220dc26131cc7fd3 (patch)
tree659ef3a7b8fd26e5fc5e77fe246684e545a84ad9
parent06d9156b8d6681a92270f9f9423af768fa6b675f (diff)
parent2d9b9fecd52fb12f187d57fb7dc891d424e0f457 (diff)
Merge pull request #186 from TheBlueMatt/nopng.
Remove unnecessary line which creates a dependency on wx's png library.
-rw-r--r--build-unix.txt2
-rw-r--r--ui.cpp3
2 files changed, 1 insertions, 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