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