]> git.saurik.com Git - wxWidgets.git/blobdiff - src/makeprog.vc
Moved the cleanup code to an EVT_WINDOW_DESTROY handler.
[wxWidgets.git] / src / makeprog.vc
index a9cdd12b2e993b797c7d1fa1a47086bd5ba292da..1a4c5ef2bf2b5b0fe35f304a999a897906ad2e55 100644 (file)
@@ -34,7 +34,15 @@ wxclean:
 #        cd $(THISDIR)
 
 
-!if "$(wxUSE_GUI)" == "1" 
+!if "$(wxUSE_GUI)" == ""
+wxUSE_GUI=1
+!endif
+
+!if "$(wxUSE_GUI)" == "1"
+
+#!if "$(WXUSINGDLL)" == "1"
+DUMMYOBJ=
+#!endif
 
 $(PROGRAM).exe:      $(WXLIB) $(OBJECTS) $(PROGRAM).res
        $(link) @<<