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