]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/dialogs/dialogs.bkl
Artwork replacement (c) Julian Smart
[wxWidgets.git] / samples / dialogs / dialogs.bkl
index 042f10561cb1067e7cfb098182dc67f6396f380b..f17950fb6e44d1b1816cdabd615ba08fdb21e8df 100644 (file)
@@ -3,25 +3,28 @@
 
     <include file="../../build/bakefiles/common_samples.bkl"/>
 
-    <set var="GENERIC_FILES">
-        <if cond="TOOLKIT=='MSW' and WXUNIV=='0'">
-            ../../src/generic/colrdlgg.cpp
-            ../../src/generic/dirdlgg.cpp
-            ../../src/generic/fontdlgg.cpp
+    <set var="GENERIC_DIALOGS_IN_NATIVE_BUILDS">
+        <if cond="TOOLKIT=='MSW' and WXUNIV=='0' and SHARED=='0'">
+            $(WXTOPDIR)src/generic/colrdlgg.cpp
+            $(WXTOPDIR)src/generic/dirdlgg.cpp
+            $(WXTOPDIR)src/generic/filedlgg.cpp
+            $(WXTOPDIR)src/generic/fontdlgg.cpp
         </if>
-        <if cond="TOOLKIT=='MAC' and WXUNIV=='0'">
-            ../../src/generic/colrdlgg.cpp
-            ../../src/generic/dirdlgg.cpp
+        <if cond="TOOLKIT=='MAC' and WXUNIV=='0' and SHARED=='0'">
+            $(WXTOPDIR)src/generic/colrdlgg.cpp
+            $(WXTOPDIR)src/generic/dirdlgg.cpp
+            $(WXTOPDIR)src/generic/filedlgg.cpp
         </if>
-        <if cond="TOOLKIT=='PM' and WXUNIV=='0'">
-            ../../src/generic/fontdlgg.cpp
+        <if cond="TOOLKIT=='PM' and WXUNIV=='0' and SHARED=='0'">
+            $(WXTOPDIR)src/generic/fontdlgg.cpp
+            $(WXTOPDIR)src/generic/filedlgg.cpp
         </if>
     </set>
 
     <exe id="dialogs" template="wx_sample" template_append="wx_append">
         <sources>
             dialogs.cpp
-            $(GENERIC_FILES)
+            $(GENERIC_DIALOGS_IN_NATIVE_BUILDS)
         </sources>
         <wx-lib>adv</wx-lib>
         <wx-lib>core</wx-lib>