Various documentation changes, makefile fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
1998-07-03 16:39:59 +00:00
parent 0d3820b348
commit 884360bc11
20 changed files with 88 additions and 40 deletions

View File

@@ -14,6 +14,7 @@ src/common/dosyacc.c
src/common/doslex.c src/common/doslex.c
src/common/vmsyacc.c src/common/vmsyacc.c
src/common/vmslex.c src/common/vmslex.c
src/common/extended.c
src/common/*.l src/common/*.l
src/common/*.y src/common/*.y
src/common/*.inc src/common/*.inc
@@ -181,6 +182,7 @@ utils/dialoged/src/*.ico
utils/dialoged/src/*.prj utils/dialoged/src/*.prj
utils/dialoged/src/*.bmp utils/dialoged/src/*.bmp
utils/dialoged/src/bitmaps/*.bmp utils/dialoged/src/bitmaps/*.bmp
utils/dialoged/src/bitmaps/*.ico
utils/dialoged/test/*.cpp utils/dialoged/test/*.cpp
utils/dialoged/test/*.def utils/dialoged/test/*.def
utils/dialoged/test/*.rc utils/dialoged/test/*.rc

View File

@@ -12,14 +12,14 @@ erase %2\wx200*.zip
cd %1 cd %1
echo Zipping... echo Zipping...
zip32 -@ %2\wx200gen.zip < %1\distrib\generic.rsp zip32 -@ %2\wx200gen.zip < %1\distrib\msw\generic.rsp
zip32 -@ %2\wx200msw.zip < %1\distrib\msw.rsp zip32 -@ %2\wx200msw.zip < %1\distrib\msw\msw.rsp
zip32 -@ %2\wx200doc.zip < %1\distrib\docsrc.rsp zip32 -@ %2\wx200doc.zip < %1\distrib\msw\docsrc.rsp
rem zip32 -@ %2\wx200ps.zip < %1\distrib\wx_ps.rsp rem zip32 -@ %2\wx200ps.zip < %1\distrib\msw\wx_ps.rsp
zip32 -@ %2\wx200hlp.zip < %1\distrib\wx_hlp.rsp zip32 -@ %2\wx200hlp.zip < %1\distrib\msw\wx_hlp.rsp
zip32 -@ %2\wx200htm.zip < %1\distrib\wx_html.rsp zip32 -@ %2\wx200htm.zip < %1\distrib\msw\wx_html.rsp
zip32 -@ %2\wx200pdf.zip < %1\distrib\wx_pdf.rsp zip32 -@ %2\wx200pdf.zip < %1\distrib\msw\wx_pdf.rsp
cd %2 cd %2
@@ -28,7 +28,7 @@ goto end
:usage :usage
echo DOS wxWindows distribution. echo DOS wxWindows distribution.
echo Usage: zipdistgeneric source destination echo Usage: zipdist source destination
echo e.g. zipdistgeneric c:\wx b: echo e.g. zipdist d:\wx2\wxWindows d:\wx2\wxWindows\deliver
:end :end

View File

@@ -1,11 +1,15 @@
Generic wxWindows 2.0 Change Log Generic wxWindows 2.0 Change Log
-------------------------------- --------------------------------
Note: for platform-specific changes, see wx/docs/XXX/changes.txt Note: for platform-specific changes, see wx/docs/XXX/changes.txt
where XXX is one of msw, motif, xt, gtk, mac. where XXX is one of msw, motif, xt, gtk, mac.
Alpha 11, July 3rd 1998
-----------------------
- Major work on Dialog Editor (still plenty to go).
- Expanded documentation a bit more.
Alpha 9, April 27th 1998 Alpha 9, April 27th 1998
------------------------ ------------------------

View File

@@ -1,5 +1,5 @@
[OPTIONS] [OPTIONS]
BMROOT=d:\wx2\docs/latex/porting ; Assume that bitmaps are where the source is BMROOT=d:\wx2\wxwind~1\docs\latex\porting ; Assume that bitmaps are where the source is
TITLE=wxWindows Porting Guide TITLE=wxWindows Porting Guide
CONTENTS=Contents CONTENTS=Contents
COMPRESS=HIGH COMPRESS=HIGH

View File

@@ -142,7 +142,7 @@ $$\image{14cm;0cm}{wxclass.ps}$$
\input statbox.tex \input statbox.tex
\input stattext.tex \input stattext.tex
\input statusbr.tex \input statusbr.tex
\input wxstring.tex %\input wxstring.tex
\input strlist.tex \input strlist.tex
\input sysclevt.tex \input sysclevt.tex
\input settings.tex \input settings.tex

View File

@@ -14,7 +14,7 @@ function that takes a wxEraseEvent argument.
\twocolwidtha{7cm} \twocolwidtha{7cm}
\begin{twocollist}\itemsep=0pt \begin{twocollist}\itemsep=0pt
\twocolitem{{\bf EVT\_ERASE(func)}}{Process a wxEVT\_ERASE\_BACKGROUND event.} \twocolitem{{\bf EVT\_ERASE\_BACKGROUND(func)}}{Process a wxEVT\_ERASE\_BACKGROUND event.}
\end{twocollist}% \end{twocollist}%
\wxheading{Remarks} \wxheading{Remarks}

View File

@@ -53,7 +53,7 @@ Adds a new image using a bitmap and optional mask bitmap.
Adds a new image using a bitmap and mask colour. Adds a new image using a bitmap and mask colour.
\func{int}{Add}{\param{const wxBitmap\&}{ icon}} \func{int}{Add}{\param{const wxIcon\&}{ icon}}
Adds a new image using an icon. Adds a new image using an icon.

View File

@@ -348,6 +348,16 @@ Inserts an image item.
Insert an image/string item. Insert an image/string item.
\wxheading{Parameters}
\docparam{info}{wxListItem object}
\docparam{index}{Index of the new item, supplied by the application}
\docparam{label}{String label}
\docparam{imageIndex}{index into the image list associated with this control and view style}
\membersection{wxListCtrl::ScrollList}\label{wxlistctrlscrolllist} \membersection{wxListCtrl::ScrollList}\label{wxlistctrlscrolllist}
\func{bool}{ScrollList}{\param{int }{dx}, \param{int }{dy}} \func{bool}{ScrollList}{\param{int }{dx}, \param{int }{dy}}
@@ -377,10 +387,12 @@ information.
\func{bool}{SetColumnWidth}{\param{int }{col}, \param{int }{width}} \func{bool}{SetColumnWidth}{\param{int }{col}, \param{int }{width}}
Sets the column width (report view only). Sets the column width.
{\it width} can be a width in pixels or wxLIST\_AUTOSIZE (-1) or wxLIST\_AUTOSIZE\_USEHEADER (-2). {\it width} can be a width in pixels or wxLIST\_AUTOSIZE (-1) or wxLIST\_AUTOSIZE\_USEHEADER (-2).
In small or normal icon view, {\it col} must be -1, and the column width is set for all columns.
\membersection{wxListCtrl::SetImageList}\label{wxlistctrlsetimagelist} \membersection{wxListCtrl::SetImageList}\label{wxlistctrlsetimagelist}
\func{void}{SetImageList}{\param{wxImageList*}{ imageList}, \param{int }{which}} \func{void}{SetImageList}{\param{wxImageList*}{ imageList}, \param{int }{which}}

View File

@@ -5,6 +5,10 @@ client area of a window from within an {\bf OnPaint} event.
This should normally be constructed as a temporary stack object; don't store This should normally be constructed as a temporary stack object; don't store
a wxPaintDC object. a wxPaintDC object.
Using wxPaintDC within OnPaint is important because it automatically
sets the clipping area to the damaged area of the window. Attempts to draw
outside this area do not appear.
To draw on a window from outside {\bf OnPaint}, construct a \helpref{wxClientDC}{wxclientdc} object. To draw on a window from outside {\bf OnPaint}, construct a \helpref{wxClientDC}{wxclientdc} object.
To draw on the whole window including decorations, construct a \helpref{wxWindowDC}{wxwindowdc} object To draw on the whole window including decorations, construct a \helpref{wxWindowDC}{wxwindowdc} object

View File

@@ -65,6 +65,12 @@ Deletes all tab items.
Deletes the specified tab item. Deletes the specified tab item.
\membersection{wxTabCtrl::GetCurFocus}\label{wxtabctrlgetcurfocus}
\constfunc{int}{GetCurFocus}{\void}
Returns the index for the tab with the focus, or -1 if none has the focus.
\membersection{wxTabCtrl::GetImageList}\label{wxtabctrlgetimagelist} \membersection{wxTabCtrl::GetImageList}\label{wxtabctrlgetimagelist}
\constfunc{wxImageList*}{GetImageList}{\void} \constfunc{wxImageList*}{GetImageList}{\void}

View File

@@ -29,6 +29,8 @@ the application-wide policy is for 3D controls. Windows only.}
\twocolitem{\windowstyle{wxTAB\_TRAVERSAL}}{Use this to enable tab traversal for non-dialog windows.} \twocolitem{\windowstyle{wxTAB\_TRAVERSAL}}{Use this to enable tab traversal for non-dialog windows.}
\twocolitem{\windowstyle{wxVSCROLL}}{Use this style to enable a vertical scrollbar.} \twocolitem{\windowstyle{wxVSCROLL}}{Use this style to enable a vertical scrollbar.}
\twocolitem{\windowstyle{wxHSCROLL}}{Use this style to enable a horizontal scrollbar.} \twocolitem{\windowstyle{wxHSCROLL}}{Use this style to enable a horizontal scrollbar.}
\twocolitem{\windowstyle{wxCLIP\_CHILDREN}}{Use this style to eliminate flicker caused by the background being
repainted, then children being painted over them. Windows-only.}
\end{twocollist} \end{twocollist}
See also \helpref{window styles overview}{windowstyles}. See also \helpref{window styles overview}{windowstyles}.

View File

@@ -1,8 +1,15 @@
; This file is maintained by HCW. Do not modify this file directly.
[OPTIONS] [OPTIONS]
BMROOT=d:\wx2\wxwind~1\docs\latex\wx ; Assume that bitmaps are where the source is HCW=0
TITLE=wxWindows Manual COMPRESS=60 Hall Zeck
LCID=0x809 0x0 0x0 ;English (United Kingdom)
REPORT=Yes
CONTENTS=Contents CONTENTS=Contents
COMPRESS=HIGH TITLE=wxWindows Manual
BMROOT=..\..\..\..\wxwind~1\docs\latex\wx
BMROOT=Assume that bitmaps are where the source is
HLP=.\wx.hlp
[FILES] [FILES]
wx.rtf wx.rtf
@@ -10,8 +17,3 @@ wx.rtf
[CONFIG] [CONFIG]
CreateButton("Up", "&Up", "JumpId(`wx.hlp', `Contents')") CreateButton("Up", "&Up", "JumpId(`wx.hlp', `Contents')")
BrowseButtons() BrowseButtons()
[MAP]
[BITMAPS]

View File

@@ -2,7 +2,7 @@
wxWindows 2.0 for Windows Change Log wxWindows 2.0 for Windows Change Log
------------------------------------ ------------------------------------
Alpha 11, June ??th 1998 Alpha 11, July 3rd 1998
----------------------- -----------------------
- Added thread.h, thread.cpp. - Added thread.h, thread.cpp.
@@ -15,6 +15,16 @@ Alpha 11, June ??th 1998
wxRegion::IsEmpty for a more consistent naming convention. wxRegion::IsEmpty for a more consistent naming convention.
- Added Vadim's wxDataObject and wxDropSource. - Added Vadim's wxDataObject and wxDropSource.
- ENTER/LEAVE events now work. - ENTER/LEAVE events now work.
- Cured wxMemoryDC bug where the DC wasn't being deleted.
- Cured wxGauge SetSize major bugginess.
- Cured problem where if a GDI object was created on the stack,
then went out of scope, then another object was selected into
the DC, GDI objects would leak. This is because the assignment
to e.g. wxDC::m_pen would delete the GDI object without it first
being selected out of the DC. Cured by selecting the old DC object
first, then doing the assignment.
- Split up wxGaugeMSW, wxGauge95, wxSliderMSW, wxSlider95
- Various other bug fixes and additions.
Alpha 10, May 7th 1998 Alpha 10, May 7th 1998
---------------------- ----------------------

View File

@@ -65,3 +65,10 @@ Options:
- take elements from both - take elements from both
- do the Windows stuff, let someone else write/adapt the - do the Windows stuff, let someone else write/adapt the
non-Windows classes non-Windows classes
Owner-draw menus
----------------
If USE_OWNER_DRAWN = 1 and you create a wxMenu, you get 'all bets
are off' memory checking warnings from wxWindows.

View File

@@ -18,7 +18,6 @@ THISDIR=$(WXDIR)/samples
all: all:
cd $(WXDIR)/samples/splitter; make -f makefile.g95 cd $(WXDIR)/samples/splitter; make -f makefile.g95
cd $(WXDIR)/samples/resource; make -f makefile.g95 cd $(WXDIR)/samples/resource; make -f makefile.g95
cd $(WXDIR)/samples/events; make -f makefile.g95
cd $(WXDIR)/samples/controls; make -f makefile.g95 cd $(WXDIR)/samples/controls; make -f makefile.g95
cd $(WXDIR)/samples/listctrl; make -f makefile.g95 cd $(WXDIR)/samples/listctrl; make -f makefile.g95
cd $(WXDIR)/samples/treectrl; make -f makefile.g95 cd $(WXDIR)/samples/treectrl; make -f makefile.g95
@@ -57,7 +56,6 @@ clean:
cd $(WXDIR)/samples/listctrl; make -f makefile.g95 clean cd $(WXDIR)/samples/listctrl; make -f makefile.g95 clean
cd $(WXDIR)/samples/treectrl; make -f makefile.g95 clean cd $(WXDIR)/samples/treectrl; make -f makefile.g95 clean
cd $(WXDIR)/samples/validate; make -f makefile.g95 clean cd $(WXDIR)/samples/validate; make -f makefile.g95 clean
cd $(WXDIR)/samples/events; make -f makefile.g95 clean
cd $(WXDIR)/samples/docview; make -f makefile.g95 clean cd $(WXDIR)/samples/docview; make -f makefile.g95 clean
cd $(WXDIR)/samples/controls; make -f makefile.g95 clean cd $(WXDIR)/samples/controls; make -f makefile.g95 clean
cd $(WXDIR)/samples/nativdlg; make -f makefile.g95 clean cd $(WXDIR)/samples/nativdlg; make -f makefile.g95 clean

View File

@@ -26,8 +26,6 @@ all:
nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS)
cd $(WXDIR)\samples\resource cd $(WXDIR)\samples\resource
nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS)
cd $(WXDIR)\samples\events
nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS)
cd $(WXDIR)\samples\controls cd $(WXDIR)\samples\controls
nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS)
cd $(WXDIR)\samples\listctrl cd $(WXDIR)\samples\listctrl
@@ -124,8 +122,6 @@ clean:
nmake -f makefile.nt clean nmake -f makefile.nt clean
cd $(WXDIR)\samples\validate cd $(WXDIR)\samples\validate
nmake -f makefile.nt clean nmake -f makefile.nt clean
cd $(WXDIR)\samples\events
nmake -f makefile.nt clean
cd $(WXDIR)\samples\docview cd $(WXDIR)\samples\docview
nmake -f makefile.nt clean nmake -f makefile.nt clean
cd $(WXDIR)\samples\controls cd $(WXDIR)\samples\controls

View File

@@ -70,15 +70,13 @@ bool MyApp::OnInit(void)
frame->SetIcon(wxIcon("aiai.xbm")); frame->SetIcon(wxIcon("aiai.xbm"));
#endif #endif
// Make an image list containing large icons // Make an image list containing small icons
m_imageListNormal = new wxImageList(16, 16, TRUE); m_imageListNormal = new wxImageList(16, 16, TRUE);
wxIcon *icon = new wxIcon("icon1", wxBITMAP_TYPE_ICO_RESOURCE); wxIcon icon1("icon1", wxBITMAP_TYPE_ICO_RESOURCE);
m_imageListNormal->Add(*icon); m_imageListNormal->Add(icon1);
delete icon; wxIcon icon2("icon2", wxBITMAP_TYPE_ICO_RESOURCE);
icon = new wxIcon("icon2", wxBITMAP_TYPE_ICO_RESOURCE); m_imageListNormal->Add(icon2);
m_imageListNormal->Add(*icon);
delete icon;
// Make a menubar // Make a menubar
wxMenu *file_menu = new wxMenu; wxMenu *file_menu = new wxMenu;

View File

@@ -38,7 +38,7 @@ DEBUG_FLAGS =
!endif !endif
CPPFLAGS=$(DEBUG_FLAGS) $(OPT) @$(CFG) @$(INCFILE) CPPFLAGS=$(DEBUG_FLAGS) $(OPT) @$(CFG) @$(INCFILE)
OBJECTS = wx_resed.obj wx_rdlg.obj wx_reswr.obj wx_repal.obj wx_rprop.obj dialoged.obj OBJECTS = dialoged.obj editrpal.obj reseditr.obj dlghndlr.obj reswrite.obj winprop.obj edtree.obj edlist.obj
$(TARGET).exe: wxprop $(INCFILE) $(OBJECTS) $(TARGET).def $(TARGET).res $(TARGET).exe: wxprop $(INCFILE) $(OBJECTS) $(TARGET).def $(TARGET).res
tlink32 $(LINKFLAGS) @&&! tlink32 $(LINKFLAGS) @&&!

View File

@@ -16,6 +16,7 @@ include $(WXDIR)/src/makeg95.env
OBJECTS = $(OBJDIR)/dialoged.$(OBJSUFF) $(OBJDIR)/editrpal.$(OBJSUFF) $(OBJDIR)/reseditr.$(OBJSUFF)\ OBJECTS = $(OBJDIR)/dialoged.$(OBJSUFF) $(OBJDIR)/editrpal.$(OBJSUFF) $(OBJDIR)/reseditr.$(OBJSUFF)\
$(OBJDIR)/dlghndlr.$(OBJSUFF) $(OBJDIR)/reswrite.$(OBJSUFF) $(OBJDIR)/winprop.$(OBJSUFF)\ $(OBJDIR)/dlghndlr.$(OBJSUFF) $(OBJDIR)/reswrite.$(OBJSUFF) $(OBJDIR)/winprop.$(OBJSUFF)\
$(OBJDIR)/edlist.$(OBJSUFF) $(OBJDIR)/edtree.$(OBJSUFF)\
$(OBJDIR)/dialoged_resources.$(OBJSUFF) $(OBJDIR)/dialoged_resources.$(OBJSUFF)
EXTRAINC = -I../../wxprop/src EXTRAINC = -I../../wxprop/src
@@ -54,6 +55,12 @@ $(OBJDIR)/reseditr.$(OBJSUFF): winprop.h reseditr.h editrpal.h reseditr.$(SRCSUF
$(OBJDIR)/dlghndlr.$(OBJSUFF): winprop.h reseditr.h editrpal.h dlghndlr.$(SRCSUFF) $(OBJDIR)/dlghndlr.$(OBJSUFF): winprop.h reseditr.h editrpal.h dlghndlr.$(SRCSUFF)
$(CC) -c $(CPPFLAGS) -o $@ dlghndlr.$(SRCSUFF) $(CC) -c $(CPPFLAGS) -o $@ dlghndlr.$(SRCSUFF)
$(OBJDIR)/edlist.$(OBJSUFF): winprop.h edlist.h edlist.$(SRCSUFF)
$(CC) -c $(CPPFLAGS) -o $@ edlist.$(SRCSUFF)
$(OBJDIR)/edtree.$(OBJSUFF): winprop.h edtree.h edtree.$(SRCSUFF)
$(CC) -c $(CPPFLAGS) -o $@ edtree.$(SRCSUFF)
$(OBJDIR)/dialoged_resources.o: dialoged.rc $(OBJDIR)/dialoged_resources.o: dialoged.rc
$(RESCOMP) -i dialoged.rc -o $(OBJDIR)/dialoged_resources.o $(RESFLAGS) $(RESCOMP) -i dialoged.rc -o $(OBJDIR)/dialoged_resources.o $(RESFLAGS)

View File

@@ -1,5 +1,5 @@
[OPTIONS] [OPTIONS]
BMROOT=d:\wx2\utils\wxprop\docs ; Assume that bitmaps are where the source is BMROOT=d:\wx2\wxwind~1\utils\wxprop\docs ; Assume that bitmaps are where the source is
TITLE=Property Classes Manual TITLE=Property Classes Manual
CONTENTS=Contents CONTENTS=Contents
COMPRESS=HIGH COMPRESS=HIGH