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