Fix GUI build on UNIX.
authorMatt Corallo <matt@bluematt.me>
Fri, 27 May 2011 10:37:18 +0000 (12:37 +0200)
committerMatt Corallo <matt@bluematt.me>
Fri, 27 May 2011 10:38:10 +0000 (12:38 +0200)
src/ui.cpp

index ccb8cef..cca473d 100644 (file)
@@ -1863,8 +1863,10 @@ CSendDialog::CSendDialog(wxWindow* parent, const wxString& strAddress) : CSendDi
         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 @@ CAddressBookDialog::CAddressBookDialog(wxWindow* parent, const wxString& strInit
         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);