]> git.saurik.com Git - wxWidgets.git/blobdiff - build/bakefiles/common_samples_intree.bkl
don't show the currently hidden frame if Iconize() is called (see #10426)
[wxWidgets.git] / build / bakefiles / common_samples_intree.bkl
index 7fbf13f2dc46d035a314519aec3b1f1da55f32da..2c7af198ddb16ebe9af6a23bb45fec5b79fcc7cc 100644 (file)
@@ -9,6 +9,8 @@
     <!--                    Template for wxWidgets samples:              -->
     <!-- =============================================================== -->
 
     <!--                    Template for wxWidgets samples:              -->
     <!-- =============================================================== -->
 
+    <set var="WX_ENABLE_PRECOMP_HEADERS">0</set>
+
     <set var="DLLFLAG">
         <if cond="SHARED=='1'">WXUSINGDLL</if>
     </set>
     <set var="DLLFLAG">
         <if cond="SHARED=='1'">WXUSINGDLL</if>
     </set>
@@ -36,7 +38,9 @@
 
         <!-- FIXME: temporary, until bakefile can reuse existing pch files -->
         <if cond="FORMAT!='autoconf'">
 
         <!-- FIXME: temporary, until bakefile can reuse existing pch files -->
         <if cond="FORMAT!='autoconf'">
-            <define>NOPCH</define>
+            <if cond="WX_ENABLE_PRECOMP_HEADERS=='0'">
+                <define>NOPCH</define>
+            </if>
         </if>
     </template>
 
         </if>
     </template>