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