Browse Source

Merge pull request #186 from TheBlueMatt/nopng.

Remove unnecessary line which creates a dependency on wx's png library.
0.8
Gavin Andresen 14 years ago
parent
commit
249aff45c2
  1. 2
      build-unix.txt
  2. 3
      ui.cpp

2
build-unix.txt

@ -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

@ -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

Loading…
Cancel
Save