]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/opengl/penguin/penguin.bkl
remove wxNewEventFunctor() overload which allowed calls to "Bind(evt, &WrongClass...
[wxWidgets.git] / samples / opengl / penguin / penguin.bkl
index 2d01b7ba4b457e1660cd114c9051aa417cc82ba7..53a93afe2190af3e343c07a0dc299656cb642535 100644 (file)
@@ -5,21 +5,30 @@
 
     <include file="../../../build/bakefiles/common_samples.bkl"/>
 
-    <exe id="penguin" template="wx_sample" template_append="wx_append">
+    <if cond="OUT_OF_TREE_MAKEFILES=='1'">
+        <set var="USE_OPENGL">1</set>
+    </if>
+
+    <exe id="penguin" template="wx_sample" template_append="wx_append" cond="USE_OPENGL=='1'">
         <sources>
             penguin.cpp
-            lw.cpp
+            dxfrenderer.cpp
             trackball.c
         </sources>
+        <headers>
+            dxfrenderer.h
+            penguin.h
+            trackball.h
+        </headers>
         <wx-lib>gl</wx-lib>
         <wx-lib>core</wx-lib>
         <wx-lib>base</wx-lib>
         <win32-res>penguin.rc</win32-res>
     </exe>
-    
+
     <wx-data id="data">
         <files>
-            penguin.lwo
+            penguin.dxf.gz
         </files>
     </wx-data>