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