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

Changes per page:

25 50 100 250 500 1000 2000

Changelog for wxWidgets (70435 changes):

2009-12-08 16:56 VZ, revision 62821

Don'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 62820

Implement 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:56 VZ, revision 62819

Fix unused parameter warning after last commit (r62818).

2009-12-08 16:36 VZ, revision 62818

Fix 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 16:24 VZ, revision 62817

Don'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 62816

Speed up adding pages during freezing

2009-12-08 15:07 JS, revision 62815

Speed up adding pages during freezing

2009-12-08 00:37 VZ, revision 62814

Set 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 18:03 VZ, revision 62813

Reset 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.

2009-12-07 17:27 VZ, revision 62812

Add a very simple example of a Win32 application using wx DLL.

2009-12-07 17:27 VZ, revision 62811

Use __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:26 VZ, revision 62810

Document wxListCtrl::FindItem() return value. In particular mention that it returns -1 if no items were found. Closes #11523.

2009-12-07 16:23 JS, revision 62809

Don't crash if no document

2009-12-07 16:22 JS, revision 62808

Don't crash if no document

2009-12-07 16:06 JS, revision 62807

Safer access of member variables

2009-12-07 16:05 JS, revision 62806

Safer access of member variables

2009-12-07 14:37 VZ, revision 62805

Generate 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 62804

Use 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.

2009-12-07 06:01 VZ, revision 62803

Move 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.

2009-12-07 04:04 VZ, revision 62802

Define 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.

2009-12-07 04:04 VZ, revision 62801

Add 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 62800

Correct 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.

2009-12-07 04:04 VZ, revision 62799

Regenerate 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.

2009-12-07 03:20 VZ, revision 62798
  • D /wxWidgets/trunk/samples/dll/dll.dsw
  • D /wxWidgets/trunk/samples/ribbon/ribbon.dsw

Remove a couple of VC6 workspace files for the samples. See r62797.

2009-12-07 03:18 VZ, revision 62797
  • D /wxWidgets/trunk/samples/dll/dll_vc7.sln
  • D /wxWidgets/trunk/samples/dll/dll_vc8.sln
  • D /wxWidgets/trunk/samples/dll/dll_vc9.sln

Remove 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.

2009-12-07 02:54 KO, revision 62796

Add 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 17:32 KO, revision 62795

Handle deprecated style so we don't assert and then crash.

2009-12-06 16:31 VZ, revision 62794

Restore TAB in accelerator string wrong removed by r62791. See #11512.

2009-12-06 03:30 VZ, revision 62793

Correct 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 62792

Minor 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 62791

Use 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-06 03:29 VZ, revision 62790

Fix wxFD_CLR() definition for Intel compiler under Linux. wxFD_CLR() should be void, not bool. Closes #11517.

2009-12-05 20:57 PC, revision 62789

minor cleanup

2009-12-05 20:45 PC, revision 62788

remove unused variables, minor cleanup

2009-12-05 20:29 PC, revision 62787

remove -I on nonexistent directory

2009-12-05 20:26 PC, revision 62786

remove unnecessary DoGetBestSize

2009-12-05 20:25 PC, revision 62785

simplify Enable()

2009-12-05 19:54 VS, revision 62784

Added 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 62783

Implement wxNativeContainerWindow::IsShown() for MSW. Simply use native ::IsWindowVisible() for IsShown() implementation. Closes #11503.

2009-12-05 18:31 VZ, revision 62782

Add 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:30 VZ, revision 62781

Don'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 18:24 PC, revision 62780

correct parameter type

2009-12-05 15:25 VZ, revision 62779

Don'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 10:05 VS, revision 62778

Documented that wxCriticalSection can be used before wxInitialize(), as a global object.

2009-12-05 02:32 VZ, revision 62777

Fix 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:19 JMS, revision 62773

Exit wxPropertyGrid::RecalculateVirtualSize() immediately if it was called before the grid state was initialized.

2009-12-03 19:08 JMS, revision 62772

Handle the rare case where wxPropertyGrid::HandleCustomEditorEvent() may receive event before the grid state has been initialized.

2009-12-03 18:20 PC, revision 62771

make access for virtuals match base

2009-12-03 17:26 VZ, revision 62770

Suppress 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.

2009-12-03 17:26 VZ, revision 62769

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.