changeset 652:60feb77d17c4 draft

Fix GUI build on UNIX.
author Matt Corallo <matt@bluematt.me>
date Fri, 27 May 2011 12:37:18 +0200
parents c660ca905d4c
children 128c59353c8c
files src/ui.cpp
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ui.cpp
+++ b/src/ui.cpp
@@ -1863,8 +1863,10 @@
         iconSend.CopyFromBitmap(wxBitmap(send16noshadow_xpm));
         SetIcon(iconSend);
     }
+#ifdef __WXMSW__
     else
         SetIcon(wxICON(bitcoin));
+#endif
 
     // Fixup the tab order
     m_buttonPaste->MoveAfterInTabOrder(m_buttonCancel);
@@ -2360,8 +2362,10 @@
         iconAddressBook.CopyFromBitmap(wxBitmap(addressbook16_xpm));
         SetIcon(iconAddressBook);
     }
+#ifdef __WXMSW__
     else
         SetIcon(wxICON(bitcoin));
+#endif
 
     // Init column headers
     m_listCtrlSending->InsertColumn(0, _("Name"), wxLIST_FORMAT_LEFT, 200);