aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Corallo <matt@bluematt.me>2011-05-27 12:37:18 +0200
committerMatt Corallo <matt@bluematt.me>2011-05-27 12:38:10 +0200
commitaf531f0449eae49e0e048218c9dccb3b3a771704 (patch)
treea9c4f037976b06fc375e277646d8a5579261cbfd
parentbd39b48f19aff6cb6ebad76abc31a95b84243462 (diff)
downloadbitcoin-af531f0449eae49e0e048218c9dccb3b3a771704.tar.xz
Fix GUI build on UNIX.
-rw-r--r--src/ui.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ui.cpp b/src/ui.cpp
index ccb8cef8c2..cca473d82b 100644
--- a/src/ui.cpp
+++ b/src/ui.cpp
@@ -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);