From 77671fd2d684b066b96e210c132a017e82914e4d Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 8 Aug 1999 21:56:43 +0000 Subject: [PATCH] 1. regenerated makefiles 2. wxNewSizer compiles under MSW git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/sizer.cpp | 18 ++++++++++-------- src/gtk/Makefile | 5 +++-- src/gtk1/Makefile | 5 +++-- src/msw/makefile.b32 | 9 ++++++--- src/msw/makefile.bcc | 9 ++++++--- src/msw/makefile.dos | 12 +++++++++--- src/msw/makefile.g95 | 10 ++++++++-- src/msw/makefile.sc | 5 +++-- src/msw/makefile.vc | 7 ++++--- src/msw/makefile.wat | 13 +++++++++---- 10 files changed, 61 insertions(+), 32 deletions(-) diff --git a/src/common/sizer.cpp b/src/common/sizer.cpp index ea3019c037..76dca7a5f6 100644 --- a/src/common/sizer.cpp +++ b/src/common/sizer.cpp @@ -9,13 +9,17 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifndef __WXSIZERS_H__ -#define __WXSIZERS_H__ - #ifdef __GNUG__ #pragma implementation "sizer.h" #endif +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + +#ifdef __BORLANDC__ + #pragma hdrstop +#endif + #include "wx/sizer.h" #include "wx/utils.h" @@ -143,10 +147,11 @@ void wxNewSizer::SetSizeHints( wxWindow *window ) wxSize wxNewSizer::GetMinWindowSize( wxWindow *window ) { - wxSize min( GetMinSize() ); + wxSize minSize( GetMinSize() ); wxSize size( window->GetSize() ); wxSize client_size( window->GetClientSize() ); - return wxSize( min.x+size.x-client_size.x, min.y+size.y-client_size.y ); + return wxSize( minSize.x+size.x-client_size.x, + minSize.y+size.y-client_size.y ); } void wxNewSizer::SetDimension( int x, int y, int width, int height ) @@ -380,6 +385,3 @@ wxSize wxBoxNewSizer::CalcMin() return wxSize( m_minWidth, m_minHeight ); } - -#endif - // __SIZERS_H__ diff --git a/src/gtk/Makefile b/src/gtk/Makefile index 962c7d908b..d7db9d0e21 100644 --- a/src/gtk/Makefile +++ b/src/gtk/Makefile @@ -1,5 +1,5 @@ -# This file was automatically generated by tmake at 21:49, 1999/07/29 +# This file was automatically generated by tmake at 23:37, 1999/08/08 # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE GTK.T! # @@ -111,6 +111,7 @@ COMMONOBJS = \ $(COMMDIR)/sckipc.$(OBJSUFF) \ $(COMMDIR)/sckstrm.$(OBJSUFF) \ $(COMMDIR)/socket.$(OBJSUFF) \ + $(COMMDIR)/strconv.$(OBJSUFF) \ $(COMMDIR)/stream.$(OBJSUFF) \ $(COMMDIR)/string.$(OBJSUFF) \ $(COMMDIR)/tbarbase.$(OBJSUFF) \ @@ -132,7 +133,7 @@ COMMONOBJS = \ $(COMMDIR)/wincmn.$(OBJSUFF) \ $(COMMDIR)/wxchar.$(OBJSUFF) \ $(COMMDIR)/wxexpr.$(OBJSUFF) \ - $(COMMDIR)/zipstream.$(OBJSUFF) \ + $(COMMDIR)/zipstrm.$(OBJSUFF) \ $(COMMDIR)/zstream.$(OBJSUFF) HTMLOBJS = \ diff --git a/src/gtk1/Makefile b/src/gtk1/Makefile index 962c7d908b..d7db9d0e21 100644 --- a/src/gtk1/Makefile +++ b/src/gtk1/Makefile @@ -1,5 +1,5 @@ -# This file was automatically generated by tmake at 21:49, 1999/07/29 +# This file was automatically generated by tmake at 23:37, 1999/08/08 # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE GTK.T! # @@ -111,6 +111,7 @@ COMMONOBJS = \ $(COMMDIR)/sckipc.$(OBJSUFF) \ $(COMMDIR)/sckstrm.$(OBJSUFF) \ $(COMMDIR)/socket.$(OBJSUFF) \ + $(COMMDIR)/strconv.$(OBJSUFF) \ $(COMMDIR)/stream.$(OBJSUFF) \ $(COMMDIR)/string.$(OBJSUFF) \ $(COMMDIR)/tbarbase.$(OBJSUFF) \ @@ -132,7 +133,7 @@ COMMONOBJS = \ $(COMMDIR)/wincmn.$(OBJSUFF) \ $(COMMDIR)/wxchar.$(OBJSUFF) \ $(COMMDIR)/wxexpr.$(OBJSUFF) \ - $(COMMDIR)/zipstream.$(OBJSUFF) \ + $(COMMDIR)/zipstrm.$(OBJSUFF) \ $(COMMDIR)/zstream.$(OBJSUFF) HTMLOBJS = \ diff --git a/src/msw/makefile.b32 b/src/msw/makefile.b32 index fff2c88e3f..df72d456e5 100644 --- a/src/msw/makefile.b32 +++ b/src/msw/makefile.b32 @@ -1,6 +1,6 @@ -# This file was automatically generated by tmake at 17:00, 1999/08/06 +# This file was automatically generated by tmake at 23:37, 1999/08/08 # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE B32.T! # @@ -164,6 +164,7 @@ COMMONOBJS = \ $(MSWDIR)\sckipc.obj \ $(MSWDIR)\sckstrm.obj \ $(MSWDIR)\socket.obj \ + $(MSWDIR)\strconv.obj \ $(MSWDIR)\stream.obj \ $(MSWDIR)\string.obj \ $(MSWDIR)\tbarbase.obj \ @@ -185,7 +186,7 @@ COMMONOBJS = \ $(MSWDIR)\wincmn.obj \ $(MSWDIR)\wxchar.obj \ $(MSWDIR)\wxexpr.obj \ - $(MSWDIR)\zipstream.obj \ + $(MSWDIR)\zipstrm.obj \ $(MSWDIR)\zstream.obj MSWOBJS = $(MSWDIR)\accel.obj \ @@ -622,6 +623,8 @@ $(MSWDIR)\sckstrm.obj: $(COMMDIR)\sckstrm.$(SRCSUFF) $(MSWDIR)\socket.obj: $(COMMDIR)\socket.$(SRCSUFF) +$(MSWDIR)\strconv.obj: $(COMMDIR)\strconv.$(SRCSUFF) + $(MSWDIR)\stream.obj: $(COMMDIR)\stream.$(SRCSUFF) $(MSWDIR)\string.obj: $(COMMDIR)\string.$(SRCSUFF) @@ -664,7 +667,7 @@ $(MSWDIR)\wxchar.obj: $(COMMDIR)\wxchar.$(SRCSUFF) $(MSWDIR)\wxexpr.obj: $(COMMDIR)\wxexpr.$(SRCSUFF) -$(MSWDIR)\zipstream.obj: $(COMMDIR)\zipstream.$(SRCSUFF) +$(MSWDIR)\zipstrm.obj: $(COMMDIR)\zipstrm.$(SRCSUFF) $(MSWDIR)\zstream.obj: $(COMMDIR)\zstream.$(SRCSUFF) diff --git a/src/msw/makefile.bcc b/src/msw/makefile.bcc index ff7e40f21c..42ff996d99 100644 --- a/src/msw/makefile.bcc +++ b/src/msw/makefile.bcc @@ -1,6 +1,6 @@ -# This file was automatically generated by tmake at 00:42, 1999/07/27 +# This file was automatically generated by tmake at 23:37, 1999/08/08 # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE BCC.T! # @@ -144,6 +144,7 @@ COMMONOBJS = \ $(MSWDIR)\paper.obj \ $(MSWDIR)\prntbase.obj \ $(MSWDIR)\resource.obj \ + $(MSWDIR)\strconv.obj \ $(MSWDIR)\stream.obj \ $(MSWDIR)\string.obj \ $(MSWDIR)\tbarbase.obj \ @@ -164,7 +165,7 @@ COMMONOBJS = \ $(MSWDIR)\wincmn.obj \ $(MSWDIR)\wxchar.obj \ $(MSWDIR)\wxexpr.obj \ - $(MSWDIR)\zipstream.obj \ + $(MSWDIR)\zipstrm.obj \ $(MSWDIR)\zstream.obj \ ${MSWDIR}\resourc2.cpp @@ -515,6 +516,8 @@ $(MSWDIR)\prntbase.obj: $(COMMDIR)\prntbase.$(SRCSUFF) $(MSWDIR)\resource.obj: $(COMMDIR)\resource.$(SRCSUFF) +$(MSWDIR)\strconv.obj: $(COMMDIR)\strconv.$(SRCSUFF) + $(MSWDIR)\stream.obj: $(COMMDIR)\stream.$(SRCSUFF) $(MSWDIR)\string.obj: $(COMMDIR)\string.$(SRCSUFF) @@ -555,7 +558,7 @@ $(MSWDIR)\wxchar.obj: $(COMMDIR)\wxchar.$(SRCSUFF) $(MSWDIR)\wxexpr.obj: $(COMMDIR)\wxexpr.$(SRCSUFF) -$(MSWDIR)\zipstream.obj: $(COMMDIR)\zipstream.$(SRCSUFF) +$(MSWDIR)\zipstrm.obj: $(COMMDIR)\zipstrm.$(SRCSUFF) $(MSWDIR)\zstream.obj: $(COMMDIR)\zstream.$(SRCSUFF) diff --git a/src/msw/makefile.dos b/src/msw/makefile.dos index e29d0f2835..2a2b41d22c 100644 --- a/src/msw/makefile.dos +++ b/src/msw/makefile.dos @@ -1,6 +1,6 @@ -# This file was automatically generated by tmake at 00:42, 1999/07/27 +# This file was automatically generated by tmake at 23:37, 1999/08/08 # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE DOS.T! # @@ -132,6 +132,7 @@ COMMONOBJS = \ $(COMMDIR)\paper.obj \ $(COMMDIR)\prntbase.obj \ $(COMMDIR)\resource.obj \ + $(COMMDIR)\strconv.obj \ $(COMMDIR)\stream.obj \ $(COMMDIR)\string.obj \ $(COMMDIR)\tbarbase.obj \ @@ -152,7 +153,7 @@ COMMONOBJS = \ $(COMMDIR)\wincmn.obj \ $(COMMDIR)\wxchar.obj \ $(COMMDIR)\wxexpr.obj \ - $(COMMDIR)\zipstream.obj \ + $(COMMDIR)\zipstrm.obj \ $(COMMDIR)\zstream.obj MSWOBJS = $(MSWDIR)\accel.obj \ @@ -896,6 +897,11 @@ $(COMMDIR)/resource.obj: $*.$(SRCSUFF) $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) << +$(COMMDIR)/strconv.obj: $*.$(SRCSUFF) + cl @<< +$(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) +<< + $(COMMDIR)/stream.obj: $*.$(SRCSUFF) cl @<< $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) @@ -996,7 +1002,7 @@ $(COMMDIR)/wxexpr.obj: $*.$(SRCSUFF) $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) << -$(COMMDIR)/zipstream.obj: $*.$(SRCSUFF) +$(COMMDIR)/zipstrm.obj: $*.$(SRCSUFF) cl @<< $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) << diff --git a/src/msw/makefile.g95 b/src/msw/makefile.g95 index 63fa7dc63f..d111d88a1a 100644 --- a/src/msw/makefile.g95 +++ b/src/msw/makefile.g95 @@ -1,5 +1,5 @@ -# This file was automatically generated by tmake at 21:49, 1999/07/29 +# This file was automatically generated by tmake at 23:37, 1999/08/08 # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE G95.T! # @@ -114,6 +114,7 @@ COMMONOBJS = \ $(COMMDIR)/sckipc.$(OBJSUFF) \ $(COMMDIR)/sckstrm.$(OBJSUFF) \ $(COMMDIR)/socket.$(OBJSUFF) \ + $(COMMDIR)/strconv.$(OBJSUFF) \ $(COMMDIR)/stream.$(OBJSUFF) \ $(COMMDIR)/string.$(OBJSUFF) \ $(COMMDIR)/tbarbase.$(OBJSUFF) \ @@ -134,7 +135,7 @@ COMMONOBJS = \ $(COMMDIR)/wincmn.$(OBJSUFF) \ $(COMMDIR)/wxchar.$(OBJSUFF) \ $(COMMDIR)/wxexpr.$(OBJSUFF) \ - $(COMMDIR)/zipstream.$(OBJSUFF) \ + $(COMMDIR)/zipstrm.$(OBJSUFF) \ $(COMMDIR)/zstream.$(OBJSUFF) HTMLOBJS = \ @@ -387,14 +388,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 diff --git a/src/msw/makefile.sc b/src/msw/makefile.sc index d43c1b2301..6e01a6dcc1 100644 --- a/src/msw/makefile.sc +++ b/src/msw/makefile.sc @@ -1,6 +1,6 @@ -# This file was automatically generated by tmake at 00:42, 1999/07/27 +# This file was automatically generated by tmake at 23:37, 1999/08/08 # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE SC.T! # Symantec C++ makefile for the msw objects @@ -103,6 +103,7 @@ COMMONOBJS = \ $(COMMDIR)\sckipc.obj \ $(COMMDIR)\sckstrm.obj \ $(COMMDIR)\socket.obj \ + $(COMMDIR)\strconv.obj \ $(COMMDIR)\stream.obj \ $(COMMDIR)\string.obj \ $(COMMDIR)\tbarbase.obj \ @@ -124,7 +125,7 @@ COMMONOBJS = \ $(COMMDIR)\wincmn.obj \ $(COMMDIR)\wxchar.obj \ $(COMMDIR)\wxexpr.obj \ - $(COMMDIR)\zipstream.obj \ + $(COMMDIR)\zipstrm.obj \ $(COMMDIR)\zstream.obj MSWOBJS = $(MSWDIR)\accel.obj \ diff --git a/src/msw/makefile.vc b/src/msw/makefile.vc index 89f483abc9..02aa755a11 100644 --- a/src/msw/makefile.vc +++ b/src/msw/makefile.vc @@ -1,4 +1,4 @@ -# This file was automatically generated by tmake at 09:32, 1999/08/04 +# This file was automatically generated by tmake at 23:37, 1999/08/08 # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE VC.T! # File: makefile.vc @@ -170,6 +170,7 @@ COMMONOBJS = \ ..\common\$D\sckipc.obj \ ..\common\$D\sckstrm.obj \ ..\common\$D\socket.obj \ + ..\common\$D\strconv.obj \ ..\common\$D\stream.obj \ ..\common\$D\string.obj \ ..\common\$D\tbarbase.obj \ @@ -190,7 +191,7 @@ COMMONOBJS = \ ..\common\$D\wincmn.obj \ ..\common\$D\wxchar.obj \ ..\common\$D\wxexpr.obj \ - ..\common\$D\zipstream.obj \ + ..\common\$D\zipstrm.obj \ ..\common\$D\zstream.obj MSWOBJS = ..\msw\$D\accel.obj \ @@ -305,7 +306,7 @@ HTMLOBJS = \ # Add $(NONESSENTIALOBJS) if wanting generic dialogs, PostScript etc. # Add $(HTMLOBJS) if wanting wxHTML classes -OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS) $(HTMLOBJS) +OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS) # Normal, static library all: dirs $(DUMMYOBJ) $(OBJECTS) $(PERIPH_TARGET) png zlib xpm jpeg $(LIBTARGET) diff --git a/src/msw/makefile.wat b/src/msw/makefile.wat index 739d1b6322..396821eb8e 100644 --- a/src/msw/makefile.wat +++ b/src/msw/makefile.wat @@ -1,6 +1,6 @@ -# This file was automatically generated by tmake at 00:42, 1999/07/27 +# This file was automatically generated by tmake at 23:37, 1999/08/08 # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE WAT.T! #!/binb/wmake.exe @@ -53,7 +53,8 @@ GENERICOBJS= busyinfo.obj & # These are generic things that don't need to be compiled on MSW, # but sometimes it's useful to do so for testing purposes. -NONESSENTIALOBJS= colrdlgg.obj & +NONESSENTIALOBJS= caret.obj & + colrdlgg.obj & dirdlgg.obj & fontdlgg.obj & helpxlp.obj & @@ -122,6 +123,7 @@ COMMONOBJS = & sckipc.obj & sckstrm.obj & socket.obj & + strconv.obj & stream.obj & string.obj & tbarbase.obj & @@ -143,7 +145,7 @@ COMMONOBJS = & wincmn.obj & wxchar.obj & wxexpr.obj & - zipstream.obj & + zipstrm.obj & zstream.obj MSWOBJS = accel.obj & @@ -698,6 +700,9 @@ sckstrm.obj: $(COMMDIR)\sckstrm.cpp socket.obj: $(COMMDIR)\socket.cpp *$(CCC) $(CPPFLAGS) $(IFLAGS) $< +strconv.obj: $(COMMDIR)\strconv.cpp + *$(CCC) $(CPPFLAGS) $(IFLAGS) $< + stream.obj: $(COMMDIR)\stream.cpp *$(CCC) $(CPPFLAGS) $(IFLAGS) $< @@ -761,7 +766,7 @@ wxchar.obj: $(COMMDIR)\wxchar.cpp wxexpr.obj: $(COMMDIR)\wxexpr.cpp *$(CCC) $(CPPFLAGS) $(IFLAGS) $< -zipstream.obj: $(COMMDIR)\zipstream.cpp +zipstrm.obj: $(COMMDIR)\zipstrm.cpp *$(CCC) $(CPPFLAGS) $(IFLAGS) $< zstream.obj: $(COMMDIR)\zstream.cpp -- 2.45.2