]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/image/image.bkl
fixes potential crash under gatekeeper
[wxWidgets.git] / samples / image / image.bkl
index 31dd7ab998d1b53a583b4e226bbcc6a896a9099c..3f441f74c39aec0958bb1e44df36cfdd61d41500 100644 (file)
@@ -3,10 +3,17 @@
 
 <makefile>
 
 
 <makefile>
 
+    <!--
+        This file is loaded using wxBITMAP_TYPE_PNG_RESOURCE and so must be
+        copied to the resources directory under Mac.
+     -->
+    <set var="BUNDLE_RESOURCES">$(SRCDIR)/cursor.png</set>
+
     <include file="../../build/bakefiles/common_samples.bkl"/>
 
     <exe id="image" template="wx_sample" template_append="wx_append">
     <include file="../../build/bakefiles/common_samples.bkl"/>
 
     <exe id="image" template="wx_sample" template_append="wx_append">
-        <sources>image.cpp</sources>
+        <sources>image.cpp canvas.cpp</sources>
+        <headers>canvas.h</headers>
         <wx-lib>core</wx-lib>
         <wx-lib>base</wx-lib>
         <win32-res>image.rc</win32-res>
         <wx-lib>core</wx-lib>
         <wx-lib>base</wx-lib>
         <win32-res>image.rc</win32-res>
@@ -15,8 +22,8 @@
     <wx-data id="data">
         <files>
             horse.png horse.jpg horse.bmp horse.gif horse.pcx horse.pnm horse_ag.pnm horse_rg.pnm
     <wx-data id="data">
         <files>
             horse.png horse.jpg horse.bmp horse.gif horse.pcx horse.pnm horse_ag.pnm horse_rg.pnm
-            horse.tif horse.xpm horse.cur horse.ico horse3.ani
-            smile.xbm toucan.png
+            horse.tif horse.tga horse.xpm horse.cur horse.ico horse3.ani
+            smile.xbm toucan.png cmyk.jpg cursor.png
         </files>
     </wx-data>
 
         </files>
     </wx-data>