]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/dialogs/dialogs.bkl
compilation fix for gcc (closes bug 996701)
[wxWidgets.git] / samples / dialogs / dialogs.bkl
index a6faea65e950b163458c74c9554bd554ad49826b..2685c8095a0c091bc9e3458d1f192ef8fc89133c 100644 (file)
@@ -3,9 +3,32 @@
 
     <include file="../../build/bakefiles/common_samples.bkl"/>
 
 
     <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/filedlgg.cpp
+            ../../src/generic/fontdlgg.cpp
+        </if>
+        <if cond="TOOLKIT=='MAC' and WXUNIV=='0'">
+            ../../src/generic/colrdlgg.cpp
+            ../../src/generic/dirdlgg.cpp
+            ../../src/generic/filedlgg.cpp
+        </if>
+        <if cond="TOOLKIT=='PM' and WXUNIV=='0'">
+            ../../src/generic/fontdlgg.cpp
+            ../../src/generic/filedlgg.cpp
+        </if>
+    </set>
+
     <exe id="dialogs" template="wx_sample" template_append="wx_append">
     <exe id="dialogs" template="wx_sample" template_append="wx_append">
-        <sources>dialogs.cpp</sources>
+        <sources>
+            dialogs.cpp
+            $(GENERIC_FILES)
+        </sources>
+        <wx-lib>adv</wx-lib>
         <wx-lib>core</wx-lib>
         <wx-lib>core</wx-lib>
+        <wx-lib>base</wx-lib>
         <win32-res>dialogs.rc</win32-res>
     </exe>
 
         <win32-res>dialogs.rc</win32-res>
     </exe>