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