]> git.saurik.com Git - wxWidgets.git/blob - docs/changes.txt
don't define __cplusplus for DECCXX if it is already defined
[wxWidgets.git] / docs / changes.txt
1 wxWindows 2 Change Log
2 ----------------------
3
4 2.1.14
5 ------
6
7 wxBase:
8
9 - wxDateTime replaces and extends old wxDate and wxTime classes (still
10 available but strongly deprecated) with many new features
11 - wxLongLong class provides support for (signed) 64 bit integers
12 - wxCmdLineParser class for parsing the command line (supporting short and
13 long options, switches and parameters of different types)
14 - it is now possible to build wxBase under Win32 (using VC++ only so far)
15 and BeOS (without thread support yet)
16 - wxThread class modified to support both detached and joinable threads, also
17 added new GetCPUCount() and SetConcurrency() functions (useful under Solaris
18 only so far)
19 - wxDir class for enumerating files in a directory
20 - wxLog functions are now (more) MT-safe
21 - wxStopWatch class, timer functions have more chances to return correct
22 results for your platform (use ANSI functions where available)
23 - wxString::ToLong, ToULong, ToDouble methods and Format() static one added
24 - buffer overflows in wxString and wxLog classes fixed (if snprintf() function
25 is available)
26 - wxArray::RemoveAt() replaces deprecated wxArray::Remove(index)
27
28 all (GUI):
29
30 - Added wxImage::Rotate.
31 - new wxCalendarCtrl class for picking a date interactively
32 - wxMenu(Bar)::Insert() and Remove() functions for dynamic menu menagament
33 - wxToolBar supports arbitrary controls (not only buttons) and can be
34 dynamically changed (Delete/Insert functions)
35 - vertical toolbars supported by MSW and GTK native wxToolBar classes
36 - wxTreeCtrl and wxListCtrl allow setting colour/fonts for individual items
37 - "file open" dialog allows selecting multiple files at once (contributed by
38 John Norris)
39 - wxMimeTypesManager uses GNOME/KDE MIME database to get the icons for the
40 MIME types if available (Unix only)
41 - wxDC::DrawRotatedText() (based on contribution by Hans-Joachim Baader)
42 - TIFF support added (libtiff required and included in the distribution)
43 - PCX files can now be written (24 bit only so far)
44 - validators may work recursively if wxWS_EX_VALIDATE_RECURSIVELY is set
45 - wxScrolledWindow now has keyboard interface
46 - wxTextEntryDialog may be used for entering passwords (supports wxTE_PASSWORD)
47 - added wxEncodingConverter and improved wxFontMapper
48 for dealing with convertions between different encodings,
49 charsets support in wxLocale and wxHTML
50
51 wxMSW:
52
53 - wxFrame::MakeFullScreen added.
54 - support for enhanced metafiles added, support for copying/pasting metafiles
55 (WMF and enhanced ones) fixed/added.
56 - implemented setting colours for push buttons
57 - wxTreeCtrl::IsVisible() bug fixed (thanks to Gary Chessun)
58 - loading/saving big (> 32K) files in wxTextCtrl works
59 - tooltips work with wxRadioBox
60 - wxBitmap/wxIcon may be constructed from XPM included into a program, as in
61 Unix ports
62 - returning FALSE from OnPrintPage() aborts printing
63
64 wxGTK:
65
66 - wxFontMapper endless recursion bug (on some systems) fixed
67 - wxGTK synthesizes wxActivateEvents
68 - UpdateUI handlers may be used with wxTextCtrl
69
70 wxMotif:
71
72 - wxMenu::Enable works
73
74 wxHTML:
75
76 - almost complete rewrite of wxHtmlHelpController,
77 including faster search, bookmarks, printing, setup dialog
78 and cross-platform binary compatible .cached files for faster
79 loading of large helpbooks, case insensitive search
80 splitted into 3 parts: wxHtmlHelpData, Frame and Controller
81 - added support for charsets and <meta> tag
82 - added support for font faces and justified paragraphs,
83 taken some steps to prepare wxHTML for frames
84 - added dynamic pushing/poping of wxHtmlParser tag handlers
85 - improved HTML printing
86 - added extensive table of HTML characters substitutions (&nbsp; etc.)
87 - fixed wxHtmlWindow flickering, several minor bugfixes
88 - added some tags: <address>, <code>, <kbd>, <samp>, <small>, <big>,
89 fixed handling of relative and absolute font sizes in <font size>
90
91
92 NOTE: for changes after wxWindows 2.1.0 b4, please see the CVS
93 change log.
94
95 2.1.0, b4, May 9th 1999
96 -----------------------
97
98 wxGTK:
99
100 - JPEG support added.
101 - Many fixes and changes not thought worth mentioning in this file :-)
102
103 wxMSW:
104
105 - wxNotebook changes: can add image only; wxNB_FIXEDWIDTH added;
106 SetTabSize added.
107 - JPEG support added.
108 - Fixes for Cygwin compilation.
109 - Added wxGA_SMOOTH and wxFRAME_FLOAT_ON_PARENT styles.
110 - Many fixes people didn't tell this file about.
111
112 wxMotif:
113
114
115 General:
116
117 - Some changes for Unicode support, including wxchar.h/cpp.
118
119
120 2.0.1 (release), March 1st 1999
121 -------------------------------
122
123 wxGTK:
124
125 - wxGLCanvas fixes.
126 - Slider/spinbutton fixes.
127
128 wxMSW:
129
130 - Fixed problems with <return> in dialogs/panels.
131 - Fixed window cursor setting.
132 - Fixed toolbar sizing and edge-clipping problems.
133 - Some makefile fixes.
134
135 wxMotif:
136
137 - None.
138
139 General:
140
141 - Added wxUSE_SOCKETS.
142 - More topic overviews.
143 - Put wxPrintPaperType, wxPrintPaperDatabase into
144 prntbase.h/cpp for use in non-PostScript situations
145 (e.g. Win16 wxPageSetupDialog).
146
147
148 Beta 5, February 18th 1999
149 --------------------------
150
151 wxGTK:
152
153 - wxExecute improved.
154
155 wxMSW:
156
157 - Fixed wxWindow::IsShown (::IsWindowVisible doesn't behave as
158 expected).
159 - Changed VC++ makefiles (.vc) so that it's possible to have
160 debug/release/DLL versions of the library available simultaneously,
161 with names wx.lib, wx_d.lib, wx200.lib(dll), wx200_d.lib(dll).
162 - Added BC++ 5 IDE files and instructions.
163 - Fixed wxChoice, wxComboBox constructor bugs (m_noStrings initialisation).
164 - Fixed focus-related crash.
165
166 wxMotif:
167
168 - Cured asynchronous wxExecute crash.
169 - Added repaint event handlers to wxFrame, wxMDIChildFrame.
170
171 General:
172
173 - wxLocale documented.
174 - Added include filenames to class reference.
175 - wxHelpController API changed: SetBrowser becomes SetViewer,
176 DisplaySection works for WinHelp, help sample compiles under Windows
177 (though doesn't display help yet).
178
179 Beta 4, February 12th 1999
180 --------------------------
181
182 wxGTK:
183
184 - Miscellaneous fixes.
185
186 wxMSW:
187
188 - Makefiles for more compilers and samples; Cygwin makefiles
189 rationalised.
190 - Added VC++ project file for compiling wxWindows as DLL.
191
192 wxMotif:
193
194 - Added OnEraseBackground invocation.
195 - Added wxRETAINED implementation for wxScrolledWindow.
196 - Cured scrolling display problem by adding XmUpdateDisplay.
197 - Tried to make lex-ing in the makefile more generic (command line
198 syntax should apply to both lex and flex).
199 - Changed file selector colours for consistency (except for buttons:
200 crashes for some reason).
201 - Fixed wxMotif version of wxImage::ConvertToBitmap (used new instead
202 of malloc, which causes memory problems).
203
204 General:
205
206 - Further doc improvements.
207 - wxGenericValidator added.
208 - Added wxImageModule to image.cpp, so adds/cleans up standard handlers
209 automatically.
210
211 Beta 3, January 31st 1999
212 -------------------------
213
214 wxGTK:
215
216 - wxClipboard/DnD API changes (still in progress).
217 - wxToolTip class added.
218 - Miscellaneous fixes.
219
220 wxMSW:
221
222 - wxRegConfig DeleteAll bug fixed.
223 - Makefiles for more compilers.
224 - TWIN32 support added.
225 - Renamed VC++ makefiles from .nt to .vc, and
226 factored out program/library settings.
227 - Fixed wxIniConfig bug.
228
229 wxMotif:
230
231 - A few more colour fixes.
232 - wxGLCanvas and OpenGL samples working.
233 - Some compiler warnings fixed.
234 - wxChoice crash fix.
235 - Dialog Editor starting to work on Motif.
236
237 General:
238
239 - wxBusyCursor class added.
240 - Added samples/dde.
241 - More doc improvements, incl. expanding docs/html/index.htm.
242
243 Beta 2, January 1999
244 --------------------
245
246 wxGTK:
247
248 wxMSW:
249
250 - 16-bit BC++ compilation/linking works albeit without the resource system.
251
252 wxMotif:
253
254 - Cured wxScreenDC origin problem so e.g. sash window sash is drawn at
255 the right place.
256 - Cured some widget table clashes.
257 - Added thread support (Robert).
258 - wxPoem sample now works.
259
260 General:
261
262 - Rearranged documentation a bit.
263 - Sash window uses area of first frame/dialog to paint over when drawing
264 the dragged sash, not just the sash window itself (it clipped to the right
265 or below).
266 - Made resource sample use the correct Cancel button id.
267 - Moved wxProp to main library (generic directory), created proplist
268 sample.
269 - Added bombs and fractal samples.
270
271 Beta 1, December 24th 1998
272 --------------------------
273
274 wxGTK:
275
276 - Various
277
278 wxMSW, wxMotif: not in sync with this release.
279
280
281 Alpha 18, December 29th 1998
282 ----------------------------
283
284 wxMSW:
285
286 - Win16 support working again (VC++ 1.5)
287 - Win16 now uses generic wxNotebook, wxListCtrl,
288 wxTreeCtrl -- more or less working now, although
289 a little work on wxNotebook is still needed.
290 Under 16-bit Windows, get assertion when you click
291 on a tab.
292 - Wrote 16-bit BC++ makefiles: samples don't yet link.
293 - Added CodeWarrior support to distribution courtesy
294 of Stefan Csomor.
295
296 wxMotif:
297
298 - Cured scrolling problem: scrollbars now show/hide themselves
299 without (permanently) resizing the window.
300 - Removed some commented-out lines in wxScrolledWindow::AdjustScrollbars
301 that disabled scrollbar paging.
302 - Set background colour of drawing area in wxWindow, so e.g. wxListCtrl
303 colours correctly.
304 - Removed major bug whereby dialogs were unmanaged automatically
305 when any button was pressed.
306 - Fixed colours of wxWindow scrollbars, made list and text controls
307 have a white background.
308 - Fixed dialog colour setting.
309 - Added settable fonts and colours for wxMenu/wxMenuBar. Now
310 they have sensible colours by default.
311 - Fixed a bug in wxStaticBox.
312 - Cured wxTreeCtrl bug: now works pretty well!
313 - Debugged DrawEllipticArc (a ! in the wrong place).
314 - Added SetClippingRegion( const wxRegion& region ).
315 - Added wxPoint, wxSize, wxRect versions of SetSize etc.
316
317 Alpha 17, November 22nd 1998
318 ----------------------------
319
320 wxMSW:
321
322 - More documentation updates, especially for
323 wxLayoutWindow classes and debugging facilities.
324 - Changed wxDebugContext to use wxDebugLog instead
325 of wxTrace.
326 - Now supports VC++ 6.0, and hopefully BC++ 5.0.
327 However, DLL support may be broken for BC++ since
328 VC++ 6 required changing of WXDLLEXPORT keyword
329 position.
330 - Numerous miscellaneous changes.
331
332 wxMotif:
333
334 - Reimplemented MDI using wxNotebook instead of the MDI widgets, which
335 were too buggy (probably not design for dynamic addition/removal of
336 child frames).
337 - Some improvements to the wxNotebook implementation.
338 - wxToolBar now uses a bulletin board instead of a form, in an attempt
339 to make it possible to add ordinary wxControls to a toolbar.
340 - Cured problem with not being able to use global memory operators,
341 by defining two more global operators, so that the delete will match
342 the debugging implementation.
343 - Added wxUSE_DEBUG_NEW_ALWAYS so we can distinguish between using
344 global memory operators (usually OK) and #defining new to be
345 WXDEBUG_NEW (sometimes it might not be OK).
346 - Added time.cpp to makefile; set wxUSE_DATETIME to 1.
347 - Added a parent-existance check to popup menu code to make it not crash.
348 - Added some optimization in wxWindow::SetSize to produce less flicker.
349 It remains to be seen whether this produces any resize bugs.
350
351 It's a long time since I updated this file. Previously done:
352
353 - wxFrame, wxDialog done.
354 - wxScrolledWindow done (but backing pixmap not used at present).
355 - wxBitmap done though could be tidied it up at some point.
356 - Most basic controls are there, if not rigorously tested.
357 - Some MDI support (menus appear on child frames at present).
358 - wxNotebook almost done.
359 - wxToolBar done (horizontal only, which would be easy to extend
360 to vertical toolbars).
361
362 More recently:
363
364 - Colour and font changing done (question mark over what happens
365 to scrollbars).
366 - Accelerators done (for menu items and buttons). Also event loop
367 tidied up in wxApp so that events are filtered through ProcessXEvent.
368 - wxWindow::GetUpdateRegion should now work.
369
370 Alpha 16, September 8th 1998
371 ----------------------------
372
373 wxMSW:
374
375 - Added wxSashWindow, wxSashLayoutWindow classes, and sashtest
376 sample.
377 - Guilhem's socket classes added, plus wxsocket sample.
378 - A few more makefiles added.
379 - GnuWin32/BC++ compatibility mods.
380 - Further doc updates.
381 - wxProp updates for correct working with wxGTK.
382
383 wxMotif:
384
385 - First start at Motif port.
386 - Made makefiles for wxMotif source directory and minimal sample.
387 - First go at wxApp, wxWindow, wxDialog, wxPen, wxBrush, wxFont,
388 wxColour, wxButton, wxCheckBox, wxTextCtrl, wxStaticText,
389 wxMenu, wxMenuItem, wxMenuBar
390
391 Alpha 15, August 31st 1998
392 --------------------------
393
394 wxMSW:
395
396 - wxBitmap debugged.
397 - wxDC::GetDepth added.
398 - Contribution added whereby wxBitmap will be
399 converted to DC depth if they don't match.
400 - wxConfig API improved, documentation updated.
401 - Printing classes name conventions cleaned up.
402 - wxUpdateUIEvent now derives from wxCommandEvent
403 so event can travel up the window hierachy.
404
405 Alpha 14, July 31st 1998
406 ------------------------
407
408 wxMSW:
409
410 - Toolbar API has been simplified, and now
411 wxFrame::GetClientArea returns the available client
412 area when toolbar, status bar etc. have been accounted for.
413 wxFrame::CreateToolBar added in line with CreateStatusBar.
414 - Documentation updates, incl. for wxToolBar.
415 - New wxAcceleratorTable class plus wxFrame::SetAcceleratorTable.
416 - Various additions from other folk, e.g. streams, wxConfig
417 changes, wxNotebook.
418 - Added wxDocMDIParentFrame, wxDocMDIChildFrame for doc/view.
419
420 Alpha 13, July 8th 1998
421 -----------------------
422
423 wxMSW:
424
425 - Implemented wxPoint as identical to POINT on Windows, and
426 altered wxDC wxPoint functions to use wxPoint directly in
427 Windows functions, for efficiency.
428 - Cured wxASSERT bug in wxStatusBar95.
429 - #ifdefed out some bits in oleutils.cpp for compilers that
430 don't support it.
431 - Added some operators to wxPoint, wxSize.
432 - Added inline wxDC functions using wxPoint, wxSize, wxRect.
433
434 Alpha 12, July 7th 1998
435 -----------------------
436
437 wxMSW:
438
439 - Added wxApp::GetComCtl32Version, and wxTB_FLAT style, so can
440 have flat toolbars on Win98 or Win95 with IE >= 3 installed.
441
442 Alpha 11, July 3rd 1998
443 -----------------------
444
445 wxMSW:
446
447 - Added thread.h, thread.cpp.
448 - Changed Enabled, Checked to IsEnabled, IsChecked in wxMenu,
449 wxMenuBar.
450 - Changed wxMenuItem::SetBackColor to SetBackgroundColour,
451 SetTextColor to SetTextColour, and added or made public several
452 wxMenuItem accessors.
453 - Added two overloads to wxRegion::Contains. Added
454 wxRegion::IsEmpty for a more consistent naming convention.
455 - Added Vadim's wxDataObject and wxDropSource.
456 - ENTER/LEAVE events now work.
457 - Cured wxMemoryDC bug where the DC wasn't being deleted.
458 - Cured wxGauge SetSize major bugginess.
459 - Cured problem where if a GDI object was created on the stack,
460 then went out of scope, then another object was selected into
461 the DC, GDI objects would leak. This is because the assignment
462 to e.g. wxDC::m_pen would delete the GDI object without it first
463 being selected out of the DC. Cured by selecting the old DC object
464 first, then doing the assignment.
465 - Split up wxGaugeMSW, wxGauge95, wxSliderMSW, wxSlider95
466 - Various other bug fixes and additions.
467
468 Generic:
469
470 - Major work on Dialog Editor (still plenty to go).
471 - Expanded documentation a bit more.
472
473 Alpha 10, May 7th 1998
474 ----------------------
475
476 wxMSW:
477
478 - Added desiredWidth, desiredHeight parameters to wxBitmapHandler
479 and wxIcon functions so that you can specify what size of
480 icon should be loaded. Probably will remain a Windows-specific thing.
481 - wxStatusBar95 now works for MDI frames.
482 - Toolbars in MDI frames now behave normally. They still
483 require application-supplied positioning code though.
484 - Changed installation instructions, makefiles and batch files
485 for compiling with Gnu-Win32/Mingw32/EGCS. Also timercmn.cpp
486 change to support Mingw32/EGCS. Bison now used by default.
487
488 Alpha 9, April 27th 1998
489 ------------------------
490
491 wxMSW:
492
493 - Cured bug in wxStatusBar95 that caused a crash if multiple
494 fields were used.
495 - Added Gnu-Win32 b19/Mingw32 support by changing resource
496 compilation and pragmas.
497 - Cured wxMenu bug introduced in alpha 8 - didn't respond to
498 commands because VZ changed the id setting in wxMenu::MSWCommand.
499
500 Generic:
501
502 - Corrected some bugs, such as the wxModule compilation problem.
503 - Added Gnu-Win32 b19/Mingw32 support by changing resource
504 compilation and pragmas.
505 - Changed SIZEOF to WXSIZEOF.
506
507 Alpha 8, April 17th 1998
508 ------------------------
509
510 wxMSW:
511
512 - Added IsNull to wxGDIObject to check if the ref data is present or not.
513 - Added PNG handler and sample - doesn't work for 16-bit PNGs for
514 some reason :-(
515 - Added wxJoystick class and event handling, and simple demo.
516 - Added simple wxWave class. Needs Stop() function.
517 - Added wxModule (module.h/module.cpp) to allow definition
518 of modules to be initialized and cleaned up on wxWindows
519 startup/exit.
520 - Start of Mingw32 compatibility (see minimal and dialogs samples
521 makefile.m95 files, and install.txt).
522 - Note: Windows printing has stopped working... will investigate.
523 VADIM'S CHANGES:
524 - Updated wxString: bug fixes, added wxArrayString, some
525 compatibility functions.
526 - Updated log.h/cpp, added wxApp::CreateLogTarget.
527 - file.h: new wxTempFile class.
528 - defs.h: added wxSB_SIZE_GRIP for wxStatusBar95
529 - statbr95: wxStatusBar95 control.
530 - registry.h/cpp: wxRegKey class for Win95 registry.
531 - listbox.cpp: corrected some bugs with owner-drawn listboxes.
532 - wxConfig and wxFileConfig classes.
533
534 Generic:
535
536 - Added src/other/png, src/other/zlib directories.
537 - Added samples/png.
538 - IMPORTANT: Changed 'no id' number from 0 to -1, in wxEVT_ macros.
539 Porters, please check particularly your wxTreeCtrl and wxListCtrl
540 header files.
541 - Added modules.h/cpp, config.cpp, fileconf.cpp, textfile.cpp/h.
542
543 Alpha 7, March 30th 1998
544 ------------------------
545
546 wxMSW:
547
548 - Added tab classes, tab sample.
549 - Now can return FALSE from OnInit and windows will be
550 cleaned up properly before exit.
551 - Improved border handling so panels don't get borders
552 automatically.
553 - Debugged MDI activation from Window menu.
554 - Changes to memory debug handling, including checking for
555 memory leaks on application exit - but see issues.txt for
556 unresolved issues.
557 - Added wxTaskBarIcon (taskbar.cpp/h, plus samples/taskbar)
558 to allow maintenance of an icon in the Windows 95 taskbar
559 tray area.
560 - Got MFC sample working (MFC and wxWindows in the same
561 application), partly by tweaking ntwxwin.mak settings.
562 - Got DLL compilation working again (VC++).
563 - Changed wxProp/Dialog Editor filenames.
564
565 Generic:
566
567 - Added tab classes, tab sample.
568 - Revised memory.cpp, memory.h slightly; memory.h now #defines
569 new to WXDEBUG_NEW in DEBUG mode. Windows implementation app.cpp
570 now checks for leaks on exit. Added memcheck sample.
571 See src/msw/issues.txt for more details.
572 - resource.h, resource.cpp changed to make wxDefaultResourceTable
573 a pointer. Now initialize resource system with
574 wxInitializeResourceSystem and wxCleanUpResourceSystem, to
575 allow better control of memory.
576 - wxString now derives from wxObject, to enable memory leak
577 checking.
578 - Added some #include fixes in various files, plus changed
579 float to long in wxToolBar files.
580
581 Alpha 6, March 10th 1998
582 ------------------------
583
584 wxMSW:
585
586 - Found stack error bug - stopped unwanted OnIdle recursion.
587 - Removed bug in wxTreeCtrl::InsertItem I added in alpha 5.
588 - Changed exit behaviour in wxApp/wxFrame/wxDialog. Now will
589 check if the number of top-level windows is zero before
590 exiting. Also, wxApp::GetTopWindow will return either
591 m_topWindow or the first member of wxTopLevelWindows, so you
592 don't have to call wxApp::SetTopWindow.
593 - Added dynarray.h/dynarray.cpp (from Vadim).
594 - Added first cut at OLE drag and drop (from Vadim). dnd sample
595 added. Drop target only at this stage. See src/msw/ole/*.cpp,
596 wx/include/msw/ole/*.h. WIN32 only because of UUID usage.
597 Doesn't work with GnuWin32 - no appropriate headers e.g. for
598 IUnknown.
599 Doesn't work with BC++ either - crashes on program startup.
600 - Added Vadim's owner-draw modifications - will probably remain
601 Windows-only. This enhances wxMenu, wxListBox. See ownerdrw sample.
602 - Added wxLB_OWNERDRAW for owner-draw listboxes.
603 - Vadim's wxCheckListBox derives from wxListBox. See checklst sample.
604 Doesn't entirely work for WIN16.
605 - Vadim has added wxMenuItem as a separate file menuitem.cpp. It
606 can also be used as an argument to wxMenu::Append, not just for
607 internal implementation.
608 - Some #ifdefs done for MINGW32 compilation (just alter OPTIONS
609 in makeg95.env, together with mingw32.bat). However, resource
610 binding is not working yet so most apps with dialogs crash.
611
612 Generic:
613
614 - Added Vadim's dynarray.h, dynarray.cpp.
615 - Added Vadim's menuitem.cpp.
616 - Added Windows-specific wxCheckListBox,
617 owner-draw wxListBox, and drag-and-drop
618 (see docs/msw/changes.txt).
619
620 Alpha 5, 14th February 1998
621 --------------------------
622
623 wxMSW:
624
625 - GENERIC AND MSW-SPECIFIC CODE NOW TREATED AS TWO SEPARATE
626 DISTRIBUTIONS. This change log will therefore now refer to
627 the Windows-specific code only. See docs/changes.txt for generic
628 changes.
629 - Removed Windows-specific reference counting system (GDI
630 resources were cleaned up in idle time) - minimal
631 advantages now we have a wxWin reference counting system.
632 - Added missing WXDLLEXPORT keywords so DLL compilation works
633 again.
634 - Removed most warnings for GnuWin32 compilation.
635 - Added wxRegion/wxRegionIterator, but haven't yet used it in
636 e.g. wxDC.
637
638 Generic:
639
640 - GENERIC AND MSW-SPECIFIC CODE NOW TREATED AS TWO SEPARATE
641 DISTRIBUTIONS. This change log will therefore now refer to
642 the generic code only. See docs/msw/changes.txt for Windows-specific
643 changes.
644 - Readmes, change logs and installation files now go in
645 platform-specific directories under docs, e.g. docs/msw,
646 docs/gtk.
647 - Added DECLARE_APP and IMPLEMENT_APP macros so wxApp object gets
648 created dynamically, not as a global object.
649 - Put wxColour into wx/msw/colour.h, src/msw/colour.cpp.
650 - Changed names of some include/wx/generic headers to be
651 consistent and to conform to gcc pragma conventions. Also
652 changed choicesg.cpp to choicdgg.cpp.
653 - Added gcc pragmas.
654 - Added gtk inclusion in include/wx headers.
655 - Added consistent file headings to source and headers.
656 - Removed lang.cpp, lang.h and references to wxSTR_... variables;
657 added a few references to wxTransString.
658 - Added operator to wxTransString that converts automatically
659 to wxString, so we can say e.g. wxMessageBox(wxTransString("Hello"), ...).
660 - samples/internat now works (minimally).
661 - Added wxMouseEvent::GetPosition and
662 wxMouseEvent::GetLogicalPosition, both returning wxPoints.
663 - Made wxSize and wxRect contain longs not ints.
664 - Cured some lemory leaks (thanks Vadim).
665 - Tidied up OnIdle and introduced RequestMore/MoreRequested so
666 will only keep processing OnIdle if it returns TRUE from
667 MoreRequested.
668
669 Alpha 4, 31st January 1998
670 --------------------------
671
672 All:
673
674 - Changed wxDC functions to take longs instead of floats. GetSize now takes
675 integer pointers, plus a version that returns a wxSize.
676 - const keyword added to various wxDC functions.
677 - Under Windows, wxDC no longer has any knowledge of whether
678 an associated window is scrolled or not. Instead, the device
679 origin is set by wxScrolledWindow in wxScrolledWindow::PrepareDC.
680 - wxScrolledWindow applications can optionally override the virtual OnDraw
681 function instead of using the OnPaint event handler. The wxDC passed to
682 OnDraw will be translated by PrepareDC to reflect scrolling.
683 When drawing outside of OnDraw, must call PrepareDC explicitly.
684 - wxToolBarBase/wxToolBarSimple similarly changed to allow for
685 scrolling toolbars.
686 - Integrated wxPostScriptDC patches for 1.xx by Chris Breeze,
687 to help printing with multiple pages.
688 - IPC classes given base classes (wxConnectionBase etc.) which
689 define the API used by different implementations. DDE
690 implementation updated to use these base classes.
691 - wxHelpInstance now separated into wxHelpControllerBase (base
692 for all implementations), wxWinHelpController (uses standard
693 WinHelp), wxXLPHelPController (talks to wxHelp by DDE or
694 TCP/IP). There will be others eventually, such as
695 wxHTMLHelpController for Microsoft (and Netscape?) HTML Help.
696 - Added Vadim Zeitlin's wxString class plus
697 internationalization code (gettext simulation, wxLocale, etc.).
698 New files from Vadim:
699 include\wx\string.h
700 include\wx\debug.h
701 include\wx\file.h
702 include\wx\log.h
703 include\wx\intl.h
704 src\common\string.cpp
705 src\common\log.cpp
706 src\common\intl.cpp
707 src\common\file.cpp
708 No longer use GNU wxString files.
709 - Split off file-related functions into include\wx\filefn.h and
710 src\common\filefn.cpp.
711 - Borland C++ support (WIN32) for main library and
712 samples, using makefile.b32 files.
713 - Preparation done for allowing BC++ to compile wxWin as a DLL,
714 including changes to defs.h.
715 - wxIntPoint removed, wxPoint is now int, and wxRealPoint
716 introduced.
717 - Added wxShowEvent (generated when window is being shown or
718 hidden).
719 - Got minimal, docview, mdi samples working for 16-bit VC++ and
720 cured 16-bit problem with wxTextCtrl (removed global memory
721 trick).
722 - Updated GnuWin32 makefiles, checked minimal, mdi, docview samples.
723
724 Alpha 3, September 1997
725 -----------------------
726
727 All:
728
729 - wxListCtrl, wxTreeCtrl, wxImageList classes done.
730 - Instigated new file hierarchy, split files and classes up more logically.
731 - PrologIO and some other utils now put into core library.
732 - Revamped print/preview classes, added wxPageSetupDialog.
733 - Started documentation.
734
735 Alpha 2, 30th April 1997
736 ------------------------
737
738 All:
739
740 - EVT_... macros now have at least one argument, for conformance
741 with MetroWerks compiler.
742 - Added ids to .wxr file format.
743 - Got Dialog Editor compiled and running again but need
744 to extend functionality to be in line with new controls.
745 Added dialoged\test app to allow dynamic loading of .wxr files
746 for testing purposes.
747 - Rewrote wxBitmap to allow installable file type
748 handlers.
749 - Rewrote wxBitmapButton, wxStaticBitmap to not use Fafa.
750 - Wrote most of wxTreeCtrl and sample (need wxImageList to implement it
751 fully).
752 - Added back wxRadioBox.
753 - Tidied up wx_main.cpp, wxApp class, putting PenWin code in
754 a separate file.
755
756 Alpha 1, 5th April 1997
757 -----------------------
758
759 Generic:
760
761 At this point, the following has been achieved:
762
763 - A lot, but not all, of the code has been revamped for better
764 naming conventions, protection of data members, and use of
765 wxString instead of char *.
766 - Obsolete functionality deleted (e.g. default wxPanel layout,
767 old system event system) and code size reduced.
768 - Class hierarchy changed (see design doc) - base classes such
769 as wxbWindow now removed.
770 - No longer includes windows.h in wxWin headers, by using stand-in
771 Windows types where needed e.g. WXHWND.
772 - PrologIO revised.
773 - wxScrolledWindow, wxStatusBar and new MDI classes added.
774 MDI is now achived using separate classes, not window styles.
775 - wxSystemSettings added, and made use of to reflect standard
776 Windows settings.
777 - SetButtonFont/SetLabelFont replaced by SetFont; font and colour
778 settings mucho rationalised.
779 - All windows are now subclassed with the same window proc to make
780 event handling far more consistent. Old internal wxWnd and derived
781 classes removed.
782 - API for controls revised, in particular addition of
783 wxValidator parameters and removal of labels for some controls.
784 - 1 validator written: see examples/validate.
785 - Event table system introduced (see most samples and
786 wx_event.cpp/ProcessEvent, wx_event.h). wxEvtHandler
787 made more flexible, with Push/PopEventHandler allowing a chain
788 of event handlers.
789 - wxRadioBox removed - will be added back soon.
790 - Toolbar class hierarchy revised:
791 wxToolBarBase
792 wxToolBarSimple (= old wxToolBar)
793 wxToolBar95 (= old wxButtonBar under Win95
794 wxToolBarMSW (= old wxButtonBar under WIN16/WIN32)
795 - Constraint system debugged somewhat (sizers now work properly).
796 - wxFileDialog, wxDirDialog added; other common dialogs now
797 have class equivalents. Generic colour and font dialogs
798 rewritten to not need obsolete panel layout.
799 - .wxr resource system partially reinstated, though needs
800 an integer ID for controls. Hopefully the resource system
801 will be replaced by something better and more efficient
802 in the future.
803 - Device contexts no longer stored with window and accessed
804 with GetDC - use wxClientDC, wxPaintDC, wxWindowDC stack
805 variables instead.
806 - wxSlider uses trackbar class under Win95, and wxSL_LABELS flag
807 determines whether labels are shown. Other Win95-specific flags
808 introduced, e.g. for showing ticks.
809 - Styles introduced for dealing with 3D effects per window, for
810 any window: all Win95 3D effects supported, plus transparent windows.
811 - Major change to allow 3D effect support without CTL3D, under
812 Win95.
813 - Bitmap versions of button and checkbox separated out into new
814 classes, but unimplemented as yet because I intend to remove
815 the need for Fafa - it apparently causes GPFs in Win95 OSR 2.
816 - utils/wxprop classes working (except maybe wxPropertyFormView)
817 in preparation for use in Dialog Editor.
818 - GNU-WIN32 compilation verified (a month or so ago).
819
820