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