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):
2009-12-08 16:56 VZ, revision 628212009-12-08 16:56 VZ, revision 62820Don't override DoGetBestSize() in wxGenericStaticText, it's unnecessary. The base class already does exactly the same thing -- except that it also accounts for the borders properly. Also fix access for a couple of DoXXX() member functions which should be protected and an event handler which can be private.
2009-12-08 16:56 VZ, revision 62819Implement wxWindow::DoGetBorderSize() in the trivial case of wxBORDER_NONE. This fixes an assert in wxGenericStaticText which overrode DoGetBestClientSize() but not DoGetBorderSize(). It would still be useful to implement DoGetBorderSize() in wxGTK (and other ports) in general too as using wxGenericStaticText with non-default border still doesn't work.
2009-12-08 16:36 VZ, revision 62818Fix unused parameter warning after last commit (r62818).
2009-12-08 16:24 VZ, revision 62817Fix event object in wxSysColourChangedEvent. The handler for this event in the base class incorrectly changed the event object of the original event instead of setting it for the event being sent to the window children as it was supposed to. Closes #11458.
2009-12-08 15:07 JS, revision 62816Don't set the initial size as minimal size for top level windows. Correct the change of r62814: only call SetMinSize() for non-top-level windows as the user should be able to resize the top-level ones to be smaller than their initial size. This also fixes the GTK+ warning resulting from calling wxTLW::SetMinSize() from the ctor, before the window is realized.
2009-12-08 15:07 JS, revision 62815Speed up adding pages during freezing
- M /wxWidgets/trunk/include/wx/aui/auibook.h
- M /wxWidgets/trunk/samples/aui/auidemo.cpp
- M /wxWidgets/trunk/src/aui/auibook.cpp
2009-12-08 00:37 VZ, revision 62814Speed up adding pages during freezing
2009-12-07 18:03 VZ, revision 62813Set initial window size as its minimal size. The change of r62306 broke the code which relied on the window created with a given initial size to never become smaller than this size. This was to be expected because the best size of such window is now (1, 1) and not its initial size but we still need to preserve the old behaviour for compatibility and also because it usually does make sense to avoid shrinking the window with an explicitly specified initial size beneath this value. So call SetMinSize() with the initial size explicitly now in wxWindowBase ctor.
2009-12-07 17:27 VZ, revision 62812Reset wxTheApp when starting to destroy the object it points to. Using wxTheApp when the corresponding object is already half destroyed can't be a good idea so reset it to NULL as soon as possible. Closes #11525.
- M /wxWidgets/trunk/samples/dll/dll.bkl
- A /wxWidgets/trunk/samples/dll/dll_sdk_exe.dsp
- A /wxWidgets/trunk/samples/dll/dll_vc7_sdk_exe.vcproj
- A /wxWidgets/trunk/samples/dll/dll_vc8_sdk_exe.vcproj
- A /wxWidgets/trunk/samples/dll/dll_vc9_sdk_exe.vcproj
- M /wxWidgets/trunk/samples/dll/Makefile.in
- M /wxWidgets/trunk/samples/dll/makefile.bcc
- M /wxWidgets/trunk/samples/dll/makefile.gcc
- M /wxWidgets/trunk/samples/dll/makefile.vc
- M /wxWidgets/trunk/samples/dll/makefile.wat
- A /wxWidgets/trunk/samples/dll/sdk_exe.cpp
2009-12-07 17:27 VZ, revision 62811Add a very simple example of a Win32 application using wx DLL.
2009-12-07 16:26 VZ, revision 62810Use __declspec(dllexport) instead of WXEXPORT in dll sample header. This header can be included from non-wx code so we can't use wx symbols in it.
2009-12-07 16:23 JS, revision 62809Document wxListCtrl::FindItem() return value. In particular mention that it returns -1 if no items were found. Closes #11523.
2009-12-07 16:22 JS, revision 62808Don't crash if no document
2009-12-07 16:06 JS, revision 62807Don't crash if no document
2009-12-07 16:05 JS, revision 62806Safer access of member variables
2009-12-07 14:37 VZ, revision 62805Safer access of member variables
2009-12-07 06:01 VZ, revision 62804Generate erase background events for native controls too under MSW. Remove the test which prevented the generation of erase background events from wxMSW::wxWindow::HandleEraseBkgnd(). Although it is true that native controls mostly erase background on their own, there are exceptions: we must erase the background of wxToolBar ourselves, for example. More importantly, there is no reason to prevent the user code from defining wxEVT_ERASE_BACKGROUND handlers for the native controls as this works just fine under MSW (although it doesn't under GTK nor probably other ports...). So also add a test erase background handler to the toolbar sample to verify that this does work. Closes #11514.
2009-12-07 06:01 VZ, revision 62803Use white background by default for multiline readonly wxTextCtrl under MSW. The best default behaviour seems to be to use white background for multiline text controls even when they're read-only, as in previous wx versions. Also see #11521 which could be implemented to make this configurable.
- M /wxWidgets/trunk/include/wx/msw/textctrl.h
- M /wxWidgets/trunk/include/wx/textctrl.h
- M /wxWidgets/trunk/src/msw/textctrl.cpp
2009-12-07 04:04 VZ, revision 62802Move wxMSW wxTextCtrl::GetDefaultAttributes() to wxTextCtrlBase. This commit doesn't introduce any changes in the control behaviour, it simply moves the existing method to the base class because it is not MSW-specific. Also implement wxTextCtrlBase::GetClassDefaultAttributes() because if a class implements GetDefaultAttributes() it should implement it as well.
- M /wxWidgets/trunk/samples/dll/dll.bkl
- M /wxWidgets/trunk/samples/dll/dll_my_dll.dsp
- M /wxWidgets/trunk/samples/dll/dll_vc7_my_dll.vcproj
- M /wxWidgets/trunk/samples/dll/dll_vc8_my_dll.vcproj
- M /wxWidgets/trunk/samples/dll/dll_vc9_my_dll.vcproj
- M /wxWidgets/trunk/samples/dll/Makefile.in
- M /wxWidgets/trunk/samples/dll/makefile.bcc
- M /wxWidgets/trunk/samples/dll/makefile.gcc
- M /wxWidgets/trunk/samples/dll/makefile.vc
- M /wxWidgets/trunk/samples/dll/makefile.wat
- M /wxWidgets/trunk/samples/dll/my_dll.cpp
- M /wxWidgets/trunk/samples/dll/my_dll.h
2009-12-07 04:04 VZ, revision 62801Define MY_DLL_BUILDING symbol for dll sample DLL build. This is necessary to properly define MY_DLL_DECL as either WXIMPORT or WXEXPORT depending on whether my_dll.h is included from DLL itself or from outside it. Without this, MSVC generated warnings about inconsistent dll linkage.
- M /wxWidgets/trunk/include/wx/dynlib.h
- M /wxWidgets/trunk/samples/dll/my_dll.cpp
- M /wxWidgets/trunk/src/msw/dlmsw.cpp
2009-12-07 04:04 VZ, revision 62800Add semi-public wxDynamicLibrary::MSWGetModuleHandle(). Rename old private wxGetModuleHandle() function to wxDynamicLibrary:: MSWGetModuleHandle() to allow its use in the dll sample. This fixes the sample compilation with VC6 which lacks GetModuleHandleEx()- related declarations.
2009-12-07 04:04 VZ, revision 62799Correct placement of calling convention keyword: must follow the return type. Using __stdcall before the return type results in a warning with VC6 and an error with VC9, place it after the return type. Also use wxSTDCALL instead of just __stdcall for potentially better compatibility with other compilers.
- M /wxWidgets/trunk/samples/dll/dll.bkl
- M /wxWidgets/trunk/samples/dll/dll_vc7_wx_exe.vcproj
- M /wxWidgets/trunk/samples/dll/dll_vc8_wx_exe.vcproj
- M /wxWidgets/trunk/samples/dll/dll_vc9_wx_exe.vcproj
- M /wxWidgets/trunk/samples/dll/dll_wx_exe.dsp
- M /wxWidgets/trunk/samples/dll/Makefile.in
- M /wxWidgets/trunk/samples/dll/makefile.bcc
- M /wxWidgets/trunk/samples/dll/makefile.gcc
- M /wxWidgets/trunk/samples/dll/makefile.vc
- M /wxWidgets/trunk/samples/dll/makefile.wat
2009-12-07 03:20 VZ, revision 62798Regenerate dll samples makefiles using the correct source file name. The file is called wx_exe.cpp and not dll_user_wx.cpp in the svn, do use the correct name.
- D /wxWidgets/trunk/samples/dll/dll.dsw
- D /wxWidgets/trunk/samples/ribbon/ribbon.dsw
2009-12-07 03:18 VZ, revision 62797Remove a couple of VC6 workspace files for the samples. See r62797.
- D /wxWidgets/trunk/samples/dll/dll_vc7.sln
- D /wxWidgets/trunk/samples/dll/dll_vc8.sln
- D /wxWidgets/trunk/samples/dll/dll_vc9.sln
2009-12-07 02:54 KO, revision 62796Remove the MSVC solution files added with the new dll sample. We don't keep solution files in svn for the other samples, there is no reason for this one to be exceptional.
- M /wxWidgets/trunk/include/wx/osx/cocoa/private.h
- M /wxWidgets/trunk/include/wx/osx/core/private.h
- M /wxWidgets/trunk/include/wx/osx/toplevel.h
- M /wxWidgets/trunk/include/wx/toplevel.h
- M /wxWidgets/trunk/interface/wx/toplevel.h
- M /wxWidgets/trunk/src/osx/cocoa/nonownedwnd.mm
- M /wxWidgets/trunk/src/osx/toplevel_osx.cpp
2009-12-06 17:32 KO, revision 62795Add wxTLW::SetModified to allow apps to set the TLW's dirty state. On Mac this gives us the dot in the close button, not implemented elsewhere yet.
2009-12-06 16:31 VZ, revision 62794Handle deprecated style so we don't assert and then crash.
2009-12-06 03:30 VZ, revision 62793Restore TAB in accelerator string wrong removed by r62791. See #11512.
- M /wxWidgets/trunk/src/common/strconv.cpp
- M /wxWidgets/trunk/tests/mbconv/mbconvtest.cpp
- M /wxWidgets/trunk/tests/test_vc9_test.vcproj
2009-12-06 03:29 VZ, revision 62792Correct two bugs in wxMBConv::FromWChar() with non NUL-terminated strings. The variable "lenChunk" was incorrectly used as the length of the wide string chunk which could result in wrong output. Worse, the output buffer could be overflown for the final chunk because it didn't have to have enough space for the trailing NUL(s) in it. Fix both bugs and added unit tests for them. Based on patch by Kuang-che Wu. Closes #11486.
2009-12-06 03:29 VZ, revision 62791Minor corrections to ToWChar() comment. Don't refer to the non-existent outputBuf parameter and don't imply that the value of dstLen matters to decide whether we really convert or not -- only whether dst pointer itself is NULL or not does. See #11486.
2009-12-06 03:29 VZ, revision 62790Use wxAcceleratorEntry::ToString() for undo/redo accelerator labels. Don't hardcode the string representation of the accelerators, it was inconsistent with the rest of wxWidgets which used '-' while here a '+' was used. Closes #11512.
2009-12-05 20:57 PC, revision 62789Fix wxFD_CLR() definition for Intel compiler under Linux. wxFD_CLR() should be void, not bool. Closes #11517.
- M /wxWidgets/trunk/include/wx/animdecod.h
- M /wxWidgets/trunk/include/wx/bmpcbox.h
- M /wxWidgets/trunk/include/wx/generic/busyinfo.h
- M /wxWidgets/trunk/include/wx/generic/imaglist.h
- M /wxWidgets/trunk/include/wx/generic/infobar.h
- M /wxWidgets/trunk/include/wx/gtk/infobar.h
- M /wxWidgets/trunk/include/wx/gtk/statbox.h
- M /wxWidgets/trunk/include/wx/osx/carbon/evtloop.h
- M /wxWidgets/trunk/include/wx/osx/private.h
- M /wxWidgets/trunk/include/wx/unix/taskbarx11.h
- M /wxWidgets/trunk/src/common/taskbarcmn.cpp
- M /wxWidgets/trunk/src/generic/infobar.cpp
- M /wxWidgets/trunk/src/gtk/combobox.cpp
- M /wxWidgets/trunk/src/gtk/sockgtk.cpp
- M /wxWidgets/trunk/src/gtk/statbox.cpp
- M /wxWidgets/trunk/src/osx/core/cfstring.cpp
- M /wxWidgets/trunk/src/osx/core/printmac.cpp
- M /wxWidgets/trunk/src/osx/core/sockosx.cpp
- M /wxWidgets/trunk/src/osx/core/utilsexc_base.cpp
- M /wxWidgets/trunk/src/osx/listbox_osx.cpp
- M /wxWidgets/trunk/src/osx/textctrl_osx.cpp
- M /wxWidgets/trunk/src/osx/window_osx.cpp
- M /wxWidgets/trunk/src/ribbon/bar.cpp
- M /wxWidgets/trunk/src/ribbon/buttonbar.cpp
- M /wxWidgets/trunk/src/unix/net.cpp
2009-12-05 20:45 PC, revision 62788minor cleanup
- M /wxWidgets/trunk/src/common/graphcmn.cpp
- M /wxWidgets/trunk/src/ribbon/art_msw.cpp
- M /wxWidgets/trunk/src/ribbon/gallery.cpp
2009-12-05 20:29 PC, revision 62787remove unused variables, minor cleanup
2009-12-05 20:26 PC, revision 62786remove -I on nonexistent directory
2009-12-05 20:25 PC, revision 62785remove unnecessary DoGetBestSize
- M /wxWidgets/trunk/include/wx/gtk/button.h
- M /wxWidgets/trunk/include/wx/gtk/checkbox.h
- M /wxWidgets/trunk/include/wx/gtk/radiobut.h
- M /wxWidgets/trunk/include/wx/gtk/spinbutt.h
- M /wxWidgets/trunk/include/wx/gtk/tglbtn.h
- M /wxWidgets/trunk/src/gtk/button.cpp
- M /wxWidgets/trunk/src/gtk/checkbox.cpp
- M /wxWidgets/trunk/src/gtk/radiobox.cpp
- M /wxWidgets/trunk/src/gtk/radiobut.cpp
- M /wxWidgets/trunk/src/gtk/spinbutt.cpp
- M /wxWidgets/trunk/src/gtk/tglbtn.cpp
2009-12-05 19:54 VS, revision 62784simplify Enable()
- M /wxWidgets/trunk/autoconf_inc.m4
- M /wxWidgets/trunk/configure
- M /wxWidgets/trunk/configure.in
- A /wxWidgets/trunk/samples/dll
- A /wxWidgets/trunk/samples/dll/dll.bkl
- A /wxWidgets/trunk/samples/dll/dll.dsw
- A /wxWidgets/trunk/samples/dll/dll_my_dll.dsp
- A /wxWidgets/trunk/samples/dll/dll_vc7.sln
- A /wxWidgets/trunk/samples/dll/dll_vc7_my_dll.vcproj
- A /wxWidgets/trunk/samples/dll/dll_vc7_wx_exe.vcproj
- A /wxWidgets/trunk/samples/dll/dll_vc8.sln
- A /wxWidgets/trunk/samples/dll/dll_vc8_my_dll.vcproj
- A /wxWidgets/trunk/samples/dll/dll_vc8_wx_exe.vcproj
- A /wxWidgets/trunk/samples/dll/dll_vc9.sln
- A /wxWidgets/trunk/samples/dll/dll_vc9_my_dll.vcproj
- A /wxWidgets/trunk/samples/dll/dll_vc9_wx_exe.vcproj
- A /wxWidgets/trunk/samples/dll/dll_wx_exe.dsp
- A /wxWidgets/trunk/samples/dll/Makefile.in
- A /wxWidgets/trunk/samples/dll/makefile.bcc
- A /wxWidgets/trunk/samples/dll/makefile.gcc
- A /wxWidgets/trunk/samples/dll/makefile.unx
- A /wxWidgets/trunk/samples/dll/makefile.vc
- A /wxWidgets/trunk/samples/dll/makefile.wat
- A /wxWidgets/trunk/samples/dll/my_dll.cpp
- A /wxWidgets/trunk/samples/dll/my_dll.h
- A /wxWidgets/trunk/samples/dll/README.txt
- A /wxWidgets/trunk/samples/dll/wx_exe.cpp
- M /wxWidgets/trunk/samples/makefile.bcc
- M /wxWidgets/trunk/samples/makefile.gcc
- M /wxWidgets/trunk/samples/makefile.vc
- M /wxWidgets/trunk/samples/makefile.wat
- M /wxWidgets/trunk/samples/samples.bkl
2009-12-05 18:31 VZ, revision 62783Added samples/dll for showing how to use wxWidgets to implement a DLL that is used from another application written with a different toolkit (or different wx version).
2009-12-05 18:31 VZ, revision 62782Implement wxNativeContainerWindow::IsShown() for MSW. Simply use native ::IsWindowVisible() for IsShown() implementation. Closes #11503.
- M /wxWidgets/trunk/docs/changes.txt
- M /wxWidgets/trunk/include/wx/filename.h
- M /wxWidgets/trunk/interface/wx/filename.h
- M /wxWidgets/trunk/src/common/filename.cpp
- M /wxWidgets/trunk/tests/filename/filenametest.cpp
2009-12-05 18:30 VZ, revision 62781Add support for MSW unique volume names to wxFileName. Recognize the paths starting with "\\?\Volume{GUID}" under MSW and provide a way to test for them. Closes #8874.
2009-12-05 18:24 PC, revision 62780Don't lock global mutex when deleting wxThread to avoid deadlocks. Calling out the user-defined wxThread dtor while holding gs_mutexDeleteThread lock is a bad idea as it may result in deadlocks if the dtor deletes another thread. Only lock the mutex directly before manipulating the data it protects. Thanks to Neno Ganchev. Closes #11501.
2009-12-05 15:25 VZ, revision 62779correct parameter type
2009-12-05 10:05 VS, revision 62778Don't crash in wxActiveXContainer if FindConnectionPoint() failed. This method is supposed to succeed but don't crash by calling Advise() on NULL pointer if it did not.
2009-12-05 02:32 VZ, revision 62777Documented that wxCriticalSection can be used before wxInitialize(), as a global object.
2009-12-03 19:19 JMS, revision 62773Fix wxLogChain (and wxLogWindow deriving from it) broken by wxLog changes. wxLogChain::DoLogRecord() only called DoLogRecord() on the old logger but not the new one when the new logger was the same object as wxLogChain itself as is always the case for wxLogWindow. The result was that nothing was logged into the window.
2009-12-03 19:08 JMS, revision 62772Exit wxPropertyGrid::RecalculateVirtualSize() immediately if it was called before the grid state was initialized.
2009-12-03 18:20 PC, revision 62771Handle the rare case where wxPropertyGrid::HandleCustomEditorEvent() may receive event before the grid state has been initialized.
- M /wxWidgets/trunk/include/wx/generic/listctrl.h
- M /wxWidgets/trunk/include/wx/osx/carbon/private.h
- M /wxWidgets/trunk/include/wx/osx/cursor.h
- M /wxWidgets/trunk/include/wx/osx/frame.h
- M /wxWidgets/trunk/include/wx/osx/statusbr.h
- M /wxWidgets/trunk/include/wx/ribbon/bar.h
- M /wxWidgets/trunk/include/wx/ribbon/buttonbar.h
- M /wxWidgets/trunk/include/wx/ribbon/page.h
- M /wxWidgets/trunk/include/wx/ribbon/panel.h
- M /wxWidgets/trunk/include/wx/ribbon/toolbar.h
- M /wxWidgets/trunk/include/wx/textctrl.h
- M /wxWidgets/trunk/include/wx/window.h
2009-12-03 17:26 VZ, revision 62770make access for virtuals match base
2009-12-03 17:26 VZ, revision 62769Suppress errors from static bitmap page of widgets sample. Don't fail loudly if the image file is not found (which can happen under Unix if the image sample wasn't built yet or if we're not running the sample from its own directory) but just don't create the bitmap.
Don't assert if the path is not absolute in wxFileDialog::SetPath(). Remove the assert added in r62101 (see #10917), it was wrong as the other ports do not assert in this case. Instead, just ensure that the path we use with the GTK+ native chooser is absolute.