]> git.saurik.com Git - wxWidgets.git/blob - docs/msw/changes.txt
More progress on wxMotif, incl. wxTreeCtrl/wxListCtrl beginning to work
[wxWidgets.git] / docs / msw / changes.txt
1
2 wxWindows 2.0 for Windows Change Log
3 ------------------------------------
4
5 Alpha 17, November 22nd 1998
6 ----------------------------
7
8 - More documentation updates, especially for
9 wxLayoutWindow classes and debugging facilities.
10 - Changed wxDebugContext to use wxDebugLog instead
11 of wxTrace.
12 - Now supports VC++ 6.0, and hopefully BC++ 5.0.
13 However, DLL support may be broken for BC++ since
14 VC++ 6 required changing of WXDLLEXPORT keyword
15 position.
16 - Numerous miscellaneous changes.
17
18 Alpha 16, September 8th 1998
19 ----------------------------
20
21 - Added wxSashWindow, wxSashLayoutWindow classes, and sashtest
22 sample.
23 - Guilhem's socket classes added, plus wxsocket sample.
24 - A few more makefiles added.
25 - GnuWin32/BC++ compatibility mods.
26 - Further doc updates.
27 - wxProp updates for correct working with wxGTK.
28
29 Alpha 15, August 31st 1998
30 --------------------------
31
32 - wxBitmap debugged.
33 - wxDC::GetDepth added.
34 - Contribution added whereby wxBitmap will be
35 converted to DC depth if they don't match.
36 - wxConfig API improved, documentation updated.
37 - Printing classes name conventions cleaned up.
38 - wxUpdateUIEvent now derives from wxCommandEvent
39 so event can travel up the window hierachy.
40
41 Alpha 14, July 31st 1998
42 ------------------------
43
44 - Toolbar API has been simplified, and now
45 wxFrame::GetClientArea returns the available client
46 area when toolbar, status bar etc. have been accounted for.
47 wxFrame::CreateToolBar added in line with CreateStatusBar.
48 - Documentation updates, incl. for wxToolBar.
49 - New wxAcceleratorTable class plus wxFrame::SetAcceleratorTable.
50 - Various additions from other folk, e.g. streams, wxConfig
51 changes, wxNotebook.
52 - Added wxDocMDIParentFrame, wxDocMDIChildFrame for doc/view.
53
54 Alpha 13, July 8th 1998
55 -----------------------
56
57 - Implemented wxPoint as identical to POINT on Windows, and
58 altered wxDC wxPoint functions to use wxPoint directly in
59 Windows functions, for efficiency.
60 - Cured wxASSERT bug in wxStatusBar95.
61 - #ifdefed out some bits in oleutils.cpp for compilers that
62 don't support it.
63 - Added some operators to wxPoint, wxSize.
64 - Added inline wxDC functions using wxPoint, wxSize, wxRect.
65
66 Alpha 12, July 7th 1998
67 -----------------------
68
69 - Added wxApp::GetComCtl32Version, and wxTB_FLAT style, so can
70 have flat toolbars on Win98 or Win95 with IE >= 3 installed.
71
72 Alpha 11, July 3rd 1998
73 -----------------------
74
75 - Added thread.h, thread.cpp.
76 - Changed Enabled, Checked to IsEnabled, IsChecked in wxMenu,
77 wxMenuBar.
78 - Changed wxMenuItem::SetBackColor to SetBackgroundColour,
79 SetTextColor to SetTextColour, and added or made public several
80 wxMenuItem accessors.
81 - Added two overloads to wxRegion::Contains. Added
82 wxRegion::IsEmpty for a more consistent naming convention.
83 - Added Vadim's wxDataObject and wxDropSource.
84 - ENTER/LEAVE events now work.
85 - Cured wxMemoryDC bug where the DC wasn't being deleted.
86 - Cured wxGauge SetSize major bugginess.
87 - Cured problem where if a GDI object was created on the stack,
88 then went out of scope, then another object was selected into
89 the DC, GDI objects would leak. This is because the assignment
90 to e.g. wxDC::m_pen would delete the GDI object without it first
91 being selected out of the DC. Cured by selecting the old DC object
92 first, then doing the assignment.
93 - Split up wxGaugeMSW, wxGauge95, wxSliderMSW, wxSlider95
94 - Various other bug fixes and additions.
95
96 Alpha 10, May 7th 1998
97 ----------------------
98
99 - Added desiredWidth, desiredHeight parameters to wxBitmapHandler
100 and wxIcon functions so that you can specify what size of
101 icon should be loaded. Probably will remain a Windows-specific thing.
102 - wxStatusBar95 now works for MDI frames.
103 - Toolbars in MDI frames now behave normally. They still
104 require application-supplied positioning code though.
105 - Changed installation instructions, makefiles and batch files
106 for compiling with Gnu-Win32/Mingw32/EGCS. Also timercmn.cpp
107 change to support Mingw32/EGCS. Bison now used by default.
108
109 Alpha 9, April 27th 1998
110 ------------------------
111
112 - Cured bug in wxStatusBar95 that caused a crash if multiple
113 fields were used.
114 - Added Gnu-Win32 b19/Mingw32 support by changing resource
115 compilation and pragmas.
116 - Cured wxMenu bug introduced in alpha 8 - didn't respond to
117 commands because VZ changed the id setting in wxMenu::MSWCommand.
118
119 Alpha 8, April 17th 1998
120 ------------------------
121
122 - Added IsNull to wxGDIObject to check if the ref data is present or not.
123 - Added PNG handler and sample - doesn't work for 16-bit PNGs for
124 some reason :-(
125 - Added wxJoystick class and event handling, and simple demo.
126 - Added simple wxWave class. Needs Stop() function.
127 - Added wxModule (module.h/module.cpp) to allow definition
128 of modules to be initialized and cleaned up on wxWindows
129 startup/exit.
130 - Start of Mingw32 compatibility (see minimal and dialogs samples
131 makefile.m95 files, and install.txt).
132 - Note: Windows printing has stopped working... will investigate.
133 VADIM'S CHANGES:
134 - Updated wxString: bug fixes, added wxArrayString, some
135 compatibility functions.
136 - Updated log.h/cpp, added wxApp::CreateLogTarget.
137 - file.h: new wxTempFile class.
138 - defs.h: added wxSB_SIZE_GRIP for wxStatusBar95
139 - statbr95: wxStatusBar95 control.
140 - registry.h/cpp: wxRegKey class for Win95 registry.
141 - listbox.cpp: corrected some bugs with owner-drawn listboxes.
142 - wxConfig and wxFileConfig classes.
143
144 Alpha 7, March 30th 1998
145 ------------------------
146
147 - Added tab classes, tab sample.
148 - Now can return FALSE from OnInit and windows will be
149 cleaned up properly before exit.
150 - Improved border handling so panels don't get borders
151 automatically.
152 - Debugged MDI activation from Window menu.
153 - Changes to memory debug handling, including checking for
154 memory leaks on application exit - but see issues.txt for
155 unresolved issues.
156 - Added wxTaskBarIcon (taskbar.cpp/h, plus samples/taskbar)
157 to allow maintenance of an icon in the Windows 95 taskbar
158 tray area.
159 - Got MFC sample working (MFC and wxWindows in the same
160 application), partly by tweaking ntwxwin.mak settings.
161 - Got DLL compilation working again (VC++).
162 - Changed wxProp/Dialog Editor filenames.
163
164 Alpha 6, March 10th 1998
165 ------------------------
166
167 - Found stack error bug - stopped unwanted OnIdle recursion.
168 - Removed bug in wxTreeCtrl::InsertItem I added in alpha 5.
169 - Changed exit behaviour in wxApp/wxFrame/wxDialog. Now will
170 check if the number of top-level windows is zero before
171 exiting. Also, wxApp::GetTopWindow will return either
172 m_topWindow or the first member of wxTopLevelWindows, so you
173 don't have to call wxApp::SetTopWindow.
174 - Added dynarray.h/dynarray.cpp (from Vadim).
175 - Added first cut at OLE drag and drop (from Vadim). dnd sample
176 added. Drop target only at this stage. See src/msw/ole/*.cpp,
177 wx/include/msw/ole/*.h. WIN32 only because of UUID usage.
178 Doesn't work with GnuWin32 - no appropriate headers e.g. for
179 IUnknown.
180 Doesn't work with BC++ either - crashes on program startup.
181 - Added Vadim's owner-draw modifications - will probably remain
182 Windows-only. This enhances wxMenu, wxListBox. See ownerdrw sample.
183 - Added wxLB_OWNERDRAW for owner-draw listboxes.
184 - Vadim's wxCheckListBox derives from wxListBox. See checklst sample.
185 Doesn't entirely work for WIN16.
186 - Vadim has added wxMenuItem as a separate file menuitem.cpp. It
187 can also be used as an argument to wxMenu::Append, not just for
188 internal implementation.
189 - Some #ifdefs done for MINGW32 compilation (just alter OPTIONS
190 in makeg95.env, together with mingw32.bat). However, resource
191 binding is not working yet so most apps with dialogs crash.
192
193 Alpha 5, 14th February 1998
194 ---------------------------
195
196 - GENERIC AND MSW-SPECIFIC CODE NOW TREATED AS TWO SEPARATE
197 DISTRIBUTIONS. This change log will therefore now refer to
198 the Windows-specific code only. See docs/changes.txt for generic
199 changes.
200 - Removed Windows-specific reference counting system (GDI
201 resources were cleaned up in idle time) - minimal
202 advantages now we have a wxWin reference counting system.
203 - Added missing WXDLLEXPORT keywords so DLL compilation works
204 again.
205 - Removed most warnings for GnuWin32 compilation.
206 - Added wxRegion/wxRegionIterator, but haven't yet used it in
207 e.g. wxDC.
208
209 Alpha 4, 31st January 1998
210 --------------------------
211
212 - Changed wxDC functions to take longs instead of floats. GetSize now takes
213 integer pointers, plus a version that returns a wxSize.
214 - const keyword added to various wxDC functions.
215 - Under Windows, wxDC no longer has any knowledge of whether
216 an associated window is scrolled or not. Instead, the device
217 origin is set by wxScrolledWindow in wxScrolledWindow::PrepareDC.
218 - wxScrolledWindow applications can optionally override the virtual OnDraw
219 function instead of using the OnPaint event handler. The wxDC passed to
220 OnDraw will be translated by PrepareDC to reflect scrolling.
221 When drawing outside of OnDraw, must call PrepareDC explicitly.
222 - wxToolBarBase/wxToolBarSimple similarly changed to allow for
223 scrolling toolbars.
224 - Integrated wxPostScriptDC patches for 1.xx by Chris Breeze,
225 to help printing with multiple pages.
226 - IPC classes given base classes (wxConnectionBase etc.) which
227 define the API used by different implementations. DDE
228 implementation updated to use these base classes.
229 - wxHelpInstance now separated into wxHelpControllerBase (base
230 for all implementations), wxWinHelpController (uses standard
231 WinHelp), wxXLPHelPController (talks to wxHelp by DDE or
232 TCP/IP). There will be others eventually, such as
233 wxHTMLHelpController for Microsoft (and Netscape?) HTML Help.
234 - Added Vadim Zeitlin's wxString class plus
235 internationalization code (gettext simulation, wxLocale, etc.).
236 New files from Vadim:
237 include\wx\string.h
238 include\wx\debug.h
239 include\wx\file.h
240 include\wx\log.h
241 include\wx\intl.h
242 src\common\string.cpp
243 src\common\log.cpp
244 src\common\intl.cpp
245 src\common\file.cpp
246 No longer use GNU wxString files.
247 - Split off file-related functions into include\wx\filefn.h and
248 src\common\filefn.cpp.
249 - Borland C++ support (WIN32) for main library and
250 samples, using makefile.b32 files.
251 - Preparation done for allowing BC++ to compile wxWin as a DLL,
252 including changes to defs.h.
253 - wxIntPoint removed, wxPoint is now int, and wxRealPoint
254 introduced.
255 - Added wxShowEvent (generated when window is being shown or
256 hidden).
257 - Got minimal, docview, mdi samples working for 16-bit VC++ and
258 cured 16-bit problem with wxTextCtrl (removed global memory
259 trick).
260 - Updated GnuWin32 makefiles, checked minimal, mdi, docview samples.
261
262 Alpha 3, September 1997
263 -----------------------
264
265 - wxListCtrl, wxTreeCtrl, wxImageList classes done.
266 - Instigated new file hierarchy, split files and classes up more logically.
267 - PrologIO and some other utils now put into core library.
268 - Revamped print/preview classes, added wxPageSetupDialog.
269 - Started documentation.
270
271 Alpha 2, 30th April 1997
272 ------------------------
273
274 - EVT_... macros now have at least one argument, for conformance
275 with MetroWerks compiler.
276 - Added ids to .wxr file format.
277 - Got Dialog Editor compiled and running again but need
278 to extend functionality to be in line with new controls.
279 Added dialoged\test app to allow dynamic loading of .wxr files
280 for testing purposes.
281 - Rewrote wxBitmap to allow installable file type
282 handlers.
283 - Rewrote wxBitmapButton, wxStaticBitmap to not use Fafa.
284 - Wrote most of wxTreeCtrl and sample (need wxImageList to implement it
285 fully).
286 - Added back wxRadioBox.
287 - Tidied up wx_main.cpp, wxApp class, putting PenWin code in
288 a separate file.
289
290 Alpha 1, 5th April 1997
291 -----------------------
292
293 At this point, the following has been achieved:
294
295 - A lot, but not all, of the code has been revamped for better
296 naming conventions, protection of data members, and use of
297 wxString instead of char *.
298 - Obsolete functionality deleted (e.g. default wxPanel layout,
299 old system event system) and code size reduced.
300 - Class hierarchy changed (see design doc) - base classes such
301 as wxbWindow now removed.
302 - No longer includes windows.h in wxWin headers, by using stand-in
303 Windows types where needed e.g. WXHWND.
304 - PrologIO revised.
305 - wxScrolledWindow, wxStatusBar and new MDI classes added.
306 MDI is now achived using separate classes, not window styles.
307 - wxSystemSettings added, and made use of to reflect standard
308 Windows settings.
309 - SetButtonFont/SetLabelFont replaced by SetFont; font and colour
310 settings mucho rationalised.
311 - All windows are now subclassed with the same window proc to make
312 event handling far more consistent. Old internal wxWnd and derived
313 classes removed.
314 - API for controls revised, in particular addition of
315 wxValidator parameters and removal of labels for some controls.
316 - 1 validator written: see examples/validate.
317 - Event table system introduced (see most samples and
318 wx_event.cpp/ProcessEvent, wx_event.h). wxEvtHandler
319 made more flexible, with Push/PopEventHandler allowing a chain
320 of event handlers.
321 - wxRadioBox removed - will be added back soon.
322 - Toolbar class hierarchy revised:
323 wxToolBarBase
324 wxToolBarSimple (= old wxToolBar)
325 wxToolBar95 (= old wxButtonBar under Win95
326 wxToolBarMSW (= old wxButtonBar under WIN16/WIN32)
327 - Constraint system debugged somewhat (sizers now work properly).
328 - wxFileDialog, wxDirDialog added; other common dialogs now
329 have class equivalents. Generic colour and font dialogs
330 rewritten to not need obsolete panel layout.
331 - .wxr resource system partially reinstated, though needs
332 an integer ID for controls. Hopefully the resource system
333 will be replaced by something better and more efficient
334 in the future.
335 - Device contexts no longer stored with window and accessed
336 with GetDC - use wxClientDC, wxPaintDC, wxWindowDC stack
337 variables instead.
338 - wxSlider uses trackbar class under Win95, and wxSL_LABELS flag
339 determines whether labels are shown. Other Win95-specific flags
340 introduced, e.g. for showing ticks.
341 - Styles introduced for dealing with 3D effects per window, for
342 any window: all Win95 3D effects supported, plus transparent windows.
343 - Major change to allow 3D effect support without CTL3D, under
344 Win95.
345 - Bitmap versions of button and checkbox separated out into new
346 classes, but unimplemented as yet because I intend to remove
347 the need for Fafa - it apparently causes GPFs in Win95 OSR 2.
348 - utils/wxprop classes working (except maybe wxPropertyFormView)
349 in preparation for use in Dialog Editor.
350 - GNU-WIN32 compilation verified (a month or so ago).
351
352