summaryrefslogtreecommitdiff
path: root/cad/basicdsp/files/patch-aboutdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--cad/basicdsp/files/patch-aboutdialog.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/cad/basicdsp/files/patch-aboutdialog.cpp b/cad/basicdsp/files/patch-aboutdialog.cpp
new file mode 100644
index 000000000000..733a17d2aae8
--- /dev/null
+++ b/cad/basicdsp/files/patch-aboutdialog.cpp
@@ -0,0 +1,11 @@
+--- aboutdialog.cpp.orig 2008-08-16 23:33:09.000000000 -0400
++++ aboutdialog.cpp 2008-08-16 23:34:13.000000000 -0400
+@@ -29,7 +29,7 @@
+ // to clean this up would mean patching wxWidgets :(
+ splash_xpm = new wxImage(basicdsp_splash_xpm);
+ if (splash_xpm != NULL)
+- splash_bitmap = new wxBitmap(splash_xpm);
++ splash_bitmap = new wxBitmap((const wxImage&)splash_xpm);
+
+ if ((splash_bitmap!=NULL) && (splash_bitmap->Ok()))
+ {