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