set wisecmd="c:\Program Files\wise\wise32.exe" /C %WXWIN\distrib\msw\wxwin2.wse
echo Invoking %wisecmd...
start /w %wisecmd
+Rem ren %WXWIN\deliver\setup.EXE %WXWIN\deliver\setup_%version%.exe
cd %dest
Depending on what you downloaded, you may have one or more of
these ports. You may unarchive any or all of the ports into
the same directory hierarchy. The zip archive set comprises the
-following:
-
-wx200gen.zip Generic source code and samples (required)
-wx200msw.zip Windows-specific source code
-wx200mot.zip Motif-specific source code
-wx200gtk.zip GTK-specific source code
-wx200stubs.zip Stubs ('empty port') source. Needs
- wx200gen.zip/tgz.
-wx200doc.zip Documentation source code (not required)
-wx200hlp.zip WinHelp documentation
-wx200pdf.zip Acrobat PDF documentation
-wx200htm.zip HTML documentation
-wx200vc.zip MS VC++ 5/6 project files
-wx200bc.zip Borland C++ 5 project files
-wx200cw.zip Metrowerks CodeWarrior 4.1 project files
-jpeg.zip Optional JPEG library
-ogl3.zip Optional Object Graphics Library
-glcanvas.zip Optional wxGLCanvas class (Motif, GTK, MSW)
-tex2rtf2.zip Tex2RTF documentation tool
+following, where x is the minor version and y the release number:
+
+wx2_x_y_gen.zip Generic source code and samples (required)
+wx2_x_y_msw.zip Windows-specific source code
+wx2_x_y_mot.zip Motif-specific source code
+wx2_x_y_gtk.zip GTK-specific source code
+wx2_x_y_stubs.zip Stubs ('empty port') source. Needs
+ wx2_x_y_gen.zip/tgz.
+wx2_x_y_doc.zip Documentation source code (not required)
+wx2_x_y_hlp.zip WinHelp documentation
+wx2_x_y_pdf.zip Acrobat PDF documentation
+wx2_x_y_htm.zip HTML documentation
+wx2_x_y_vc.zip MS VC++ 5/6 project files
+wx2_x_y_bc.zip Borland C++ 5 project files
+wx2_x_y_cw.zip Metrowerks CodeWarrior 4.1 project files
+jpeg.zip Optional JPEG library
+ogl3.zip Optional Object Graphics Library
+glcanvas.zip Optional wxGLCanvas class (Motif, GTK, MSW)
+tex2rtf2.zip Tex2RTF documentation tool
wxWindows for GTK distribution
------------------------------
-wxGTK-2.x.x.tgz wxGTK source distribution. You will
- need the HTML and/or PDF documentation
- from the zip set (above).
+wxGTK-2.x.y.tgz wxGTK source distribution. You will
+ need the HTML and/or PDF documentation
+ from the zip set (above).
wxWindows for Motif distribution
--------------------------------
-wxMotif-2.x.x.tgz wxMotif source distribution. You will
- need the HTML and/or PDF documentation
- -- OR -- from the zip set (above).
+wxMotif-2.x.y.tgz wxMotif source distribution. You will
+ need the HTML and/or PDF documentation
+ -- OR -- from the zip set (above).
-wx200gen.zip
-wx200msw.zip
-wx200mot.zip
+wx2_x_y_gen.zip
+wx2_x_y_msw.zip
+wx2_x_y_mot.zip
jpeg.zip
wxWindows for Windows distribution
wxStringClientData *obj = ((wxStringClientData *)event.GetClientObject());
m_text->AppendText( "ListBox event client data string is: '" );
- m_text->AppendText( obj ? obj->GetData() : wxString("none"));
+ if (obj) // BC++ doesn't like use of '? .. : .. ' in this context
+ m_text->AppendText( obj->GetData() );
+ else
+ m_text->AppendText( wxString("none") );
+
m_text->AppendText( "'\n" );
m_text->AppendText( "ListBox control client data string is: '" );
obj = (wxStringClientData *)listbox->GetClientObject(listbox->GetSelection());
- m_text->AppendText( obj ? obj->GetData() : wxString("none"));
+ if (obj)
+ m_text->AppendText( obj->GetData() );
+ else
+ m_text->AppendText( wxString("none") );
m_text->AppendText( "'\n" );
}
wxStringClientData *obj = ((wxStringClientData *)event.GetClientObject());
m_text->AppendText( "Choice event client data string is: '" );
- m_text->AppendText( obj ? obj->GetData() : wxString("none"));
+
+ if (obj)
+ m_text->AppendText( obj->GetData() );
+ else
+ m_text->AppendText( wxString("none") );
+
m_text->AppendText( "'\n" );
m_text->AppendText( "Choice control client data string is: '" );
obj = (wxStringClientData *)choice->GetClientObject(choice->GetSelection());
- m_text->AppendText( obj ? obj->GetData() : wxString("none"));
+
+ if (obj)
+ m_text->AppendText( obj->GetData() );
+ else
+ m_text->AppendText( wxString("none") );
m_text->AppendText( "'\n" );
}
my_horse_gif = (wxBitmap*) NULL;
my_horse_bmp = (wxBitmap*) NULL;
my_horse_pcx = (wxBitmap*) NULL;
+ my_horse_pnm = (wxBitmap*) NULL;
my_square = (wxBitmap*) NULL;
my_anti = (wxBitmap*) NULL;
wxLogError("Can't load JPG image");
else
my_horse_jpeg = new wxBitmap( image.ConvertToBitmap() );
-
+
+#if wxUSE_GIF
if ( !image.LoadFile( dir + wxString("horse.gif") ) )
wxLogError("Can't load GIF image");
else
my_horse_gif = new wxBitmap( image.ConvertToBitmap() );
+#endif
+#if wxUSE_PCX
if ( !image.LoadFile( dir + wxString("horse.pcx"), wxBITMAP_TYPE_PCX ) )
wxLogError("Can't load PCX image");
else
my_horse_pcx = new wxBitmap( image.ConvertToBitmap() );
+#endif
if ( !image.LoadFile( dir + wxString("horse.bmp"), wxBITMAP_TYPE_BMP ) )
wxLogError("Can't load BMP image");
else
my_horse_bmp = new wxBitmap( image.ConvertToBitmap() );
+#if wxUSE_PNM
if ( !image.LoadFile( dir + wxString("horse.pnm"), wxBITMAP_TYPE_PNM ) )
wxLogError("Can't load PNM image");
else
my_horse_pnm = new wxBitmap( image.ConvertToBitmap() );
+#endif
image.LoadFile( dir + wxString("test.png") );
my_square = new wxBitmap( image.ConvertToBitmap() );
dc.Clear();
- dc.SetFont( wxFont( 24, wxDECORATIVE, wxDEFAULT, wxDEFAULT ) );
+ dc.SetFont( wxFont( 24, wxDECORATIVE, wxNORMAL, wxNORMAL) );
dc.SetTextForeground( "RED" );
dc.DrawText( "This is anti-aliased Text.", 20, 20 );
dc.DrawText( "And a Rectangle.", 20, 60 );
wxImage::AddHandler( new wxJPEGHandler );
#endif
+#if wxUSE_GIF
wxImage::AddHandler( new wxGIFHandler );
+#endif
+
+#if wxUSE_PCX
wxImage::AddHandler( new wxPCXHandler );
+#endif
+
+#if wxUSE_PNM
wxImage::AddHandler( new wxPNMHandler );
+#endif
wxFrame *frame = new MyFrame();
frame->Show( TRUE );
-# This file was automatically generated by tmake at 00:24, 1999/10/28
+# This file was automatically generated by tmake at 10:03, 1999/11/06
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE B32.T!
#
$(MSWDIR)\filefn.obj \
$(MSWDIR)\filesys.obj \
$(MSWDIR)\fontcmn.obj \
+ $(MSWDIR)\fontmap.obj \
$(MSWDIR)\framecmn.obj \
$(MSWDIR)\fs_inet.obj \
$(MSWDIR)\fs_zip.obj \
$(MSWDIR)\filedlg.obj \
$(MSWDIR)\font.obj \
$(MSWDIR)\fontdlg.obj \
+ $(MSWDIR)\fontutil.obj \
$(MSWDIR)\frame.obj \
$(MSWDIR)\gauge95.obj \
$(MSWDIR)\gdiobj.obj \
$(MSWDIR)\fontdlg.obj: $(MSWDIR)\fontdlg.$(SRCSUFF)
+$(MSWDIR)\fontutil.obj: $(MSWDIR)\fontutil.$(SRCSUFF)
+
$(MSWDIR)\frame.obj: $(MSWDIR)\frame.$(SRCSUFF)
$(MSWDIR)\gauge95.obj: $(MSWDIR)\gauge95.$(SRCSUFF)
$(MSWDIR)\fontcmn.obj: $(COMMDIR)\fontcmn.$(SRCSUFF)
+$(MSWDIR)\fontmap.obj: $(COMMDIR)\fontmap.$(SRCSUFF)
+
$(MSWDIR)\framecmn.obj: $(COMMDIR)\framecmn.$(SRCSUFF)
$(MSWDIR)\fs_inet.obj: $(COMMDIR)\fs_inet.$(SRCSUFF)
-# This file was automatically generated by tmake at 00:24, 1999/10/28
+# This file was automatically generated by tmake at 10:04, 1999/11/06
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE BCC.T!
#
$(MSWDIR)\filefn.obj \
$(MSWDIR)\filesys.obj \
$(MSWDIR)\fontcmn.obj \
+ $(MSWDIR)\fontmap.obj \
$(MSWDIR)\framecmn.obj \
$(MSWDIR)\fs_inet.obj \
$(MSWDIR)\fs_zip.obj \
$(MSWDIR)\filedlg.obj \
$(MSWDIR)\font.obj \
$(MSWDIR)\fontdlg.obj \
+ $(MSWDIR)\fontutil.obj \
$(MSWDIR)\frame.obj \
$(MSWDIR)\gaugemsw.obj \
$(MSWDIR)\gdiobj.obj \
$(MSWDIR)\fontdlg.obj: $(MSWDIR)\fontdlg.$(SRCSUFF)
+$(MSWDIR)\fontutil.obj: $(MSWDIR)\fontutil.$(SRCSUFF)
+
$(MSWDIR)\frame.obj: $(MSWDIR)\frame.$(SRCSUFF)
$(MSWDIR)\gaugemsw.obj: $(MSWDIR)\gaugemsw.$(SRCSUFF)
$(MSWDIR)\fontcmn.obj: $(COMMDIR)\fontcmn.$(SRCSUFF)
+$(MSWDIR)\fontmap.obj: $(COMMDIR)\fontmap.$(SRCSUFF)
+
$(MSWDIR)\framecmn.obj: $(COMMDIR)\framecmn.$(SRCSUFF)
$(MSWDIR)\fs_inet.obj: $(COMMDIR)\fs_inet.$(SRCSUFF)
-# This file was automatically generated by tmake at 00:24, 1999/10/28
+# This file was automatically generated by tmake at 10:04, 1999/11/06
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE VC.T!
# File: makefile.vc
..\common\$D\filefn.obj \
..\common\$D\filesys.obj \
..\common\$D\fontcmn.obj \
+ ..\common\$D\fontmap.obj \
..\common\$D\framecmn.obj \
..\common\$D\fs_inet.obj \
..\common\$D\fs_zip.obj \
..\msw\$D\filedlg.obj \
..\msw\$D\font.obj \
..\msw\$D\fontdlg.obj \
+ ..\msw\$D\fontutil.obj \
..\msw\$D\frame.obj \
..\msw\$D\gauge95.obj \
..\msw\$D\gdiobj.obj \
#!/binb/wmake.exe
-# This file was automatically generated by tmake at 00:24, 1999/10/28
+# This file was automatically generated by tmake at 10:10, 1999/11/06
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE WAT.T!
#
filefn.obj &
filesys.obj &
fontcmn.obj &
+ fontmap.obj &
framecmn.obj &
fs_inet.obj &
fs_zip.obj &
filedlg.obj &
font.obj &
fontdlg.obj &
+ fontutil.obj &
frame.obj &
gauge95.obj &
gaugemsw.obj &
fontdlg.obj: $(MSWDIR)\fontdlg.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
+fontutil.obj: $(MSWDIR)\fontutil.cpp
+ *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
+
frame.obj: $(MSWDIR)\frame.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
fontcmn.obj: $(COMMDIR)\fontcmn.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
+fontmap.obj: $(COMMDIR)\fontmap.cpp
+ *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
+
framecmn.obj: $(COMMDIR)\framecmn.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
# End Source File
# Begin Source File
+SOURCE=.\common\fontmap.cpp
+# End Source File
+# Begin Source File
+
SOURCE=.\common\framecmn.cpp
# End Source File
# Begin Source File
# End Source File
# Begin Source File
+SOURCE=.\msw\fontenum.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=.\msw\fontutil.cpp
+# End Source File
+# Begin Source File
+
SOURCE=.\msw\frame.cpp
# End Source File
# Begin Source File
# End Source File
# Begin Source File
+SOURCE=.\common\fontmap.cpp
+# End Source File
+# Begin Source File
+
SOURCE=.\common\framecmn.cpp
# End Source File
# Begin Source File
# End Source File
# Begin Source File
+SOURCE=.\msw\fontenum.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=.\msw\fontutil.cpp
+# End Source File
+# Begin Source File
+
SOURCE=.\msw\frame.cpp
# End Source File
# Begin Source File
GenerateSample("DocVwMDIVC", "docview", dir + wxString("/samples/docvwmdi"),
wxStringList("docview.cpp", "doc.cpp", "view.cpp", "docview.h", "doc.h", "view.h", 0));
GenerateSample("DynamicVC", "dynamic", dir + wxString("/samples/dynamic"), wxStringList("dynamic.cpp", 0));
+ GenerateSample("DrawingVC", "drawing", dir + wxString("/samples/drawing"), wxStringList("drawing.cpp", 0));
GenerateSample("FortyVC", "forty", dir + wxString("/samples/forty"),
wxStringList("forty.cpp", "canvas.cpp", "card.cpp", "game.cpp", "pile.cpp", "playerdg.cpp", "scoredg.cpp", "scorefil.cpp",
"canvas.h", "forty.h", "card.h", "game.h", "pile.h", "playerdg.h", "scoredg.h", "scorefil.h",