]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/image/image.bkl
Fix a crash in wxExecute() in wxMSW too.
[wxWidgets.git] / samples / image / image.bkl
index 46dabe387fdf36edc2cc1cc055d3c6eb8ab33aa6..3f441f74c39aec0958bb1e44df36cfdd61d41500 100644 (file)
@@ -3,10 +3,17 @@
 
 <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">
-        <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>
@@ -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
-            horse.tif horse.xpm horse.cur horse.ico horse3.ani
-            smile.xbm toucan.png cmyk.jpg
+            horse.tif horse.tga horse.xpm horse.cur horse.ico horse3.ani
+            smile.xbm toucan.png cmyk.jpg cursor.png
         </files>
     </wx-data>