wxwabbitemu.patch 1019 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. From 624f6ae1fef88ba00bc87dc01fed2cb98b3109a8 Mon Sep 17 00:00:00 2001
  2. From: Nathaniel van Diepen <[email protected]>
  3. Date: Tue, 19 May 2020 14:12:51 -0600
  4. Subject: [PATCH] tmp
  5. ---
  6. Makefile | 2 ++
  7. gui/gui.cpp | 2 +-
  8. 2 files changed, 3 insertions(+), 1 deletion(-)
  9. diff --git a/Makefile b/Makefile
  10. index 6a567b6..dace986 100644
  11. --- a/Makefile
  12. +++ b/Makefile
  13. @@ -4,6 +4,8 @@
  14. PREFIX = $(DESTDIR)/usr/local
  15. BINDIR = $(PREFIX)/bin
  16. +CCFLAGS=-fPIC
  17. +CXXFLAGS=-fPIC
  18. .PHONY: all help install uninstall distclean distclean-real
  19. diff --git a/gui/gui.cpp b/gui/gui.cpp
  20. index 1fd819e..33982d6 100644
  21. --- a/gui/gui.cpp
  22. +++ b/gui/gui.cpp
  23. @@ -498,7 +498,7 @@ WabbitemuFrame::WabbitemuFrame(LPCALC lpCalc) : wxFrame(NULL, wxID_ANY, wxT("Wab
  24. }
  25. #if (defined(__WXMSW__) && BIG_WINDOWS_ICON == 1)
  26. - wxBitmap bitmap(wxT(“wabbiticon.png”), wxBITMAP_TYPE_PNG);
  27. + wxBitmap bitmap(wxT("wabbiticon.png"), wxBITMAP_TYPE_PNG);
  28. icon.CopyFromBitmap(bitmap);
  29. #else
  30. wxIcon icon = wxIcon(wxICON(wabbiticon));