]> 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 3c6268b079ea6776cd41a74e71dfe2cdd63c09db..3f441f74c39aec0958bb1e44df36cfdd61d41500 100644 (file)
@@ -3,6 +3,12 @@
 
 <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">
@@ -10,6 +16,7 @@
         <headers>canvas.h</headers>
         <wx-lib>core</wx-lib>
         <wx-lib>base</wx-lib>
         <headers>canvas.h</headers>
         <wx-lib>core</wx-lib>
         <wx-lib>base</wx-lib>
+        <win32-res>image.rc</win32-res>
     </exe>
 
     <wx-data id="data">
     </exe>
 
     <wx-data id="data">