Changelogs
Overview
These changelogs reflect the history of all files in the Subversion repository. The changelog has been generated at 2016-05-09 08:38:04
Changelog for wxWidgets (70435 changes):
2010-01-25 19:47 JS, revision 63262- M /wxWidgets/branches/WX_2_8_BRANCH/docs/changes.txt
- M /wxWidgets/branches/WX_2_8_BRANCH/docs/latex/wx/wizard.tex
- M /wxWidgets/branches/WX_2_8_BRANCH/docs/latex/wx/wizevt.tex
- M /wxWidgets/branches/WX_2_8_BRANCH/include/wx/wizard.h
- M /wxWidgets/branches/WX_2_8_BRANCH/src/generic/wizard.cpp
2010-01-25 18:12 SC, revision 63261Added EVT_WIZARD_PAGE_SHOWN event for wxWizard, to give apps a chance to initiate processing after a page is presented.
2010-01-25 18:12 SC, revision 63260better wheel support
2010-01-25 14:27 SC, revision 63259make sure we can override GetModality
2010-01-25 14:26 SC, revision 63258adding wxWindow::Show in order to make the sheet showing its children as well
2010-01-25 12:32 JJ, revision 63257fixing building on iphone
2010-01-25 00:28 KO, revision 63254Update compile support for OpenVMS
2010-01-24 20:09 SC, revision 63253Fix mistake, though this assert is unfortunate since now FindString("whatever") will always assert under OS X Cocoa, even when it would find and return the position correctly.
2010-01-24 15:15 VZ, revision 63252supporting auto-rotate for translucent statusbar
2010-01-24 12:51 VS, revision 63251Compilation fix after ownerdraw-refactor branch merge. Don't use HDC in public headers, it may not be declared there. Use WXHDC instead even if this means having ugly casts. This fixed mingw32 compilation (see #11595).
- A /wxWidgets/trunk/include/wx/private/window.h
- M /wxWidgets/trunk/include/wx/window.h
- M /wxWidgets/trunk/src/common/wincmn.cpp
- M /wxWidgets/trunk/src/msw/button.cpp
2010-01-24 12:51 VS, revision 63250Fixed dialog units <-> pixels conversion. The computation is now identical to Windows native one. To achieve this, MSDN-recommended GetTextExtent() call is used instead of GetCharWidth(). wxMulDivInt32() is used instead of integer arithmetics to achieve correct rounding. Use toplevel parent's font instead of window's own. This makes more sense, as dialog units are defined for TLWs, not individual subcontrols. Also fixed wxMSW's wxButton::GetDefaultSize() to compute dialog units correctly.
2010-01-24 12:33 VZ, revision 63249Determine wxButton size correctly in wxMSW. Instead of using default size for default GUI font, use the default font for this dialog's current font.
2010-01-24 12:33 VZ, revision 63248Fix bug in wxStringOutputStream unit test. We wrote an extra NUL byte to the stream and, unsurprisingly, contents of its buffer didn't match the original string resulting in the test failure. Also get rid of a #if wxUSE_UNICODE.
2010-01-24 12:33 VZ, revision 63247Override IsSeekable() in wxString{Input,Output}Stream to return true. These streams are seekable but somehow IsSeekable() was never overridden for them resulting in test failures in Input_SeekI().
2010-01-24 11:13 VZ, revision 63246Document that wxComboBox::Dismiss() and Popup() generate events. Currently these functions generate events in both of the existing implementations (GTK and MSW) so it is simpler to let them to continue to do it but this must at least be documented as this is probably unexpected by users.
2010-01-24 11:13 VZ, revision 63245Correct UTF-32BE BOM detection in wxConvAuto. On the fly detection of the BOM was wrongly implemented for UTF-32BE in r63064 and returned BOM_None for it if we tried to read exactly 2 bytes. Fix this by returning BOM_Unknown if the first 2 bytes are NUL.
2010-01-24 11:13 VZ, revision 63244Correct bug with returning 0 for non-empty input from wxConvAuto::ToWChar(). Since the changes of r63064 we could return 0 when asked to convert a non-empty buffer containing only a BOM. This confused the logic in wxTextInputStream::NextChar() and was generally unexpected so now return wxCONV_FAILED in this case.
2010-01-24 10:13 VZ, revision 63243Check the result of ToWChar() call in wxTextInputStream::NextChar() better. The logic in this function depends on ToWChar() working correctly so check that it doesn't return obviously wrong results, e.g. 0 output length for non-empty input. This was mostly done to detect the problem in wxConvAuto currently but it could also be useful with user-defined conversions and shouldn't have a big performance effect on wxTextInputStream so leave these checks in to facilitate debugging in the future.
2010-01-24 02:00 VZ, revision 63242Replace wxLogWarning()s in wxOSX wxComboBox code with asserts. This incidentally fixes compilation when not using PCH as wx/log.h was not included but is also more correct as the messages meant for the programmer, and not the user, should be given using asserts and not wxLog. Also correct some asserts messages. In particular, don't mention the function name in the message itself as it's already shown by the assert and using it in the string itself isn't useful and simply introduces the risk of forgetting to update it after refactoring, as happened here in r63105.
- M /wxWidgets/trunk/docs/changes.txt
- M /wxWidgets/trunk/include/wx/combobox.h
- M /wxWidgets/trunk/include/wx/gtk/combobox.h
- M /wxWidgets/trunk/include/wx/msw/combobox.h
- M /wxWidgets/trunk/interface/wx/combobox.h
- M /wxWidgets/trunk/samples/widgets/combobox.cpp
- M /wxWidgets/trunk/src/gtk/combobox.cpp
- M /wxWidgets/trunk/src/msw/combobox.cpp
2010-01-24 02:00 VZ, revision 63241Add wxComboBox::Popup() and Dismiss() to manually show or hide its popup. Add implementations for wxMSW and wxGTK. Closes #11506.
2010-01-24 02:00 VZ, revision 63240No changes, just remove the strange "#if 1". This was apparently unintentionally added in r15050 to all files of the widgets sample and somehow survived in this one only until now.
2010-01-24 02:00 VZ, revision 63239Fix sending of wxEVT_COMMAND_LIST_COL_DRAGGING events in wxMSW wxListCtrl. We were not getting HDN_TRACK from the system because apparently it is not sent for header controls with HDS_FULLDRAG style which is used by default by the native list control. A possible solution would be to forcefully unset this style but this would make the UI look old fashioned and less intuitive so instead send these DRAGGING events from HDN_ITEMCHANGING. Closes #9471,
- M /wxWidgets/trunk/build/bakefiles/files.bkl
- M /wxWidgets/trunk/build/msw/config.bcc
- M /wxWidgets/trunk/build/msw/config.gcc
- M /wxWidgets/trunk/build/msw/config.vc
- M /wxWidgets/trunk/build/msw/config.wat
- M /wxWidgets/trunk/build/msw/makefile.bcc
- M /wxWidgets/trunk/build/msw/makefile.gcc
- M /wxWidgets/trunk/build/msw/makefile.vc
- M /wxWidgets/trunk/build/msw/makefile.wat
- M /wxWidgets/trunk/build/msw/wx_base.dsp
- M /wxWidgets/trunk/build/msw/wx_core.dsp
- M /wxWidgets/trunk/build/msw/wx_vc7_base.vcproj
- M /wxWidgets/trunk/build/msw/wx_vc7_core.vcproj
- M /wxWidgets/trunk/build/msw/wx_vc7_wxtiff.vcproj
- M /wxWidgets/trunk/build/msw/wx_vc8_base.vcproj
- M /wxWidgets/trunk/build/msw/wx_vc8_core.vcproj
- M /wxWidgets/trunk/build/msw/wx_vc8_wxtiff.vcproj
- M /wxWidgets/trunk/build/msw/wx_vc9_base.vcproj
- M /wxWidgets/trunk/build/msw/wx_vc9_core.vcproj
- M /wxWidgets/trunk/build/msw/wx_vc9_wxtiff.vcproj
- M /wxWidgets/trunk/build/msw/wx_wxtiff.dsp
- M /wxWidgets/trunk/Makefile.in
- M /wxWidgets/trunk/wxGTK.spec
- M /wxWidgets/trunk/wxMotif.spec
- M /wxWidgets/trunk/wxX11.spec
2010-01-24 02:00 VZ, revision 63238Move wx/evtloop.h from GUI_CMN_HDR to BASE_CMN_HDR in files.bkl. And rebake. Now that wxEventLoop can be used in wxBase as well, we need this file to be installed as part of wxBase too. Closes #11617.
2010-01-24 01:59 VZ, revision 63237Fix wxHTTPStream::Eof() to return true for empty HTTP resources. Eof() never returned true when attempting to read an empty resource before. Closes #11596.
2010-01-24 01:59 VZ, revision 63236Use a helper wxNEEDS_DECL_BEFORE_TEMPLATE symbol in wxStrcoll() workaround. The condition for which this workaround is needed has already changed once (see #11605) and may change again in the future as we test with more compilers so use a symbolic name for it. No real changes otherwise.
2010-01-23 23:45 KO, revision 63235Apply workaround for wxStrcoll() template for g++ to 3.4 too. At least mingw32 version of g++ 3.4.5 needs the same workaround to be able to compile wx. Closes #11605.
2010-01-23 22:17 KO, revision 63234Fix for generic implementation.
2010-01-23 21:10 KO, revision 63233Fix for non-Mac builds.
2010-01-23 21:06 KO, revision 63232Remove assert that was used during testing while changing style flags.
- M /wxWidgets/trunk/include/wx/dialog.h
- M /wxWidgets/trunk/include/wx/osx/dialog.h
- M /wxWidgets/trunk/src/osx/carbon/dialog.cpp
- M /wxWidgets/trunk/src/osx/cocoa/dialog.mm
- M /wxWidgets/trunk/src/osx/dialog_osx.cpp
2010-01-23 16:25 VZ, revision 63231Start on ShowWindowModal for OS X Cocoa. Not working properly as children do not display.
2010-01-23 14:44 VZ, revision 63230Output wxT() and not _T() in code generated by wxrc. Also use wxT() in wxrc.cpp itself, just to be sure that there are no other occurrences of _T() left. Closes #11649.
2010-01-23 14:22 VZ, revision 63229Add virtual wxSizer::DoInsert() to replace Insert(). This allows to avoid problems with hiding all but the overridden overloads of Insert() in wxSizer-derived classes, see #11616, without having to explicitly write any using statements. Keep Insert(size_t, wxSizerItem) virtual to allow the existing code overriding it to keep working.
- M /wxWidgets/trunk/docs/changes.txt
- M /wxWidgets/trunk/interface/wx/event.h
- M /wxWidgets/trunk/src/msw/dcclient.cpp
- M /wxWidgets/trunk/src/msw/window.cpp
2010-01-23 14:22 VZ, revision 63228Allow to not create wxPaintDC in EVT_PAINT handler in wxMSW. Failure to create a wxPaintDC in EVT_PAINT handler resulted in many serious and difficult to debug problems under wxMSW. We used to document that the user shouldn't do it but this wasn't enough (see #11648). We could also assert if we detected that a handler didn't create a wxPaintDC but it seems better to just handle this case gracefully for consistency with the other platforms. Add wxDidCreatePaintDC global variable which is reset before generating wxPaintEvent and set to true when ::BeginPaint() is called from wxPaintDC ctor and validate the update region of the window ourselves if it wasn't set (meaning that wxPaintDC wasn't created). Update the documentation to emphasize the link between EVT_PAINT handlers and wxPaintDC but without saying that wxPaintDC object must always be created in the handler as this is not true any more.
- M /wxWidgets/trunk/docs/changes.txt
- M /wxWidgets/trunk/src/common/fileconf.cpp
- M /wxWidgets/trunk/tests/config/fileconf.cpp
2010-01-23 14:22 VZ, revision 63227Don't crash when input is empty in wxFileConfig(wxInputStream) ctor. Fix crash due to dereferencing a NULL pointer when the input buffer in wxFileConfig ctor is empty. Closes #11636.
2010-01-23 14:22 VZ, revision 63226Fix off by 1 errors in owner-drawn menu drawing code in wxMSW. The label was offset by 1 pixel vertically and the check marks were 1 pixel too wide compared to the native ones under XP, correct this. Closes #11420 (again).
- M /wxWidgets/trunk/include/wx/msw/checklst.h
- M /wxWidgets/trunk/include/wx/msw/listbox.h
- M /wxWidgets/trunk/src/msw/checklst.cpp
- M /wxWidgets/trunk/src/msw/listbox.cpp
- M /wxWidgets/trunk/src/msw/ownerdrw.cpp
2010-01-23 14:21 VZ, revision 63225Improve wxCheckListBox appearance under Vista/Win7. Fix the items alignment and also code cleanup: fix indentation, remove magic numbers &c. Closes #10286.
2010-01-23 14:21 VZ, revision 63224Correct drawing of check marks for owner-drawn items without bitmaps. Standard check mark was not drawn correctly for check/radio items without bitmaps. Closes #11480.
- M /wxWidgets/trunk/include/wx/msw/menu.h
- M /wxWidgets/trunk/include/wx/msw/menuitem.h
- M /wxWidgets/trunk/src/msw/menu.cpp
- M /wxWidgets/trunk/src/msw/menuitem.cpp
2010-01-23 14:21 VZ, revision 63223Correct alignment of menu accelerator strings in owner-drawn menus. Draw them right-aligned as the native menus do. Closes #11479.
- M /wxWidgets/trunk/include/wx/msw/menuitem.h
- M /wxWidgets/trunk/samples/ownerdrw/ownerdrw.cpp
- M /wxWidgets/trunk/src/common/ownerdrwcmn.cpp
- M /wxWidgets/trunk/src/msw/menu.cpp
- M /wxWidgets/trunk/src/msw/menuitem.cpp
2010-01-23 14:21 VZ, revision 63222Use theme functions for drawing owner-drawn menus. This makes the menu items with custom attributes or bitmaps look more native, especially on post-XP systems. Closes #11420.
2010-01-23 14:21 VZ, revision 63221Fix calculation of the margins for owner-drawn menu items. Take into account the widths of the bitmaps properly. Closes #11268.
2010-01-23 14:21 VZ, revision 63220Set up menu bitmaps correctly for checkable items. We must not set MENUITEMINFO::hbmpItem for the checkable items as it would then be used for both checked and unchecked state. Closes #11244.
- M /wxWidgets/trunk/build/bakefiles/files.bkl
- M /wxWidgets/trunk/build/msw/makefile.bcc
- M /wxWidgets/trunk/build/msw/makefile.gcc
- M /wxWidgets/trunk/build/msw/makefile.vc
- M /wxWidgets/trunk/build/msw/makefile.wat
- M /wxWidgets/trunk/build/msw/wx_core.dsp
- M /wxWidgets/trunk/build/msw/wx_vc7_core.vcproj
- M /wxWidgets/trunk/build/msw/wx_vc8_core.vcproj
- M /wxWidgets/trunk/build/msw/wx_vc9_core.vcproj
- M /wxWidgets/trunk/include/wx/msw/listbox.h
- M /wxWidgets/trunk/include/wx/msw/menuitem.h
- A /wxWidgets/trunk/include/wx/msw/ownerdrw.h
- M /wxWidgets/trunk/include/wx/os2/menuitem.h
- A /wxWidgets/trunk/include/wx/os2/ownerdrw.h
- M /wxWidgets/trunk/include/wx/ownerdrw.h
- M /wxWidgets/trunk/Makefile.in
- A /wxWidgets/trunk/src/common/ownerdrwcmn.cpp
- M /wxWidgets/trunk/src/msw/checklst.cpp
- M /wxWidgets/trunk/src/msw/listbox.cpp
- M /wxWidgets/trunk/src/msw/menu.cpp
- M /wxWidgets/trunk/src/msw/menuitem.cpp
- M /wxWidgets/trunk/src/msw/ownerdrw.cpp
- M /wxWidgets/trunk/src/os2/checklst.cpp
- M /wxWidgets/trunk/src/os2/listbox.cpp
- M /wxWidgets/trunk/src/os2/menuitem.cpp
- M /wxWidgets/trunk/src/os2/ownerdrw.cpp
2010-01-23 14:20 VZ, revision 63219Refactor owner-drawing code. Only keep common code in the base class and extract all menu/listbox-specific stuff into derived classes. This makes the code cleaner and more maintainable but introduces some problems in wxCheckListBox appearance which will be fixed by the next patch. Closes #10635.
2010-01-22 23:01 VZ, revision 63218Return old, not new, selection from wxMSW wxNotebook::ChangeSelection(). The function is documented to return the old selection and not the new one, so correct it to behave as expected. Closes #11646.
2010-01-22 23:01 VZ, revision 63217Fix harmless g++ 4.3 warning about "suggested braces".
2010-01-22 22:24 RD, revision 63213Don't place NULL pointers in the GDK window array in GTKGetWindow(). This avoids an assert in GTKUpdateCursor() later on. Backport of r60458 from trunk.
2010-01-22 22:24 RD, revision 63212Print the configure command
2010-01-22 16:52 JJ, revision 63204Use DESTDIR for installing to a location other than the prefix. Fixup install_name_tool usage.
2010-01-22 08:55 JJ, revision 63203Correction on previous commit: statement order corrected
2010-01-20 03:07 KO, revision 63197Get wxDC defined when nescessary
2010-01-20 01:17 VZ, revision 63195Handle the case of NSNotFound result properly.
Disable size grip for TLW status bar if TLW is not resizeable. wxSTB_SIZEGRIP is part of default status bar style but it doesn't make sense for non-resizeable TLWs, so turn it off in this case.