]> git.saurik.com Git - wxWidgets.git/blame - docs/changes.txt
In DialogEd, changed Close to Destroy to make it shut down properly.
[wxWidgets.git] / docs / changes.txt
CommitLineData
c801d85f
KB
1Generic wxWindows 2.0 Change Log
2--------------------------------
3
4Note: for platform-specific changes, see wx/docs/XXX/changes.txt
5where XXX is one of msw, motif, xt, gtk, mac.
6
884360bc
JS
7Alpha 11, July 3rd 1998
8-----------------------
9
10- Major work on Dialog Editor (still plenty to go).
11- Expanded documentation a bit more.
12
c801d85f
KB
13Alpha 9, April 27th 1998
14------------------------
15
16- Corrected some bugs, such as the wxModule compilation problem.
17- Added Gnu-Win32 b19/Mingw32 support by changing resource
18 compilation and pragmas.
19- Changed SIZEOF to WXSIZEOF.
20
21Alpha 8, April 17th 1998
22------------------------
23
24- Added src/other/png, src/other/zlib directories.
25- Added samples/png.
26- IMPORTANT: Changed 'no id' number from 0 to -1, in wxEVT_ macros.
27 Porters, please check particularly your wxTreeCtrl and wxListCtrl
28 header files.
29- Added modules.h/cpp, config.cpp, fileconf.cpp, textfile.cpp/h.
30
31Alpha 7, March 30th 1998
32------------------------
33
34- Added tab classes, tab sample.
35- Revised memory.cpp, memory.h slightly; memory.h now #defines
36 new to WXDEBUG_NEW in DEBUG mode. Windows implementation app.cpp
37 now checks for leaks on exit. Added memcheck sample.
38 See src/msw/issues.txt for more details.
39- resource.h, resource.cpp changed to make wxDefaultResourceTable
40 a pointer. Now initialize resource system with
41 wxInitializeResourceSystem and wxCleanUpResourceSystem, to
42 allow better control of memory.
43- wxString now derives from wxObject, to enable memory leak
44 checking.
45- Added some #include fixes in various files, plus changed
46 float to long in wxToolBar files.
47
48Alpha 6, March 10th 1998
49------------------------
50
51- Added Vadim's dynarray.h, dynarray.cpp.
52- Added Vadim's menuitem.cpp.
53- Added Windows-specific wxCheckListBox,
54 owner-draw wxListBox, and drag-and-drop
55 (see docs/msw/changes.txt).
56
57Alpha 5, 14th February 1998
58--------------------------
59
60- GENERIC AND MSW-SPECIFIC CODE NOW TREATED AS TWO SEPARATE
61 DISTRIBUTIONS. This change log will therefore now refer to
62 the generic code only. See docs/msw/changes.txt for Windows-specific
63 changes.
64- Readmes, change logs and installation files now go in
65 platform-specific directories under docs, e.g. docs/msw,
66 docs/gtk.
67- Added DECLARE_APP and IMPLEMENT_APP macros so wxApp object gets
68 created dynamically, not as a global object.
69- Put wxColour into wx/msw/colour.h, src/msw/colour.cpp.
70- Changed names of some include/wx/generic headers to be
71 consistent and to conform to gcc pragma conventions. Also
72 changed choicesg.cpp to choicdgg.cpp.
73- Added gcc pragmas.
74- Added gtk inclusion in include/wx headers.
75- Added consistent file headings to source and headers.
76- Removed lang.cpp, lang.h and references to wxSTR_... variables;
77 added a few references to wxTransString.
78- Added operator to wxTransString that converts automatically
79 to wxString, so we can say e.g. wxMessageBox(wxTransString("Hello"), ...).
80- samples/internat now works (minimally).
81- Added wxMouseEvent::GetPosition and
82 wxMouseEvent::GetLogicalPosition, both returning wxPoints.
83- Made wxSize and wxRect contain longs not ints.
84- Cured some lemory leaks (thanks Vadim).
85- Tidied up OnIdle and introduced RequestMore/MoreRequested so
86 will only keep processing OnIdle if it returns TRUE from
87 MoreRequested.
88
89Alpha 4, 31st January 1998
90--------------------------
91
92- Changed wxDC functions to take longs instead of floats. GetSize now takes
93 integer pointers, plus a version that returns a wxSize.
94- const keyword added to various wxDC functions.
95- Under Windows, wxDC no longer has any knowledge of whether
96 an associated window is scrolled or not. Instead, the device
97 origin is set by wxScrolledWindow in wxScrolledWindow::PrepareDC.
98- wxScrolledWindow applications can optionally override the virtual OnDraw
99 function instead of using the OnPaint event handler. The wxDC passed to
100 OnDraw will be translated by PrepareDC to reflect scrolling.
101 When drawing outside of OnDraw, must call PrepareDC explicitly.
102- wxToolBarBase/wxToolBarSimple similarly changed to allow for
103 scrolling toolbars.
104- Integrated wxPostScriptDC patches for 1.xx by Chris Breeze,
105 to help printing with multiple pages.
106- IPC classes given base classes (wxConnectionBase etc.) which
107 define the API used by different implementations. DDE
108 implementation updated to use these base classes.
109- wxHelpInstance now separated into wxHelpControllerBase (base
110 for all implementations), wxWinHelpController (uses standard
111 WinHelp), wxXLPHelPController (talks to wxHelp by DDE or
112 TCP/IP). There will be others eventually, such as
113 wxHTMLHelpController for Microsoft (and Netscape?) HTML Help.
114- Added Vadim Zeitlin's wxString class plus
115 internationalization code (gettext simulation, wxLocale, etc.).
116 New files from Vadim:
117 include\wx\string.h
118 include\wx\debug.h
119 include\wx\file.h
120 include\wx\log.h
121 include\wx\intl.h
122 src\common\string.cpp
123 src\common\log.cpp
124 src\common\intl.cpp
125 src\common\file.cpp
126 No longer use GNU wxString files.
127- Split off file-related functions into include\wx\filefn.h and
128 src\common\filefn.cpp.
129- Borland C++ support (WIN32) for main library and
130 samples, using makefile.b32 files.
131- Preparation done for allowing BC++ to compile wxWin as a DLL,
132 including changes to defs.h.
133- wxIntPoint removed, wxPoint is now int, and wxRealPoint
134 introduced.
135- Added wxShowEvent (generated when window is being shown or
136 hidden).
137- Got minimal, docview, mdi samples working for 16-bit VC++ and
138 cured 16-bit problem with wxTextCtrl (removed global memory
139 trick).
140- Updated GnuWin32 makefiles, checked minimal, mdi, docview samples.
141
142Alpha 3, September 1997
143-----------------------
144
145- wxListCtrl, wxTreeCtrl, wxImageList classes done.
146- Instigated new file hierarchy, split files and classes up more logically.
147- PrologIO and some other utils now put into core library.
148- Revamped print/preview classes, added wxPageSetupDialog.
149- Started documentation.
150
151Alpha 2, 30th April 1997
152------------------------
153
154- EVT_... macros now have at least one argument, for conformance
155 with MetroWerks compiler.
156- Added ids to .wxr file format.
157- Got Dialog Editor compiled and running again but need
158 to extend functionality to be in line with new controls.
159 Added dialoged\test app to allow dynamic loading of .wxr files
160 for testing purposes.
161- Rewrote wxBitmap to allow installable file type
162 handlers.
163- Rewrote wxBitmapButton, wxStaticBitmap to not use Fafa.
164- Wrote most of wxTreeCtrl and sample (need wxImageList to implement it
165 fully).
166- Added back wxRadioBox.
167- Tidied up wx_main.cpp, wxApp class, putting PenWin code in
168 a separate file.
169
170Alpha 1, 5th April 1997
171-----------------------
172
173At this point, the following has been achieved:
174
175- A lot, but not all, of the code has been revamped for better
176 naming conventions, protection of data members, and use of
177 wxString instead of char *.
178- Obsolete functionality deleted (e.g. default wxPanel layout,
179 old system event system) and code size reduced.
180- Class hierarchy changed (see design doc) - base classes such
181 as wxbWindow now removed.
182- No longer includes windows.h in wxWin headers, by using stand-in
183 Windows types where needed e.g. WXHWND.
184- PrologIO revised.
185- wxScrolledWindow, wxStatusBar and new MDI classes added.
186 MDI is now achived using separate classes, not window styles.
187- wxSystemSettings added, and made use of to reflect standard
188 Windows settings.
189- SetButtonFont/SetLabelFont replaced by SetFont; font and colour
190 settings mucho rationalised.
191- All windows are now subclassed with the same window proc to make
192 event handling far more consistent. Old internal wxWnd and derived
193 classes removed.
194- API for controls revised, in particular addition of
195 wxValidator parameters and removal of labels for some controls.
196- 1 validator written: see examples/validate.
197- Event table system introduced (see most samples and
198 wx_event.cpp/ProcessEvent, wx_event.h). wxEvtHandler
199 made more flexible, with Push/PopEventHandler allowing a chain
200 of event handlers.
201- wxRadioBox removed - will be added back soon.
202- Toolbar class hierarchy revised:
203 wxToolBarBase
204 wxToolBarSimple (= old wxToolBar)
205 wxToolBar95 (= old wxButtonBar under Win95
206 wxToolBarMSW (= old wxButtonBar under WIN16/WIN32)
207- Constraint system debugged somewhat (sizers now work properly).
208- wxFileDialog, wxDirDialog added; other common dialogs now
209 have class equivalents. Generic colour and font dialogs
210 rewritten to not need obsolete panel layout.
211- .wxr resource system partially reinstated, though needs
212 an integer ID for controls. Hopefully the resource system
213 will be replaced by something better and more efficient
214 in the future.
215- Device contexts no longer stored with window and accessed
216 with GetDC - use wxClientDC, wxPaintDC, wxWindowDC stack
217 variables instead.
218- wxSlider uses trackbar class under Win95, and wxSL_LABELS flag
219 determines whether labels are shown. Other Win95-specific flags
220 introduced, e.g. for showing ticks.
221- Styles introduced for dealing with 3D effects per window, for
222 any window: all Win95 3D effects supported, plus transparent windows.
223- Major change to allow 3D effect support without CTL3D, under
224 Win95.
225- Bitmap versions of button and checkbox separated out into new
226 classes, but unimplemented as yet because I intend to remove
227 the need for Fafa - it apparently causes GPFs in Win95 OSR 2.
228- utils/wxprop classes working (except maybe wxPropertyFormView)
229 in preparation for use in Dialog Editor.
230- GNU-WIN32 compilation verified (a month or so ago).
231
232