Compile fixes for wxTreeCtrl (we don't speak about
linking or - dear - even running) distrib updates git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
fbdc71e0a7
commit
2899e22327
@ -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
|
||||
|
||||
@ -149,6 +149,93 @@ 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..
|
||||
|
@ -248,14 +248,19 @@ $(COMMDIR)/lex_yy.c: $(COMMDIR)/doslex.c
|
||||
|
||||
clean:
|
||||
-erase *.o
|
||||
-erase *.bak
|
||||
-erase core
|
||||
-erase ..\common\y_tab.c
|
||||
-erase ..\common\lex_yy.c
|
||||
-erase ..\common\*.o
|
||||
-erase ..\common\*.bak
|
||||
-erase ..\generic\*.o
|
||||
-erase ..\generic\*.bak
|
||||
-erase ..\html\*.o
|
||||
-erase ..\png\*.o
|
||||
-erase ..\png\*.bak
|
||||
-erase ..\zlib\*.o
|
||||
-erase ..\zlib\*.bak
|
||||
-erase ..\jpeg\*.o
|
||||
-erase ..\..\lib\libwx.a
|
||||
|
||||
|
@ -21,6 +21,7 @@
|
||||
#endif
|
||||
|
||||
#include "wx/textctrl.h"
|
||||
#include "wx/dynarray.h"
|
||||
|
||||
#ifdef __GNUWIN32__
|
||||
// Cygwin windows.h defines these identifiers
|
||||
|
@ -195,10 +195,12 @@ bool wxTreeCtrl::Create(wxWindow *parent,
|
||||
if ( m_windowStyle & wxTR_LINES_AT_ROOT )
|
||||
wstyle |= TVS_LINESATROOT;
|
||||
|
||||
#ifndef __GNUWIN32__
|
||||
// we emulate the multiple selection tree controls by using checkboxes: set
|
||||
// up the image list we need for this if we do have multiple selections
|
||||
if ( m_windowStyle & wxTR_MULTIPLE )
|
||||
wstyle |= TVS_CHECKBOXES;
|
||||
wstyle |= TVS_CHECKBOXES;
|
||||
#endif
|
||||
|
||||
// Create the tree control.
|
||||
if ( !MSWCreateControl(WC_TREEVIEW, wstyle) )
|
||||
|
Loading…
Reference in New Issue
Block a user