]> git.saurik.com Git - wxWidgets.git/blobdiff - distrib/msw/copy_src.bat
Moved the cleanup code to an EVT_WINDOW_DESTROY handler.
[wxWidgets.git] / distrib / msw / copy_src.bat
index 7ef2fc7f0d38ac7ce52efd71245ed52aa9b3d8aa..56070dcdd027b483484fbe597d391c0c8e7da123 100755 (executable)
@@ -1,5 +1,5 @@
 echo                               --------
-echo    This script will copy the wxMSW release files into ~/wxmsw_dist
+echo    This script will copy the wxMSW release files into \wxmsw_dist
 echo                               --------
 echo                    
 
@@ -97,6 +97,8 @@ del Makefile.in \wxmsw_dist\wxMSW\src\Makefile.in
 
 cd msw
 md \wxmsw_dist\wxMSW\src\msw
+md \wxmsw_dist\wxMSW\src\msw\ole
+copy ole\*.cpp \wxmsw_dist\wxMSW\src\msw\ole
 copy *.cpp \wxmsw_dist\wxMSW\src\msw
 copy *.c \wxmsw_dist\wxMSW\src\msw
 copy *.def \wxmsw_dist\wxMSW\src\msw
@@ -116,13 +118,10 @@ copy *.cpp \wxmsw_dist\wxMSW\src\common
 cd ..
 
 cd html
-md \wxgtk_dist\wxGTK\src\html
-copy *.cpp \wxgtk_dist\wxGTK\src\html
-copy *.h \wxgtk_dist\wxGTK\src\html
-cd bitmaps
-md \wxgtk_dist\wxGTK\src\html\bitmaps
-copy *.xpm \wxgtk_dist\wxGTK\src\html\bitmaps
-cd ..\..
+md \wxmsw_dist\wxMSW\src\html
+copy *.cpp \wxmsw_dist\wxMSW\src\html
+copy *.h \wxmsw_dist\wxMSW\src\html
+cd ..
 
 cd generic
 md \wxmsw_dist\wxMSW\src\generic
@@ -144,6 +143,98 @@ md \wxmsw_dist\wxMSW\src\jpeg
 copy *.* \wxmsw_dist\wxMSW\src\jpeg
 cd ..
 
+cd xpm
+md \wxmsw_dist\wxMSW\src\xpm
+copy *.* \wxmsw_dist\wxMSW\src\xpm
+cd ..
+
+cd ..
+
+echo Utils dir..
+
+cd utils
+md \wxmsw_dist\wxMSW\utils
+
+echo wxGLCanvas..
+
+cd glcanvas
+md \wxmsw_dist\wxMSW\utils\glcanvas
+copy .\docs\notes.txt \wxmsw_dist\wxMSW\utils\glcanvas\NOTES.txt
+
+md \wxmsw_dist\wxMSW\utils\glcanvas\win
+copy .\win\glcanvas.cpp \wxmsw_dist\wxMSW\utils\glcanvas\win
+copy .\win\glcanvas.h \wxmsw_dist\wxMSW\utils\glcanvas\win
+copy .\win\makefile.* \wxmsw_dist\wxMSW\utils\glcanvas\win
+
+md \wxmsw_dist\wxMSW\utils\glcanvas\samples
+md \wxmsw_dist\wxMSW\utils\glcanvas\samples\cube
+md \wxmsw_dist\wxMSW\utils\glcanvas\samples\isosurf
+md \wxmsw_dist\wxMSW\utils\glcanvas\samples\penguin
+
+cd samples\cube
+copy Makefile.* \wxmsw_dist\wxMSW\utils\glcanvas\samples\cube
+copy cube.rc \wxmsw_dist\wxMSW\utils\glcanvas\samples\cube
+copy cube.h \wxmsw_dist\wxMSW\utils\glcanvas\samples\cube
+copy cube.cpp \wxmsw_dist\wxMSW\utils\glcanvas\samples\cube
+copy mondrian.ico \wxmsw_dist\wxMSW\utils\glcanvas\samples\cube
+cd ..
+
+cd isosurf
+copy Makefile.* \wxmsw_dist\wxMSW\utils\glcanvas\samples\isosurf
+copy isosurf.h \wxmsw_dist\wxMSW\utils\glcanvas\samples\isosurf
+copy isosurf.rc \wxmsw_dist\wxMSW\utils\glcanvas\samples\isosurf
+copy isosurf.cpp \wxmsw_dist\wxMSW\utils\glcanvas\samples\isosurf
+copy isosurf.dat.gz \wxmsw_dist\wxMSW\utils\glcanvas\samples\isosurf
+copy mondrian.ico \wxmsw_dist\wxMSW\utils\glcanvas\samples\isosurf
+cd ..
+
+cd penguin
+copy Makefile.* \wxmsw_dist\wxMSW\utils\glcanvas\samples\penguin
+copy penguin.rc \wxmsw_dist\wxMSW\utils\glcanvas\samples\penguin
+copy penguin.h \wxmsw_dist\wxMSW\utils\glcanvas\samples\penguin
+copy penguin.cpp \wxmsw_dist\wxMSW\utils\glcanvas\samples\penguin
+copy trackball.h \wxmsw_dist\wxMSW\utils\glcanvas\samples\penguin
+copy trackball.c \wxmsw_dist\wxMSW\utils\glcanvas\samples\penguin
+copy lw.h \wxmsw_dist\wxMSW\utils\glcanvas\samples\penguin
+copy lw.cpp \wxmsw_dist\wxMSW\utils\glcanvas\samples\penguin
+copy penguin.lwo \wxmsw_dist\wxMSW\utils\glcanvas\samples\penguin
+copy mondrian.ico \wxmsw_dist\wxMSW\utils\glcanvas\samples\penguin
+cd ..\..\..
+
+echo DialogEd..
+
+cd dialoged\src
+md \wxmsw_dist\wxMSW\utils\dialoged
+md \wxmsw_dist\wxMSW\utils\dialoged\src
+copy Makefile.* \wxmsw_dist\wxMSW\utils\dialoged\src
+copy dialoged.def \wxmsw_dist\wxMSW\utils\dialoged\src
+copy dialoged.rc \wxmsw_dist\wxMSW\utils\dialoged\src
+copy dialoged.ico \wxmsw_dist\wxMSW\utils\dialoged\src
+copy dialoged.cpp \wxmsw_dist\wxMSW\utils\dialoged\src
+copy dlghndlr.cpp \wxmsw_dist\wxMSW\utils\dialoged\src
+copy edlist.cpp \wxmsw_dist\wxMSW\utils\dialoged\src
+copy edtree.cpp \wxmsw_dist\wxMSW\utils\dialoged\src
+copy reseditr.cpp \wxmsw_dist\wxMSW\utils\dialoged\src
+copy reswrite.cpp \wxmsw_dist\wxMSW\utils\dialoged\src
+copy symbtabl.cpp \wxmsw_dist\wxMSW\utils\dialoged\src
+copy winprop.cpp \wxmsw_dist\wxMSW\utils\dialoged\src
+copy winstyle.cpp \wxmsw_dist\wxMSW\utils\dialoged\src
+copy dialoged.h \wxmsw_dist\wxMSW\utils\dialoged\src
+copy dlghndlr.h \wxmsw_dist\wxMSW\utils\dialoged\src
+copy edlist.h \wxmsw_dist\wxMSW\utils\dialoged\src
+copy edtree.h \wxmsw_dist\wxMSW\utils\dialoged\src
+copy reseditr.h \wxmsw_dist\wxMSW\utils\dialoged\src
+copy symbtabl.h \wxmsw_dist\wxMSW\utils\dialoged\src
+copy winprop.h \wxmsw_dist\wxMSW\utils\dialoged\src
+copy winstyle.h \wxmsw_dist\wxMSW\utils\dialoged\src
+
+cd bitmaps
+md \wxmsw_dist\wxMSW\utils\dialoged\src\bitmaps
+copy *.bmp \wxmsw_dist\wxMSW\utils\dialoged\src\bitmaps
+copy *.ico \wxmsw_dist\wxMSW\utils\dialoged\src\bitmaps
+cd ..\..\..
+
+
 cd ..
 
 echo Samples dir..
@@ -441,9 +532,9 @@ echo Minifram sample..
 
 cd minifram
 md \wxmsw_dist\wxMSW\samples\minifram
-copy Makefile.am \wxmsw_dist\wxMSW\samples\minifram
-copy Makefile.in \wxmsw_dist\wxMSW\samples\minifram
+copy Makefile.* \wxmsw_dist\wxMSW\samples\minifram
 copy *.cpp \wxmsw_dist\wxMSW\samples\minifram
+copy *.h \wxmsw_dist\wxMSW\samples\minifram
 copy *.xpm \wxmsw_dist\wxMSW\samples\minifram
 copy *.ico \wxmsw_dist\wxMSW\samples\minifram
 copy *.def \wxmsw_dist\wxMSW\samples\minifram
@@ -517,7 +608,7 @@ cd ..
 
 echo Scroll sample..
 
-cd sashtest
+cd scroll
 md \wxmsw_dist\wxMSW\samples\scroll
 copy Makefile.* \wxmsw_dist\wxMSW\samples\scroll
 copy *.cpp \wxmsw_dist\wxMSW\samples\scroll
@@ -564,8 +655,7 @@ echo Toolbar sample..
 
 cd toolbar
 md \wxmsw_dist\wxMSW\samples\toolbar
-copy Makefile.am \wxmsw_dist\wxMSW\samples\toolbar
-copy Makefile.in \wxmsw_dist\wxMSW\samples\toolbar
+copy Makefile.* \wxmsw_dist\wxMSW\samples\toolbar
 copy *.cpp \wxmsw_dist\wxMSW\samples\toolbar
 copy *.h \wxmsw_dist\wxMSW\samples\toolbar
 copy *.rc \wxmsw_dist\wxMSW\samples\toolbar
@@ -582,13 +672,16 @@ echo TreeCtrl sample..
 cd treectrl
 md \wxmsw_dist\wxMSW\samples\treectrl
 copy Makefile.* \wxmsw_dist\wxMSW\samples\treectrl
-copy *.rc \wxmsw_dist\wxMSW\samples\toolbar
-copy *.def \wxmsw_dist\wxMSW\samples\toolbar
+copy *.rc \wxmsw_dist\wxMSW\samples\treectrl
+copy *.def \wxmsw_dist\wxMSW\samples\treectrl
 copy *.cpp \wxmsw_dist\wxMSW\samples\treectrl
 copy *.h \wxmsw_dist\wxMSW\samples\treectrl
 copy *.xpm \wxmsw_dist\wxMSW\samples\treectrl
 copy *.ico \wxmsw_dist\wxMSW\samples\treectrl
-cd ..
+cd bitmaps
+md \wxmsw_dist\wxMSW\samples\treectrl\bitmaps
+copy *.* \wxmsw_dist\wxMSW\samples\treectrl\bitmaps
+cd ..\..
 
 echo typetest sample..