]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/image/image.bkl
Don't call wxTextMeasure::BeginMeasuring() when using non-native wxDC.
[wxWidgets.git] / samples / image / image.bkl
index 3c6268b079ea6776cd41a74e71dfe2cdd63c09db..3f441f74c39aec0958bb1e44df36cfdd61d41500 100644 (file)
@@ -3,6 +3,12 @@
 
 <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">
@@ -10,6 +16,7 @@
         <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">