]> git.saurik.com Git - wxWidgets.git/commitdiff
makeg95.env edited for Mingw32/gcc 2.95 compilation; _T not redefined for
authorJulian Smart <julian@anthemion.co.uk>
Thu, 14 Oct 1999 12:37:52 +0000 (12:37 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Thu, 14 Oct 1999 12:37:52 +0000 (12:37 +0000)
Mingw32; removed init.cpp from makefile.vc (tmake keeps generating it);
added spinctrl.cpp to MSW section in filelist.txt.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 files changed:
distrib/msw/makewise.bat
distrib/msw/msw.rsp
distrib/msw/tmake/filelist.txt
distrib/msw/wisebott.txt
distrib/msw/wisetop.txt
distrib/msw/wxwin01.bmp
docs/html/index.htm
docs/html/standard.htm
docs/msw/install.txt
include/wx/wxchar.h
src/makeg95.env
src/makeprog.g95
src/msw/makefile.g95
src/msw/makefile.vc
src/wxvc.dsp
src/wxvc6.dsp
src/wxvc_dll.dsp
utils/dialoged/src/reseditr.cpp

index 42ff01e9a97fea28cfe5a63e71bb8a43639767c0..dc124c56b7f23c45e84f93e8e173774e4397ed3b 100755 (executable)
@@ -21,6 +21,9 @@ set len=%@LINES[%TEMP\files1.tmp]
 
 erase /Y %TEMP\files2.tmp
 
+Rem, first add system files
+cat %WXWIN\distrib\msw\wisesys.txt > %temp\files2.tmp
+
 do i = 0 to %len by 1
     set line=%@LINE[%TEMP\files1.tmp,%i]
     Rem Skip directories.
index db7b08d23d091bb6d828b28588820581bb2320ee..10a9d817eddb5b7c75e6eb46af24fca318eccd6d 100644 (file)
@@ -1,3 +1,5 @@
+Mingw32-gcc295.patches
+
 docs/licence.txt
 docs/msw/*.txt
 docs/wine/*.txt
index 5878fd1bb513a03e4b2b084f179cacf0584840fb..ea044999ae40d671df9e0b458906c1f917127221 100644 (file)
@@ -254,6 +254,7 @@ settings.cpp        M
 slider95.cpp   M       32
 slidrmsw.cpp   M       16
 spinbutt.cpp   M
+spinctrl.cpp   M
 statbmp.cpp    M
 statbox.cpp    M
 statbr95.cpp   M       32
index b36f13710d1d1739bf4549e4a8211001ce047ace..e7e87ec85577b157a8973cc80fdbcf3b82dc3705 100644 (file)
@@ -137,6 +137,10 @@ end
 item: Self-Register OCXs/DLLs
   Description=Updating System Configuration, Please Wait...
 end
+item: Execute Program
+  Pathname=explorer.exe
+  Command Line=%GROUP%
+end
 item: Add to AUTOEXEC.BAT
   New Text=SET WXWIN=%MAINDIR%
   Search Text=SET WXWIN
@@ -217,9 +221,11 @@ item: Custom Dialog Set
       Text Italian=Installazione completata!
     end
     item: Static
-      Rectangle=86 42 256 102
+      Rectangle=86 42 256 124
       Create Flags=01010000000000000000000000000000
-      Text=The %APPTITLE% source files have been successfully installed. You will need to compile the library and any demo files you wish to run: please see docs\msw\install.txt for details.
+      Text=The %APPTITLE% source files have been successfully installed, with some convenient shortcuts in the "wxWindows 2" program group.
+      Text=
+      Text=You will need to compile the library and any demo files you wish to run: please see docs\msw\install.txt for details.
       Text=
       Text=Press the Finish button to exit this installation.
       Text French=%APPTITLE% est maintenant installé.
index 27bc859ddb8e0f70e7a537c35a8ab5538851c511..0fea7e4c38d52137931dae78dd67465d14c7ded2 100644 (file)
@@ -61,6 +61,11 @@ item: Set Variable
   Variable=MAINDIR
   Value=wx2
 end
+item: Display Graphic
+  Pathname=D:\wx2\wxWindows\distrib\msw\wxwin01.bmp
+  X Position=16
+  Y Position=16
+end
 item: Check Configuration
   Flags=10111011
 end
@@ -140,22 +145,6 @@ item: Wizard Block
   X Position=9
   Y Position=10
   Filler Color=8421440
-  Dialog=Select Program Manager Group
-  Dialog=Select Backup Directory
-  Dialog=Display Registration Information
-  Dialog=Get Registration Information
-  Variable=EXPLORER
-  Variable=DOBACKUP
-  Variable=DOBRAND
-  Variable=DOBRAND
-  Value=1
-  Value=A
-  Value=1
-  Value=1
-  Compare=0
-  Compare=1
-  Compare=0
-  Compare=1
   Flags=00000011
 end
 item: Custom Dialog Set
@@ -601,4 +590,3 @@ end
 item: Check Disk Space
   Component=COMPONENTS
 end
-
index 19decec48e13db5c2823964b961b91d7ab555857..8a350658388c5ef6ca0f040368dd46e4cbf4149c 100644 (file)
Binary files a/distrib/msw/wxwin01.bmp and b/distrib/msw/wxwin01.bmp differ
index df239201a4266a2fa62b3201e33f790f0797c73d..b9410f8706cdace302a9fe4f0c204c707d79e9cc 100644 (file)
@@ -134,7 +134,7 @@ downloaded from the <a href="http://www.wxwindows.org">wxWindows Web site</a>.<P
 </td>
 
 <td align=center>
-<a href="../winhelp/proplist.hlp">Propert List Classes</a>
+<a href="../winhelp/proplist.hlp">Property List Classes</a>
 </td>
 
 <td align=center>
index 8cb5aab68b1fce4e80d8301fd29f3b5ae9c61d2e..fa5270c36eb3846ee4d6c210c4b21ebd0cc11773 100644 (file)
@@ -24,7 +24,7 @@ wxWindows Programmer Style Guide
 by <A HREF=mailto:zeitlin@dptmaths.ens-cachan.fr>Vadim Zeitlin</A><P>
 
 This guide is intended for people who are (or intending to start) writing code
-for <A HREF="http://web.ukonline.co.uk/julian.smart/wxwin/" target=_top>wxWindows</A> class library.
+for <A HREF="http://www.wxwindows.org" target=_top>wxWindows</A> class library.
 
 <P>
 The guide is separated into two parts: the first one addresses the general
@@ -35,7 +35,7 @@ its goal it to make wxWindows as uniform as possible without imposing too
 many restrictions on the programmer.
 <P>
 Acknowledgements: This guide is partly based on <A
-HREF=http://www.mozilla.org/docs/tplist/catBuild/portable-cpp.html target=_top>
+HREF="http://www.mozilla.org/hacking/portable-cpp.html" target=_top>
 C++ portability guide</A> by David Williams.
 
 <P>
index 9c6f8230386a956190682fc5fe5299ad6ba144ba..83a3776267a225a2bdff5ec8517b9a3b731faf2f 100644 (file)
@@ -402,7 +402,7 @@ References:
  - The GNU-WIN32 site is at
      http://www.cygnus.com/gnu-win32/
  - Mingw32 is available at:
-     http://agnes.dida.physik.uni-essen.de/~janjaap/mingw32/index.html
+     ftp://ftp.xraylith.wisc.edu/pub/khan/gnu-win32/mingw32/gcc-2.95/
  - See also http://web.ukonline.co.uk/julian.smart/wxwin/gnuwin32.htm
 
 TWIN32 and gcc on Linux
index 4b7da77b41606d016e30e719c6e31c670a1039e0..2b6ba272fbe5cf72d274b8ae07735787d34717dd 100644 (file)
@@ -303,7 +303,10 @@ typedef unsigned __WCHAR_TYPE__ wxUChar;
 #   ifdef __FreeBSD__
 #     undef _T
 #   endif
-#   define _T(x)           x
+
+#   if !defined(__MINGW32__) || !defined(_T)
+#     define _T(x)           x
+#   endif
 
      // ctype.h functions
 #   define  wxIsalnum   isalnum
index 208820ed01ce5435af9ba0d70d23a008ac32b896..9e8cef2a5ec5887a1f64fee683f1e8cf5784361d 100644 (file)
@@ -20,7 +20,7 @@
 # For AIX/CSet++: use CC = xlC
 # For IRIX: use CC = CC
 # CC = gcc-2.6.2
-CC = gcc
+CC = gcc --pipe -fvtable-thunks
 
 # C compiler for pure C programs
 # Typical: CC=g++ , CCC=gcc
@@ -55,8 +55,7 @@ RESFLAGS=$(RCINCSWITCH) $(WXDIR)/include $(RCDEFSWITCH) __WIN32__ $(RCDEFSWITCH)
 
 # Miscellaneous compiler options
 # GRG: The __EGCS__ symbol is not needed anymore!
-OPTIONS= -D__MINGW32__  -DSTRICT # -D__EGCS__
-
+OPTIONS= -DSTRICT # -D__MINGW32__ # -D__EGCS__
 
 # Debugging information
 # AIX: comment out.
@@ -106,27 +105,30 @@ OPT = -fno-pcc-struct-return -O2 -fno-rtti -fno-exceptions
 AROPTIONS = ruv
 RANLIB = ranlib
 
-# Compiler libraries: defaults to GCC libraries
-#COMPLIBS=-lg++
-#for win95
-#COMPLIBS=-lgcc
+# Extra compiler libraries
+COMPLIBS=
 
 # Compiler or system-specific include paths
 COMPPATHS=
 
 ########################## Directories ###############################
 
-
 WINLIBS=-lstdc++ -lgcc \
        -lwinspool -lwinmm -lshell32 \
-    -lcomctl32 -lctl3d32 -lodbc32 -ladvapi32 -lwsock32 # -loldnames
+       -lcomctl32 -lctl3d32 -lodbc32 -ladvapi32 \
+       -lole32 -loleaut32 -luuid \
+       -lodbc32 -lwsock32#  -loldnames
+
+#WINLIBS=-lstdc++ -lgcc \
+#      -lwinspool -lwinmm -lshell32 \
+#    -lcomctl32 -lctl3d32 -lodbc32 -ladvapi32 -lwsock32 # -loldnames
 
 # Shouldn't need to change these...
 WXSRC=$(WXDIR)/src/msw
 WXINC=$(WXDIR)/include
 WXBASESRC=$(WXDIR)/src/common
 WXLIB=$(WXDIR)/lib/$(LIBPREFIX)wx.$(LIBSUFF)
-INC = -I$(WXINC) -I$(WXDIR)/src/png -I$(WXDIR)/src/jpeg -I$(WXDIR)/include/wx/msw/gnuwin32 -I$(WXDIR)/src/zlib $(EXTRAINC) $(COMPPATHS)
+INC = -I$(WXINC) -I$(WXDIR)/src/png -I$(WXDIR)/src/jpeg -I$(WXDIR)/src/zlib $(EXTRAINC) $(COMPPATHS) # -I$(WXDIR)/include/wx/msw/gnuwin32 
 RCLFLAGS=-cpp "cpp -lang-c++ -DWIN32 -D_WIN32 -DRCL_INVOKED -I$(WXWIN)/include"
 
 #LIBS = -lctl3d32 $(WXLIB) $(WINLIBS) $(COMPLIBS)
index ca4f6009ceb458c584e0d359698edd64ad49d89e..fbe21342f660f26fc320c9f6ead9bd2ef394a5ed 100644 (file)
@@ -20,9 +20,9 @@ $(TARGET)_resources.o:  $(TARGET).rc
        $(RESCOMP) $(RCINPUTSWITCH) $(TARGET).rc $(RCOUTPUTSWITCH) $(TARGET)_resources.o $(RESFLAGS)
 
 clean:
-       erase *.o
-       erase $(TARGET)_resources.o
-       erase $(TARGET).exe 
-       erase core 
-       erase *.rsc
-       erase *.res
+       rm -f *.o
+       rm -f $(TARGET)_resources.o
+       rm -f $(TARGET).exe 
+       rm -f core 
+       rm -f *.rsc
+       rm -f *.res
index 4446c9fbf7645351e1021ded166dda3756381a52..ea2c4489767ac55c8d4bde80b359c5cf8d4d284e 100644 (file)
@@ -399,21 +399,21 @@ $(COMMDIR)/lex_yy.c:    $(COMMDIR)/doslex.c
 #      mv y.tab.c $(COMMDIR)/y_tab.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
+       rm -f *.o
+       rm -f *.bak
+       rm -f core
+       rm -f ..\common\y_tab.c
+       rm -f ..\common\lex_yy.c
+       rm -f ..\common\*.o
+       rm -f ..\common\*.bak
+       rm -f ..\generic\*.o
+       rm -f ..\generic\*.bak
+       rm -f ..\html\*.o
+       rm -f ..\png\*.o
+       rm -f ..\png\*.bak
+       rm -f ..\zlib\*.o
+       rm -f ..\zlib\*.bak
+       rm -f ..\jpeg\*.o
+       rm -f ..\..\lib\libwx.a
 
 cleanall: clean
index d2034a804e8013d0a37b17738bc338b5c24872c8..8af82bc42dd62cc390da4dca42891d522e903c68 100644 (file)
@@ -1,4 +1,4 @@
-# This file was automatically generated by tmake at 15:31, 1999/10/14
+# This file was automatically generated by tmake at 11:44, 1999/10/14
 # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE VC.T!
 
 # File:     makefile.vc
@@ -164,7 +164,6 @@ COMMONOBJS = \
                ..\common\$D\imagpcx.obj \
                ..\common\$D\imagpng.obj \
                ..\common\$D\imagpnm.obj \
-               ..\common\$D\init.obj \
                ..\common\$D\intl.obj \
                ..\common\$D\ipcbase.obj \
                ..\common\$D\layout.obj \
@@ -286,6 +285,7 @@ MSWOBJS = ..\msw\$D\accel.obj \
                ..\msw\$D\settings.obj \
                ..\msw\$D\slider95.obj \
                ..\msw\$D\spinbutt.obj \
+               ..\msw\$D\spinctrl.obj \
                ..\msw\$D\statbmp.obj \
                ..\msw\$D\statbox.obj \
                ..\msw\$D\statbr95.obj \
index 1d9d5a7df706be679a05d5d500bb28e2f8a4bad8..8bd26d3c34541cf2a79d633b42d5412f7bdd5b1f 100644 (file)
@@ -904,6 +904,10 @@ SOURCE=.\msw\spinbutt.cpp
 # End Source File
 # Begin Source File
 
+SOURCE=.\msw\spinctrl.cpp
+# End Source File
+# Begin Source File
+
 SOURCE=.\msw\statbmp.cpp
 # End Source File
 # Begin Source File
index ad7d3b4ff788445a027dedd94c1418d1a135773d..043c132fc27cdcccaa34d0ada753250ff09897bd 100644 (file)
@@ -919,6 +919,10 @@ SOURCE=.\msw\spinbutt.cpp
 # End Source File
 # Begin Source File
 
+SOURCE=.\msw\spinctrl.cpp
+# End Source File
+# Begin Source File
+
 SOURCE=.\msw\statbmp.cpp
 # End Source File
 # Begin Source File
index 6b03ee9c84549dd175d8a58d5958f60ee9ed1a2e..e1ec62776f2d934b6d7fbbc5237d33d987800042 100644 (file)
@@ -902,6 +902,10 @@ SOURCE=.\msw\spinbutt.cpp
 # End Source File
 # Begin Source File
 
+SOURCE=.\msw\spinctrl.cpp
+# End Source File
+# Begin Source File
+
 SOURCE=.\msw\statbmp.cpp
 # End Source File
 # Begin Source File
index e6157c5e8240dad2d24e22957e2619f626a6c715..a45bc0ddd0c288e80888116e37756bd8dda92513 100644 (file)
@@ -2114,7 +2114,7 @@ void wxResourceEditorFrame::OnExit(wxCommandEvent& WXUNUSED(event))
 void wxResourceEditorFrame::OnAbout(wxCommandEvent& WXUNUSED(event))
 {
       char buf[300];
-      sprintf(buf, "wxWindows Dialog Editor %.1f\nAuthor: Julian Smart J.Smart@ed.ac.uk\nJulian Smart (c) 1996", wxDIALOG_EDITOR_VERSION);
+      sprintf(buf, "wxWindows Dialog Editor %.1f\nAuthor: Julian Smart <julian.smart@ukonline.co.uk>\nJulian Smart (c) 1996-1999", wxDIALOG_EDITOR_VERSION);
       wxMessageBox(buf, "About Dialog Editor", wxOK|wxCENTRE);
 }