]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/dialogs/dialogs.bkl
Fix, or at least make less common, deadlock in the thread sample.
[wxWidgets.git] / samples / dialogs / dialogs.bkl
index f17950fb6e44d1b1816cdabd615ba08fdb21e8df..3b68225eb3757632f563bc5fec9a15eba417689d 100644 (file)
@@ -4,6 +4,9 @@
     <include file="../../build/bakefiles/common_samples.bkl"/>
 
     <set var="GENERIC_DIALOGS_IN_NATIVE_BUILDS">
+        <if cond="OUT_OF_TREE_MAKEFILES=='1'">
+            <!-- no files that are not part of the sample in this case -->
+        </if>
         <if cond="TOOLKIT=='MSW' and WXUNIV=='0' and SHARED=='0'">
             $(WXTOPDIR)src/generic/colrdlgg.cpp
             $(WXTOPDIR)src/generic/dirdlgg.cpp
@@ -15,6 +18,9 @@
             $(WXTOPDIR)src/generic/dirdlgg.cpp
             $(WXTOPDIR)src/generic/filedlgg.cpp
         </if>
+        <if cond="TOOLKIT=='GTK' and TOOLKIT_VERSION=='2'">
+            $(WXTOPDIR)src/generic/filedlgg.cpp
+        </if>
         <if cond="TOOLKIT=='PM' and WXUNIV=='0' and SHARED=='0'">
             $(WXTOPDIR)src/generic/fontdlgg.cpp
             $(WXTOPDIR)src/generic/filedlgg.cpp
             dialogs.cpp
             $(GENERIC_DIALOGS_IN_NATIVE_BUILDS)
         </sources>
+        <headers>dialogs.h</headers>
         <wx-lib>adv</wx-lib>
         <wx-lib>core</wx-lib>
         <wx-lib>base</wx-lib>
-        <win32-res>dialogs.rc</win32-res>
     </exe>
 
     <wx-data id="data">