diff options
| author | Matt Corallo <[email protected]> | 2011-05-27 12:37:18 +0200 |
|---|---|---|
| committer | Matt Corallo <[email protected]> | 2011-05-27 12:38:10 +0200 |
| commit | af531f0449eae49e0e048218c9dccb3b3a771704 (patch) | |
| tree | a9c4f037976b06fc375e277646d8a5579261cbfd /src/ui.cpp | |
| parent | Handle high DPI a bit more gracefully on Win32. #243 (diff) | |
| download | discoin-af531f0449eae49e0e048218c9dccb3b3a771704.tar.xz discoin-af531f0449eae49e0e048218c9dccb3b3a771704.zip | |
Fix GUI build on UNIX.
Diffstat (limited to 'src/ui.cpp')
| -rw-r--r-- | src/ui.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ui.cpp b/src/ui.cpp index ccb8cef8c..cca473d82 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); |