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