Merge pull request #186 from TheBlueMatt/nopng.

Remove unnecessary line which creates a dependency on wx's png library.
This commit is contained in:
Gavin Andresen 2011-05-01 06:39:31 -07:00
commit 249aff45c2
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
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

3
ui.cpp
View File

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