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