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):

2012-06-15 01:21 SC, revision 71777

setting debug level explicitly

2012-06-15 00:29 SC, revision 71771

cleanup for 10.5 minimum

2012-06-15 00:02 SC, revision 71770

clang analyzer support specific for OSX

2012-06-14 23:55 SC, revision 71769

FixedWith support through CoreText

2012-06-14 23:53 SC, revision 71768

using CoreText under iOS

2012-06-14 23:51 SC, revision 71767

guarding agains NULL

2012-06-14 23:47 SC, revision 71766

guard XTI

2012-06-14 23:46 SC, revision 71765

CoreText font enumeration support for iOS

2012-06-14 23:43 SC, revision 71764

CoreText support for iOS

2012-06-14 23:40 SC, revision 71763

fixing analyzer warning

2012-06-14 23:37 SC, revision 71762

removing superfluous 10.5 checks

2012-06-14 21:11 SC, revision 71761

as we always have CoreText available under 10.5+, we can properly determine fixed widths fonts, also use latest CoreText API if available

2012-06-14 17:07 SC, revision 71760

removing attribute, as assert is not guaranteed not to return, but may just go on

2012-06-14 01:33 SC, revision 71756

using WX_ATTRIBUTE_NORETURN for asserts

2012-06-14 01:33 SC, revision 71755

adding WX_ATTRIBUTE_NORETURN support (for functions like assert, exit etc. that may not return)

2012-06-14 01:20 RD, revision 71751

minor doc tweak

2012-06-14 01:20 RD, revision 71750

Fix for compilo on non-PCH builds

2012-06-14 01:20 RD, revision 71749

Allow the doxygen command to be used to be specified in the environment

2012-06-14 01:20 RD, revision 71748

update comment about SDKs

2012-06-14 00:53 SC, revision 71747

using native cocoa method for determining main window, fixes #14287

2012-06-14 00:32 SC, revision 71746

exposing mainWindow for C++

2012-06-13 20:43 SC, revision 71743

indicating the memory ownership of our c-method for the clang analyzer

2012-06-13 20:42 SC, revision 71742

supporting clang memory management annotations

2012-06-13 19:55 SC, revision 71741

adding explanation for osx and fixing typo

2012-06-13 19:38 SC, revision 71740

proper init

2012-06-13 19:13 SC, revision 71739

having ONE set of raster-ops starting from 10.5

2012-06-13 18:43 SC, revision 71738

fixing mem leak

2012-06-13 18:42 SC, revision 71737

proper braces avoiding potential dangling else resulting from expansion

2012-06-13 01:32 SC, revision 71735

avoiding dangerous redraw events for windows that are on their way out…

2012-06-13 00:15 VZ, revision 71733

Slightly improve best size calculation for wxListCtrl with wxLC_NO_HEADER. Use some arbitrary but relatively large width and height instead of falling back to wxControlBase best size computation which, at least in wxGTK, simply returns (1, 1) resulting in list control of unusably small size. This is, of course, still far from ideal and we should really use the items to calculate the best width but it at least allow the list control in the generic log dialog to be shown correctly in wxGTK.

2012-06-12 23:57 VZ, revision 71731

No real changes, just add a wxCHECK to GetDlgUnitBase(). Verify that we do have a valid TLW parent: even though this normally should be always the case, it might not be when the window is being created or destroyed, see #14355.

2012-06-12 23:56 VZ, revision 71730

Fix crash in wxStaticBox::HandleEraseBkgnd() in wxMSW on closing. Don't process WM_ERASEBKGND if we're being destroyed. This is at best useful and at worst harmful as we currently crash in wxStaticBox::GetClientSize() if there is no valid TLW parent. Closes #14355.

2012-06-12 23:42 VZ, revision 71728

Only use Unix/X11-specific files under Unix in wxGTK. No real changes for now, this is another commit in preparation for wxGTK under MSW support. Closes #14394.

2012-06-12 23:42 VZ, revision 71727

Remove another unneeded TOOLKIT test from the bakefiles. Don't check the toolkit unnecessarily, this doesn't really change anything right now but will not break wxGTK build under MSW when support for it is added. Closes #14379.

2012-06-12 23:41 VZ, revision 71726

Add wx/setup.h header for wxGTK build under MSW. This is identical to wx/msw/setup0.h but will be used by wxGTK builds using MSVC when this is supported. Closes #14395.

2012-06-12 23:41 VZ, revision 71725

Compilation fix in non-PCH build of wxMSW wxStaticBox. Include wx/sizer.h now that we use sizers in static box DoGetBestSize(). Closes #14397.

2012-06-12 23:41 VZ, revision 71724

Don't use generic wxListCtrl style for wxListMainWindow. This resulted in double border around wxListCtrl contents in wxOSX and almost certainly other ports except wxGTK for which we already had an explicit preprocessor check in the generic list control code. Remove it and simply don't use any wxListCtrl-specific styles, including borders, for its main window as it doesn't make any sense. Closes #3701.

2012-06-12 23:41 VZ, revision 71723

Make wxMSW tree item unlocking reentrant. Handle creating nested TreeItemUnlocker objects correctly. This fixes the problem when a wxTreeCtrl method unlocking some item is called with another item is already unlocked, e.g. from a selection changed event handler. Closes #14400.

2012-06-12 20:44 SC, revision 71719

support for native tlw parents, see #14252

2012-06-12 02:23 SC, revision 71717

using callback for menu enabling, allows to benefit from system menu disabling eg for modal dialogs, see #14177

2012-06-12 02:21 SC, revision 71716

setting source as this, according to thread '[wx-dev] Bug in wxMenuBarBase::UpdateMenus'

2012-06-10 19:09 RD, revision 71713

Fix compilation error

2012-06-10 13:57 VZ, revision 71712

Fix wxHTMLDataObject compilation and memory leaks. Use wxString::FromUTF8() and utf8_str() instead of directly using wxConvUTF8 as this is simpler and also works correctly in non-Unicode build (and more efficiently in UTF-8 build as no conversion is done there). Do not allocate -- and leak -- buffer in wxHTMLDataObject::GetDataHere(), we're supposed to be putting data into the caller-provided buffer instead of using our own. Closes #14391.

2012-06-08 21:26 RD, revision 71704

Keep track of the area intended to be buffered, and use that in UnMask instead of defaulting to the buffer size. Only clip to the DC size if wxBUFFER_VIRTUAL_AREA is not set. This fixes the issue where buffering the full virtual area in a wxScrolledWindow would only draw an area the physical size of the window. Fixes #11612.

2012-06-08 21:26 RD, revision 71703

Add doc for SendAutoScrollEvents

2012-06-08 20:44 VZ, revision 71702

Fix wxWindow::IsDescendant() to work with argument equal to this window. Passing the window itself as IsDescendant() argument for a top level window resulted in a NULL pointer dereference. Fix this and also simplify the function code by not using the parent window before checking it's !NULL. Closes #14387.

2012-06-08 20:44 VZ, revision 71701

Use wxString::Clone() instead of c_str() in wxThreadEvent copy ctor. Creating a new wxString from c_str() of the old one resulted in dropping all string data after the first embedded NUL. Fix this by using Clone() method that exists specifically for this purpose. It also makes the code more clear. Closes #14380.

2012-06-08 20:44 VZ, revision 71700

Use PLATFORM checks in bakefiles instead of TOOLKIT checks. No real changes as the output is currently the same for all supported PLATFORM/TOOLKIT combinations anyhow but prefer checking for PLATFORM to prepare for the support of GTK toolkit under MSW platform. Closes #14379.

2012-06-08 07:11 RD, revision 71693

Interface fixes for Phoenix

2012-06-07 07:18 PC, revision 71685

fix warnings about conversion to bool, closes #14381

2012-06-07 07:13 PC, revision 71684

fix warnings about unreachable return statements

2012-06-07 06:43 RD, revision 71683

Add export macro for wxTreeListEvent so the non-inline class info and things can be found where they're exepcted

2012-06-07 06:43 RD, revision 71682

Interface fixes for Phoenix

2012-06-07 06:43 RD, revision 71681

Add missing wxRichToolTip::SetTitleFont implementation.

2012-06-07 06:42 RD, revision 71680

Interface fixes for Phoenix

2012-06-06 19:18 VS, revision 71665

wxHtmlHelpWindow: Fix contents panel syncing with view. Simply opened page notification code. Fix it to really highlight the page currently visible, instead of the previous one. Fixes #14320.

2012-06-06 04:06 RD, revision 71664

add missing public keyword for base class

2012-06-05 23:26 RD, revision 71653

If there is a sizer then use it's calculated minimum in wxStaticBox::DoGetBestSize

2012-06-05 23:26 RD, revision 71652

Interface fixes for Phoenix

2012-06-05 23:26 RD, revision 71651

Interface fixes for Phoenix

2012-06-05 18:49 PC, revision 71648

Workaround for Ubuntu 12.04 run time warning "LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent." Avoid calling gtk_widget_destroy() on a wxMenuBar attached to a frame Fixes #14292

2012-06-05 14:21 VZ, revision 71647

Don't give incorrect example in wxTextEntry::GetInsertionPoint() docs. Using the text control position as index in GetValue() is wrong in general, show the correct way of doing this. Closes #14372.

2012-06-05 14:12 VZ, revision 71646

Fix ribbon sample compilation after r71642. Add a missing header with declaration of wxMessageBox() for PCH-less compilation. Closes #14376.

2012-06-04 19:36 PC, revision 71644

Fix layout of wxStaticText, and possibly other controls. GtkLabel perversely does not use its actual size to do layout, but will use its size request. So restore calling gtk_widget_set_size_request() for all widgets, which was removed in r71465. See #14374

2012-06-04 11:13 JS, revision 71643

Corrected collection of common attributes, for clashing font size units.

2012-06-03 21:17 VZ, revision 71642

Implement support for wxRIBBON_PANEL_EXT_BUTTON wxRibbonPanel style. Show the "extension button" in the ribbon panel if this style is specified. Also generate a specific event if this button is clicked. Closes #14283.

2012-06-03 21:17 VZ, revision 71641

Add wxRibbonControl::GetAncestorRibbonBar() helper. New method allowing to find the ribbon bar containing the given window. See #14283.

2012-06-03 21:16 VZ, revision 71640

Use wxString::t_str() in calls to Windows API functions in wxMSW. Use t_str() instead of wx_str() to make the code work correctly in UTF-8 build in which wx_str() returns a pointer to UTF-8 buffer while we need a wchar_t pointer for Windows. Closes #14371.

2012-06-03 19:41 SJL, revision 71639

Use wxCOMPtr throughout wxWebViewIE to simplify the code and reduce the chance of memory leaks. Also mark PPV_ARGS_CHECK as inline so it can be used from multiple libraries.

2012-06-02 00:34 VZ, revision 71638

Add support for MSVC 11 (a.k.a. MSVS 2012) to MSVC-specific setup.h. Use vc110 prefix for VC11. Closes #14366.

2012-06-02 00:34 VZ, revision 71637

Clear old selection when wxListBox becomes empty. When UpdateOldSelections() is called from wxListBox::DoClear(), it must clear the old selections array even for single selection list boxes, but it didn't do this under non-MSW platforms. Specifically check for the case of an empty listbox now and just forget the old selections then. This fixes the problem of keeping stale old selections and is also more efficient as we avoid the unnecessary GetSelections() call. Really closes #14359.

2012-06-02 00:34 VZ, revision 71636

Add wxMSW_CONV_LPCTSTR() and related macros and use them in wxBase. Add macros hiding the ugly casts needed to pass wxStrings to Windows API functions and use them in a couple of places in wxBase to simplify the code. Closes #14338.

2012-06-01 18:21 VZ, revision 71635

Disable wxUIActionSimulator wxGrid tests using mouse under wxGTK. Something is seriously wrong with simulated mouse events and wxGrid under wxGTK, they seem to simply disappear sometimes. This results in unit tests suite failure, so disable these tests for the next release as I just don't understand how to fix them.

2012-06-01 18:21 VZ, revision 71634

Add IsAutomaticTest() function to the unit tests. This allows to easily test if we're running on a buildbot slave and disable some difficult to debug test failures there.

2012-06-01 18:21 VZ, revision 71633

Use printf() instead of wxPrintf() in cppunit details listener. Wide char output from wxPrintf() didn't appear at all under Linux because stdout was switched into narrow stream mode by GNU libc due to initial use of cout in the test. Use printf() instead of wxPrintf() as we are only printing ASCII strings anyhow. Of course, this is not a real fix but at least we can see the tests results like this.

2012-06-01 17:25 VZ, revision 71632

Compilation fix to wxWebView under wxOSX/Carbon after r71620. wxWindow::m_peer is private, use GetPeer() to access it. See #14352.

2012-06-01 17:25 VZ, revision 71631

Fix wxWebKitCtrl::RunScript() return value. Replace comparisons of the type name of the returned value with isKindOfClass: checks which are more reliable. Closes #14358.

2012-06-01 13:01 VZ, revision 71630

Add support for CP1258 (Vietnamese) and CP1361 (Korean Johab) encodings. Recognize these encodings names and translate them to/from the corresponding charset constants in wxMSW.

2012-06-01 13:01 VZ, revision 71629

Use "GBK" as alternative name for CP936 encoding. This is the official name of this encoding, so recognize it as synonym. See #14360.

2012-06-01 13:01 VZ, revision 71628

Use float instead of double division in wxHashMap code. We don't need double precision for determining the hash table fill rate and using double constant also results in float-to-double promotion warnings from gcc 4.7. See #14362.

2012-06-01 13:01 VZ, revision 71627

Keep user-set wxFrame background color even if MSW system background changes. Don't override wxFrame background colour when the system background colour changes if it was explicitly set by the user. Closes #14364.

2012-06-01 13:01 VZ, revision 71626

Update old selections after clearing wxListBox in wxGTK. Don't keep stale selected item indices in m_oldSelections after clearing the listbox, call UpdateOldSelections() from DoClear() in wxGTK just as we do in the other ports. Closes #14359.

2012-06-01 13:01 VZ, revision 71625

Use wxCLASSINFO() instead of deprecated CLASSINFO(). No real changes, just use the version of the macro with a "wx" prefix. Closes #14356.

2012-06-01 13:01 VZ, revision 71624

Use wxDynamicCast() instead of IsKindOf() checks. wxDynamicCast() is less verbose (due to the absence of "CLASSINFO") and more compatible with the standard dynamic_cast<>, so prefer to use it when possible. See #14356.

2012-06-01 13:01 VZ, revision 71623

Remove unneeded dynamic cast in wxPropertyGrid. It's completely useless to check that an object is of its own statically declared type as this is always true, simply don't do it.

2012-06-01 13:01 VZ, revision 71622

Remove unnecessary dynamic cast in wxComboPopupWindow. Objects of this type are either always of wxPopupTransientWindow type, in which case just a static_cast<> is enough and we don't need a dynamic one, or is never of its type in which case this code shouldn't be compiled and if it is, then static_cast<> will correctly fail preventing it from compiling.

2012-06-01 13:01 VZ, revision 71621

Don't reset previous window event handler in PopEventHandler(). This is harmless but also useless as the previous event handler of a wxWindow is always NULL anyhow, so simply don't do this. This is consistent with PushEventHandler() which doesn't call SetPreviousHandler() for the window itself neither. Closes #14353.

2012-06-01 13:01 VZ, revision 71620

Fix wxMac preprocessor check in wxWebView code. Fix typo in "__WXMAC__" in wxWebView under wxOSX/Carbon and also in wxWebKitCtrl from where this code was copied. Closes #14352.

2012-06-01 13:00 VZ, revision 71619

No changes, just refactor wxGrid::Render() to simplify it. Introduce a couple of new helpers to make the main Render() function smaller and more clear. Closes #14347.

2012-05-31 18:29 PC, revision 71616

silence warning about converting NULL to wxUIntPtr

2012-05-31 18:28 PC, revision 71615

silence warning about __WXMSW__ not defined

2012-05-30 21:21 RD, revision 71610

A patch adding wxHTMLDataObject which can be used for handling the standard platform formats for transfering HTML formatted text.

2012-05-30 06:20 SC, revision 71604

fixing build with wxUSE_PROTOCOL = 1 and wxUSE_SOCKETS = 0

2012-05-30 05:13 RD, revision 71595

Adjust the client area origin and the client size of the MSW wxStaticBox according to the guidelines on http://msdn.microsoft.com/en-us/library/aa511279.aspx. This is so widgets that are children of the static box will not overlap the label or box borders.

2012-05-30 05:13 RD, revision 71594

Interface fixes for Phoenix

2012-05-29 17:26 SC, revision 71588

adapting char event handling to msw / gtk, see #13415, see #14197

2012-05-29 17:24 SC, revision 71587

clang compat.

2012-05-29 17:18 SC, revision 71586

clang compat.

2012-05-28 21:38 VZ, revision 71579

Improve wxDatePickerCtrlGeneric best size calculation. Make the control just wide enough to fully show the contents of its text part. This is still not ideal as we don't take into account wxComboCtrl internal complications but better than before. Closes #14342.

2012-05-28 14:52 VZ, revision 71578

Fix bug in wxAutomationObject introduced by r71574. Check that we have any arguments, expression oleArgs[0] is invalid otherwise. Closes #14343.

2012-05-27 15:00 VZ, revision 71577

Add wxGrid::Render() for drawing the grid to any wxDC. In particular, this allows to print the grid contents easily. Closes #14294.

2012-05-27 15:00 VZ, revision 71576

Add wxGrid::DrawRangeGridLines(). This method draws only the grid lines for the cells in the specified range and not for all of them. It is not used yet but will be by the upcoming wxGrid::Render(), see #14294.

2012-05-27 15:00 VZ, revision 71575

No changes, just refactor wxGrid::DrawAllGridLines(). Extract the actual drawing of the lines into a new DoDrawGridLines() method. This will be used by the upcoming commits for drawing grid lines for a part of the grid only, see #14294.

2012-05-27 15:00 VZ, revision 71574

Fix memory leaks in wxAutomationObject::Invoke(). Use wxVector<>, wxBasicString and wxOleVariantArg instead of raw arrays, BSTR and VARIANT to ensure that different objects allocated by this function are always freed when it exits. Closes #14293.

2012-05-26 16:17 JS, revision 71572

Added full scaling to wxRTC

2012-05-26 14:29 VZ, revision 71571

Fix bug with unloading wxPluginLibrary objects in "wrong" order. wxPluginLibrary objects had to be unloaded in exactly the reverse order to which they were loaded in. This was not documented and was a serious limitation for any realistic use of plugins anyhow, so fix it and allow unloading them in any order now. Instead of keeping a pointer to the last wxClassInfo not created by this plugin, now keep a pointer to the first wxClassInfo that was created by it. This makes the code slightly more complex but this pointer, unlike the old one, remains valid even if another plugin was unloaded. Closes #14261.

2012-05-26 14:29 VZ, revision 71570

Refactor SAFEARRAY creation code in wxConvertStringFromOle(). No changes, just make the code simpler and more obviously correct by using a helper class to create and fill the SAFEARRAY that we create. Closes #14296.

2012-05-26 14:29 VZ, revision 71569

Fix DrawChoice() behaviour in wxRendererXP. The implementation of wxRendererXP::DrawChoice() inadvertently used wxRendererMSW::DrawComboBoxDropButton() and so drew the button in the classic and not themed style. Fix this by defining DrawChoice() in the base wxRendererMSWBase class and reusing it in wxRendererXP via inheritance and not composition. Closes #14337.

2012-05-26 14:29 VZ, revision 71568

Remove private headers from files.bkl. Private headers are not supposed to be installed because they are only use when building wxWidgets itself, so don't list them in files.bkl.

2012-05-26 14:29 VZ, revision 71567

Move include/wx/osx/private/objcid.h to include/wx/osx/core. This header is used by public headers and hence is not really private, move it to a better place and add it to the list of OSX headers in the bakefile. Closes #14339.

2012-05-25 19:02 VZ, revision 71563

Add wxDataViewListCtrl::GetItemCount(). This method is convenient and (almost, except for the return value) compatible with wxListCtrl. See #11088.

2012-05-25 19:02 VZ, revision 71562

Add wxDataViewListCtrl::{Set,Get}ItemData() methods. These methods are convenient when migrating the code that previously used wxListCtrl to wxDataViewCtrl. Closes #11088.

2012-05-25 19:02 VZ, revision 71561

Use wxUIntPtr instead of wxClientData in wxDataViewListCtrl. Do not delete the client data in wxDataViewListCtrl, this class mainly exists for compatibility with wxListCtrl and as the latter doesn't delete its client data, neither should the former. See #11088.

2012-05-25 11:48 VZ, revision 71560

Remove redundant wxAuiNotebook methods already present in wxBookCtrlBase. wxAuiNotebook already inherits perfectly workable AdvanceSelection() and GetCurrentPage() methods from wxBookCtrlBase, no need to reimplement them in it. See #14309.

2012-05-25 11:48 VZ, revision 71559

Don't send a huge number of unneeded wxChildFocusEvents. wxControlContainer::SetLastFocus() propagated wxChildFocusEvent explicitly to its parent but this is not needed because wxChildFocusEvents propagate by default, being derived from wxCommandEvent. And doing it again resulted in the total number of events increasing exponentially with the depth of the window hierarchy and real performance problems due to processing all of them. Closes #14310.

2012-05-25 11:48 VZ, revision 71558

Suppress warnings about gnome_print_dialog_get_range() return type. This function seems to be declared incorrectly and while it actually does return the values we compare its return value with, it's prototyped with a wrong enum as return type, so explicitly cast it to int to avoid warnings from recent g++ versions. See http://thread.gmane.org/gmane.comp.lib.wxwidgets.devel/115782/focus=115955

2012-05-25 11:48 VZ, revision 71557

Fully implement wxStyledTextCtrl::PositionToXY(). Fill in the column parameter too now. Closes #14332.

2012-05-25 11:48 VZ, revision 71556

Fix calculation of wxStyledTextCtrl selection size in GetSelectedText(). Do the same changes as were done in r71540 to GetSelectedTextRaw() in GetSelectedText() itself by modifying the code in gen_iface.py that generates it. Closes #14331.

2012-05-25 11:48 VZ, revision 71555

Several fixes for wxAffineMatrix2D transformations. Correct errors in TransformPoint() and TransformDistance(). Change Rotate() to interpret positive angles as rotating clockwise, for consistency with wxGraphicsContext::Rotate(). Improve the unit test to verify that all the transformations work correctly. Closes #14334.

2012-05-25 01:26 RD, revision 71549

Changes to allow these build scripts to use python3

2012-05-25 01:26 RD, revision 71548

Interface fixes for Phoenix

2012-05-25 01:21 VZ, revision 71547

Document that SetFocus() can't be called from EVT_KILL_FOCUS handler. Also explain how to use wxIdleEvent for "delated action". See #14335.

2012-05-23 23:16 VZ, revision 71546

Fix wxBase compilation with UTF-8-based wxString under MSW. Use wxString::t_str() instead of wx_str() in Windows API function calls. Closes #14325.

2012-05-23 23:16 VZ, revision 71545

Don't use wxCHECK_W32API_VERSION() in #if when it can be undefined. wxCHECK_W32API_VERSION() is only defined when using MinGW, don't use it an #if test which is always parsed but only in a separate test inside #ifdef __GNUG__ test which is parsed only when we do use MinGW. This fixes harmless but annoying warning from MSVC 10.

2012-05-23 23:16 VZ, revision 71544

No real changes, just slightly simplify HasAppKit_10_6() function. Remove redundant check for version == -1. See #13831.

2012-05-23 23:16 VZ, revision 71543

Compilation fix for wxUSE_STL && !wxUSE_STL_BASED_WXSTRING build. Don't rely on implicit wxString to "const char*" conversion in Replace(). Closes #14327.

2012-05-23 23:16 VZ, revision 71542

Document that wxClipboard::Flush() is not implemented in wxGTK. See #10515.

2012-05-23 23:16 VZ, revision 71541

Document "raw control" use with accelerators. Mention it in the places where the other accelerator prefixes are documented. See #13496.

2012-05-23 23:16 VZ, revision 71540

Fix calculation of the wxStyledTextCtrl selection size. Use SCI_GETSELTEXT to compute the size of the buffer instead of doing it ourselves, especially as we do it incorrectly in case of rectangular selection. Closes #14331.

2012-05-23 23:16 VZ, revision 71539

No real changes, just backwards propagate the changes to stc.cpp. Apply the changes done directly to stc.cpp in r71428 and r71429 to the script generating this code.

2012-05-23 22:36 VZ, revision 71538

Fix removing event handler filters in wxEvtHandler. Removal from the simply linked list of event filters wasn't done correctly as the pointer to the previous node was never updated.

2012-05-22 09:37 JJ, revision 71535

Fix compilation when wxUSE_DRAG_AND_DROP=0

2012-05-22 02:17 RD, revision 71525

Interface fixes for Phoenix

2012-05-21 10:39 JJ, revision 71521

Allow for compilation with wxUSE_TOOLTIPS=0

2012-05-21 10:31 JJ, revision 71520

Add aui-capability top wxMOTIF for OpenVMS

2012-05-20 23:58 RD, revision 71519

Interface fixes for Phoenix

2012-05-20 22:29 VZ, revision 71518

Fix 62 harmless but annoying Clang warnings in wxOSX build. Clang warns about using letters and digits in a switch on wxKeyCode enum which doesn't include them as elements. This is generally useful but really annoying in this case, especially due to the sheer number of warnings, so disable it using Clang-specific pragma.

2012-05-20 22:29 VZ, revision 71517

Use wxObjCID instead of "struct objc_object*" to fix clang build. Clang doesn't accept "struct objc_object*" as synonym for "id" in Objective-C code, so use the real "id" for it while still using the struct pointer for C++ code where "id" is not defined. Closes #13565.

2012-05-20 22:29 VZ, revision 71516

Add support for task bar icon tooltips to wxOSX version. Set the tooltip used for the icon in wxOSX/Cocoa version of wxTaskBarIcon. Closes #14298.

2012-05-20 22:29 VZ, revision 71515

Improve check for OS X version in Cocoa wxFileDialog implementation. A library using wxWidgets linked with 10.6 SDK might be loaded into an application loading 10.5 version of AppKit in which case 10.6-specific functions shouldn't be used. Check for the AppKit version effectively in use instead of just checking for the system version. Closes #13831.

2012-05-20 22:29 VZ, revision 71514

Reset wxDialog::m_modality sooner in wxOSX. Change the internal flag to wxDIALOG_MODALITY_NONE before sending wxEVT_WINDOW_MODAL_DIALOG_CLOSED event. This ensures that if the dialog is shown again from this event handler it works correctly. Closes #13951.

2012-05-20 22:29 VZ, revision 71513

Implement wxStackWalker for wxOSX. Use atos(1) to map address to their symbolic names. Closes #10067.

2012-05-20 22:29 VZ, revision 71512

Fix menu sample compilation under wxOSX. Include copy.xpm under all platforms as all of them support (even though without necessarily implementing it) wxMenuItem::SetBitmap() now.

2012-05-20 22:29 VZ, revision 71511

Fix crash on destruction of wxDataViewCtrl in wxOSX. The control remained associated to the model so a dangling pointer could be used if the model was destroyed after the control. Fix this by removing the control from the model list of notifiers when it is destroyed. Closes #14124.

2012-05-20 21:47 VZ, revision 71510

Really fix compilation in !wxUSE_LOG_DEBUG && !HAVE_VARIADIC_MACROS case. Fix the fix of r71502, we need the variable declaration when not using HAVE_VARIADIC_MACROS.

2012-05-20 15:08 VZ, revision 71509

Remove non-existent section from Unicode overview TOC. This section is now just a subsection, don't list it in the table of contents.

2012-05-20 15:06 JS, revision 71508

Don't use deprecated font family style

2012-05-20 15:04 VZ, revision 71507

Compilation fix for wxRichTextCtrl. Don't use wxDEFAULT, there is no match for wxFont ctor taking wxSize and it, use wxFONTFAMILY_DEFAULT instead. Also remove the unnecessary .c_str() from the same wxFont ctor call, there is really no reason at all to have it there.

2012-05-20 14:30 VZ, revision 71506

Fix harmless warning from g++ 4.8 in C11 mode. g++ 4.8 recognizes "cpu" in WX_CC_MANIFEST expansion as a user-defined literal suffix, add spaces around it to prevent this from happening.

2012-05-20 14:25 JS, revision 71505

Added pixel size capability to wxTextAttr and wxRichTextCtrl. Fixed composite object positioning in centred and right-aligned paragraphs. Added field example to sample, and enabled pixel font size selection. Added custom text and dimension scaling.

2012-05-19 18:49 VZ, revision 71502

Fix compilation in !wxUSE_LOG_DEBUG && !HAVE_VARIADIC_MACROS case. Define the "unused" variable unless wxLogDebug() calls are variadic macros (not evaluating their arguments at all) and not functions. Fixes compilation broken since r71466.

2012-05-19 18:49 VZ, revision 71501

Fix compilation in wxUSE_STL=1 build after r71467. Restore explicit conversion of wxString to char*, there is no implicit conversion in wxUSE_STL build. Use utf8_str() instead of c_str() removed by r71467 however as this is what we need for wxGTK.

2012-05-19 16:24 SC, revision 71500

removing unnecessary - and incorrect - override, fixes #14319

2012-05-19 15:17 SC, revision 71499

adjusting min requirements

2012-05-19 08:33 SC, revision 71498

fixes #14318

2012-05-19 08:21 RD, revision 71493

Add interface and simple docs doe wxOverlay and wxDCOverlay.

2012-05-19 08:21 RD, revision 71492

Add some missing setters for wxRect.

2012-05-19 08:21 RD, revision 71491

Interface fixes for Phoenix

2012-05-18 21:54 RD, revision 71483

10.5 is the minimum SDK for both OSX ports now

2012-05-18 21:54 RD, revision 71482

Interface fixes for Phoenix

2012-05-18 13:09 SC, revision 71481

fixing c++11 build

2012-05-18 12:35 SC, revision 71480

fixing c++11 build

2012-05-18 12:34 SC, revision 71479

fixing c++11 build

2012-05-18 11:56 SC, revision 71478

fixing c++11 build

2012-05-18 11:56 SC, revision 71477

fixing c++11 build

2012-05-17 18:10 VZ, revision 71470

Improve wxDir::Traverse() documentation. It didn't describe wxDIR_FILES correctly and didn't mention OnOpenError().

2012-05-17 18:10 VZ, revision 71469

Fix wrong format specifiers in the samples. Use "%ld" instead of "%d" to format long values, using "%d" results in an assert failure under LP64 systems as int and long have different sizes there. Closes #14311.

2012-05-17 17:46 PC, revision 71468

mark virtual overrides as virtual

2012-05-17 17:46 PC, revision 71467

remove some unnecessary c_str() calls

2012-05-17 17:45 PC, revision 71466

eliminate unused variable warning with wxUSE_LOG_DEBUG==0

2012-05-17 17:29 PC, revision 71465

Remove use of "size-request" signal for wxWindow sizing. This signal has been removed from GTK3. Instead have wxPizza keep track of child size, and use gtk_widget_set_size_request() for wxWindows in native containers.

2012-05-17 04:47 RD, revision 71459

Interface fixes for Phoenix

2012-05-16 17:10 VZ, revision 71443

Make variable containing port number an ushort in the sockets sample. A port number is an unsigned short, not long, so don't make it long just because wxCmdLineParser doesn't provide a convenient way to get the value of an unsigned short option (it would be nice if it did...). This fixes the problem with using "%d" format specifier with a long variable as this resulted in an assert under LP64 systems. See #14311.

2012-05-16 17:10 VZ, revision 71442

Fix wxWakeUpIdle() in Unix console application broken by r71089. Initialize m_pipeIsEmpty to true as we don't have anything in the pipe initially and if this variable was false, nothing was ever written to the wake up pipe and it was never set to true as nothing was read from it neither. Closes #14166.

2012-05-16 15:24 VZ, revision 71441

Don't use printf() with non-literal string as format. Replace calls to printf() with puts() in the typetest sample. See #14311.

2012-05-16 12:59 JS, revision 71440

The object size page now has full position attribute editing.

2012-05-15 12:04 VZ, revision 71439

Fix pasting large amounts of text in wxGTK. We need to process GDK_PROPERTY_NOTIFY events when yielding for wxEVT_CATEGORY_CLIPBOARD, otherwise we never receive large selections. As GDK_PROPERTY_NOTIFY can be also used for non-clipboard stuff, exceptionally assign 2 categories to it and process it in either case. Closes #14284.

2012-05-15 12:04 VZ, revision 71438

Correct the documentation of wxSpinCtrl initial and value arguments. It does make sense to specify "initial" if "value" is empty. See #13589.

2012-05-15 12:04 VZ, revision 71437

Add support for wxArrayString to wxVariant-to-OLE conversion. This allows to call COM methods taking arrays of strings easily. Also remove support for the old and non-existent any more "stringlist" variant type. And add more error checking. Closes #14296.

2012-05-15 12:04 VZ, revision 71436

Enable variadic macros for VC9 and later. VC9 and 10 support variadic macros so define HAVE_VARIADIC_MACROS for them too. This currently only affects wxLog{Debug,Trace} definitions in wx/log.h.

2012-05-15 12:03 VZ, revision 71435

Fix keyboard navigation in wx{List,Choice,Tree,Tool}book controls. Inherit from wxNavigationEnabled<wxBookCtrlBase> instead of just wxBookCtrlBase to ensure that the keyboard navigation works correctly for these controls. The toolbar in wxToolbook still doesn't accept focus from keyboard but at least the pages can be TAB-bed too and from. And the rest of the controls are now fully accessible using only the keyboard. Closes #14303.

2012-05-15 12:03 VZ, revision 71434

Use iterators instead of indices in wxStripMenuCodes(). Make the function more efficient when using UTF-8 wxStrings by using iterators instead of indices in the loop searching for "&". Closes #14307.

2012-05-14 19:23 JS, revision 71433

Clear styles popup if there is no style sheet

2012-05-14 00:13 VZ, revision 71432

Simplify wxEventLoopManual pending events processing logic. Don't try to process any remaining pending events in ProcessEvents() itself as this was inconsistent: we only processed low-level toolkit pending events in the main event loop itself if the loop was exited from a normal event handler but only processed the wxApp-level pending events if it was exited from a pending event handler. It also required more code than the new version that simply processes all the remaining pending events, of both kinds, after the main event loop termination. This corrects changes of r71304 and replaces those of r71329. Closes #14250.

2012-05-14 00:05 VZ, revision 71431

Fix wxDateTime unit test after the changes of r71430. Don't test the return value of ParseFormat(wxCStrData) any more as this function is void now.

2012-05-13 23:37 VZ, revision 71430

Don't return a dangling pointer from wxDateTime::ParseXXX(wxCStrData). We don't have any sufficiently long-lived pointer to return from this overload, so don't return anything from it -- it's better to break the compilation of the existing code rather than make it crash during run-time. Closes #14214.

2012-05-13 23:37 VZ, revision 71429

No changes, just simplify the code using wx2stc() a little. Assign wx2stc() return value to a suitably const variable instead of using ugly casts to get rid of constness. Also use wxCharBuffer/char* explicitly inside explicit wxUSE_UNICODE checks, using wxWX2MBbuf here doesn't gain us anything and just confuses the reader of this code.

2012-05-13 23:37 VZ, revision 71428

Fix wxStyledTextCtrl compilation in non-Unicode build. The value returned by wx2stc() in non-Unicode build is a simple "char*" and we can't call length() method on it, add a helper wx2stclen() function to get the length from the original wxString itself in this case. Closes #14013.

2012-05-13 23:37 VZ, revision 71427

Don't assert if no icon is specified for a wxDataViewCtrl item. An item in a column using wxDataViewIconTextRenderer might not have any valid icon associated with it, don't assert in case it doesn't in the native GTK version. Notice that the generic wxDataViewCtrl implementation already supports this but not perfectly: no space is reserved for the icon in the images without one, so giving the image to only some of them looks ugly. The GTK version aligns both the items with and without icon properly and simply leaves the image part blank and it would be better to modify the generic version to do the same thing in the future.

2012-05-13 23:37 VZ, revision 71426

Minor change to wxString pretty-printer for gdb. Calling string() explicitly isn't necessary, at least not with gdb 7.2, and is actually harmful when using Python 2.5 (which doesn't support UTF-32) with wide strings.

2012-05-13 23:37 VZ, revision 71425

Don't handle branches specially when sorting items in wxDataViewCtrl. The generic version of wxDataViewCtrl tried to put all branches before the leaves when sorting. This had a couple of problems: first, it didn't do it correctly and actually placed the branches after the leaves which didn't make any sense. Second, this was only done in the generic version and not the native GTK one making the behaviour inconsistent between platforms. Finally, this behaviour just doesn't make sense in general (i.e. when items don't necessarily represent anything in the file system and maybe even sometimes when they do) and there doesn't seem any good reason to do it by default. So stop doing it, partially reverting the changes of r47562. Closes #14100.

2012-05-13 15:17 VZ, revision 71424

Disable the use of UTF-8 by default in Unix builds. Add up-to-date description of UTF-8 support to the Unicode overview.

2012-05-13 15:17 VZ, revision 71423

Remove wxDECLARE_APP() from wxIMPLEMENT_APP_NO_MAIN(). There is no need for a separate declaration inside wxIMPLEMENT_APP() as wxGetApp() is defined by it and redeclaring it immediately after definition results in a warning with some compilers/environments (Eclipse CDT). The move of wxGetApp() to the beginning of the macro is only to ensure that a semicolon is still required after wxIMPLEMENT_APP_NO_MAIN() and the other macros terminating with it, such as wxIMPLEMENT_APP() itself.

2012-05-12 00:15 JS, revision 71419

Fixed layout and hit-testing problem particularly with centred lines

2012-05-12 00:10 VZ, revision 71418

Document that wxEVT_COMMAND_DATAVIEW_COLUMN_REORDERED is OSX-specific. This even is not generated by neither generic nor GTK version right now. See #14297.

2012-05-12 00:10 VZ, revision 71417

Fix extra event sent by wxTextEntry::ChangeValue() since r71308. The changes of r71308 sent the event unconditionally in case the text didn't really change but no events should be sent if the flags don't include SetValue_SendEvent, add a check for it. Re-closes #13936.

2012-05-12 00:06 RD, revision 71416

Enable access to the native bitmap object wrapped by wxGraphicsBitmap

2012-05-12 00:06 RD, revision 71415

Ensure a 32-bit cairo surface is created if it is needed

2012-05-11 08:28 SC, revision 71414

fixes SetFirstItem, Thanks to David Wright

2012-05-11 00:38 RD, revision 71402

More interface fixes for Phoenix

2012-05-11 00:34 RD, revision 71401

Add wxFormatInvalid, and tweak the docs for wxDataObject::GetDataHere and SetData

2012-05-11 00:34 RD, revision 71400

Add doc for wxCliboard::Get

2012-05-10 13:59 JS, revision 71399

Added wxRichTextXMLHandler::RegisterNodeName so custom content classes can be added without breaking XML loading

2012-05-10 13:53 VZ, revision 71398

Set LF EOL style for setup.h.in file. This file is only used under Unix so should have Unix EOLs, e.g. to allow building Unix ports from the sources checked out under Windows. Closes #14266.

2012-05-09 19:16 VZ, revision 71397

Add missing wx/scopeguard.h include to fix the build. Closes #14285.

2012-05-09 16:24 VZ, revision 71396

Fix wxGenericListCtrl best size calculation in report view. Just let the base class do it instead of using hard coded default value in wxGenericListCtrl::DoGetBestClientSize().

2012-05-09 16:24 VZ, revision 71395

Unconditionally define IID_IShellItem in wxMSW sources. This GUID may not be defined in uuid.lib even when __IShellItem_INTERFACE_DEFINED__ is defined in the headers, so just define it always to avoid any problems. Closes #14244.

2012-05-09 16:24 VZ, revision 71394

Implement constrained best size calculation in wxMSW wxListCtrl. This fixes wxListbook controller size to avoid spurious scrollbars. Closes #13898.

2012-05-09 16:24 VZ, revision 71393

Improve wxBookCtrlBase controller size calculations. Use GetBest{Height,Width}() in wxBookCtrlBase to compute the controller control size height/width from its known (from wxBookCtrlBase size itself) width/height. This will allow to correctly compute the size of wxListCtrl used by wxListbook once it provides the necessary support for width-from-height and height-from-width calculations. See #13898.

2012-05-09 16:24 VZ, revision 71392

Add wxWindow::GetBest{Height,Width}(). These functions will be used when it is necessary to determine the best size of the control if one of its size components is fixed. Currently none of the classes implements DoGetBestClient{Height,Width}() yet but wxListCtrl will do it soon, see #13898.

2012-05-09 16:24 VZ, revision 71391

Improve wxWindow best size documentation, mention DoGetBestClientSize(). Custom classes should typically override DoGetBestClientSize() instead of DoGetBestSize() to avoid having to deal with the borders. Also don't reference the deprecated SetInitialBestSize() unnecessarily and document its non-deprecated replacement.

2012-05-09 16:24 VZ, revision 71390

Mention wxFoobookEvent change from classes to #defines in the change log. These classes can't be forward-declared any more as they're not really classes any longer but just compatibility #defines and can't be made classes again as this would break the existing code using wxBookCtrlEvent in 2.9. See #14242.

2012-05-09 16:24 VZ, revision 71389

Allow entering more digits in wxSpinCtrl in wxMSW than fits into it. Scroll the control automatically if there is not enough space. This is consistent with (single line) wxTextCtrl and wxSpinCtrl under the other platforms. Closes #14211.

2012-05-09 16:24 VZ, revision 71388

Attach MDI "Window" menu to the parent frame menu bar in wxMSW. This makes sense and fixes the regression with "Window" menu commands not being processed any more after the changes of r71114. Closes #14207.

2012-05-09 16:24 VZ, revision 71387

Correct the initial value setting in wxMSW wxSpinCtrl. Always use value argument for the text control contents and also override the initial numeric value with it if it's numeric. This seems to be the only consistent thing to do, so document this behaviour and add a unit test checking for it. Closes #13589.

2012-05-09 16:24 VZ, revision 71386

Remove assert checking bitmap size in wxMenuItem drawing code in wxMSW. This assert was fatal, as usual when asserting from a WM_PAINT handler, as the function was reentered resulting in nested asserts and program abort, so remove it to at least let the program continue to run even if there is not enough space for the bitmap in the menu. There is, of course, still something wrong with the menu geometry calculations if this happens but I can't even reproduce this any more so not sure what exactly. See #11657.

2012-05-09 16:24 VZ, revision 71385

Fix creation of wxBitmap from wxIcon in wxMSW: premultiply the pixels. wxBitmap in wxMSW is supposed to store its data in alpha-premultiplied format but didn't do it when it was created from an icon (or a cursor), resulting in wrong display of wxIcons with alpha channel when they were used for e.g. menu items. Fix this by ensuring that the data is always premultiplied. This is not the best solution as in some cases (e.g. if this wxBitmap is added to wxImageList later) we could need to undo this premultiplication later which is quite inefficient but at least it's simple and straightforward. Closes #11414.

2012-05-09 16:24 VZ, revision 71384

Fix wxString unit test when not using UTF-8. Restrict the tests added in r70987 to run when using UTF-8 strings only, they test for something that is simply not true (and for a bug that can't happen) with non-multibyte encodings.

2012-05-09 16:24 VZ, revision 71383

Fix compilation of wxVariant code with VC6. This was broken by the changes in r71196 as the original VC6 SDK doesn't define VARIANT::llVal. See #14210.

2012-05-09 16:24 VZ, revision 71382

Use better face names first in wxGTK wxNativeFontInfo::SetFamily(). Try better matches and not the most widespread ones first when building a list of face names to try for the given family. This gives better results when these better fonts are indeed available and doesn't change anything if they are not. See #14126.

2012-05-09 16:24 VZ, revision 71381

Check that item ID is initialized when inserting it in wxListCtrl. Using uninitialized ID happened to work by accident with 2.8 but it doesn't work any more, try to detect this as early as possible and give a clear explanation of why it doesn't to help fixing the broken code that used to accidentally work.

2012-05-09 16:23 VZ, revision 71380

Fix wxStaticBitmap best size calculation in wxMSW. Take the control borders into account by overriding DoGetBestClientSize() instead of DoGetBestSize(). Also invalidate the default best size computed before we have any valid image when setting the initial image in Create(). Closes #4099.

2012-05-09 13:06 JS, revision 71379

Added field implementation

2012-05-08 19:31 JS, revision 71378

Moved default margins to buffer class Init; reduced chance of accidental selection when clicking

2012-05-07 17:47 JS, revision 71377

Corrected top-level object layout in paragraphs

2012-05-07 15:13 JS, revision 71376

Fixed inconsistent calculation of line height in paragraph layout

2012-05-07 15:12 VZ, revision 71375

No real changes, just fix some typos in comments. Closes #14276.

2012-05-07 15:12 JS, revision 71374

Added non-breaking space to whitespace check

2012-05-07 15:12 VZ, revision 71373

Use XkbKeycodeToKeysym() instead of deprecated XKeycodeToKeysym(). XKeycodeToKeysym() is deprecated in new X11 headers because it doesn't work correctly with all symbols (https://bugs.freedesktop.org/show_bug.cgi?id=5349). Use XkbKeycodeToKeysym() instead, this should help with some keys and also avoids deprecation warnings during compilation.

2012-05-07 15:12 VZ, revision 71372

Create a wrapper file for X11/XKBlib.h header. We need some hacks for the older systems before including this header, extract them from src/x11/utilsx.cpp into a new private header to be able to reuse it from wxGTK in the next commit.

2012-05-07 14:23 VS, revision 71371

Make wxDocTemplate::CreateDocument() exceptions-safe. Don't create the document object if InitDocument() throws.

2012-05-07 13:15 VS, revision 71370

Fix performance of wxHtmlParser::SkipCommentTag() in UTF-8 build. Avoid computing the difference between two potentially distant iterators, which is O(1) in wchar_t build, but O(n) in UTF-8 one. See #13445.

2012-05-06 18:56 VS, revision 71368

Fix r71367: don't set bgCol twice needlessly.

2012-05-06 15:10 VS, revision 71367

Fix wxOwnerDrawnComboBox background on with classic theme. In wxMSW, if the classic theme was used, read-only wxOwnerDrawnComboBox had gray background, but native look should be the same for both editable and read-only combo boxes: white text entry-like rectangle. Apparently, a similar problem existed with non-classic themes too before, as there was a workaround in place. Fixed by moving the workaround into code used by both themed and classic rendering.

2012-05-05 16:09 VZ, revision 71366

No changes, just spelling corrections in the comments. Closes #14275.

2012-05-05 13:22 VZ, revision 71365

Update the field widths on demand in wxStatusBarGeneric. This ensures that the value returned from GetFieldRect() is always up to date, even when this method is called from the user-defined wxEVT_SIZE handler, i.e. before our own OnSize() could run. Also remove the now unneeded hack with calling the base class OnSize() from the statbar sample. Closes #14268.

2012-05-05 07:32 SC, revision 71364

fixes crashes with embedded controls in toolbars after toolbar destruction, code was moved in r62988, but apparently Destroy doesn't have to be called, so do a last check, fixes #14258

2012-05-05 00:20 VZ, revision 71363

Don't return NULL widget from wxFileCtrl page of widgets sample. This makes all the common operations such as setting tooltip, colours &c on this page simply crash.

2012-05-05 00:20 VZ, revision 71362

Derive wxGenericFileCtrl from wxControl. wxFileCtrl -- which can be #define'd as wxGenericFileCtrl -- is documented to inherit from wxControl and does derive from it in the native GTK version, so do it for the generic version too.

2012-05-04 22:35 VZ, revision 71361

Improve documentation of wxDataViewCtrl mouse event handling. Explain that catching mouse events directly doesn't work. Also make it clear that double clicking an item can be caught by processing wxEVT_COMMAND_DATAVIEW_ITEM_ACTIVATED. See #14111.

2012-05-04 22:35 VZ, revision 71360

Fix precompiled headers use with MSVC in wxGTK sources. Don't use PCH for C sources, do include wx/wxprec.h from all wxGTK C++ sources. Closes #14224.

2012-05-04 22:35 VZ, revision 71359

Declare variables before doing anything else in C code. Don't put statements before variable declaration in C source file. This fixes compilation with non C99-compliant C compilers such as MSVC. See #14224.

2012-05-04 22:35 VZ, revision 71358

Allow using non-MSW toolkit in MSVC-specific auto-linking header. This makes it possible to auto-link wxGTK library when using MSVC too. Closes #14272.

2012-05-04 22:35 VZ, revision 71357

Define wxCONCATn() macro up to n=9 from n=5 previously. We'll need it for n=6 for the next commit, so increase the max value of n a bit more. See #14272.

2012-05-04 22:35 VZ, revision 71356

Use GTK-based wxWebView when using GTK+, not under Unix. Test for the GTK+ toolkit, not Unix platform to determine whether GTK+ wxWebView version should be used. Closes #14273.

2012-05-04 22:35 VZ, revision 71355

Add wxDir::GetNameWithSep() and use it to avoid consecutive slashes. It is wrong to use dir.GetName()+"/" to obtain a slash-terminated directory name as this results in (usually harmless but at best ugly) double slashes at at the beginning of the string for the root directory. Add GetNameWithSep() to obtain the correct result in all cases.

2012-05-04 22:35 VZ, revision 71354

Document wxTP_DEFAULT as a standalone constant. Make sure the declarations in the documentation header can be really parsed. Closes #14270.

2012-05-04 20:31 VZ, revision 71353

Don't remove the last slash from "/" directory name under Unix. This was totally wrong as it returned empty string as (invalid) directory name.

2012-05-04 01:30 RD, revision 71349

Add wxDropSource::SetIcon for wxGTK to mimic SetCursor on the other ports.

2012-05-04 01:30 RD, revision 71348

* Change "def" to defResult as def is a reserved word in Python * Correct some methods that were marked pure virtual but which aren't. * etc.

2012-05-04 01:30 RD, revision 71347

fix incorrect default values

2012-05-03 12:17 VZ, revision 71346

Document wxDataViewChoiceByIndexRenderer. At least briefly document this class too and not only its parent wxDataViewChoiceRenderer one. Closes #14265.

2012-05-03 12:17 VZ, revision 71345

No changes, just remove duplicate flags checks in wxUniv wxTLW. For some reason (rename of the old wxTHICK_FRAME to wxRESIZE_BORDER?) we tested for wxRESIZE_BORDER twice in a couple of places. Don't do it for clarity. Closes #14264.

2012-05-02 21:38 SC, revision 71344

use explicit WakeUp variant, too many errors using heuristics, fixes #14176

2012-05-02 21:30 SC, revision 71343

make WakeUp variant explicit, too many errors using heuristics, like #14176

2012-05-02 20:44 SC, revision 71342

fixes #14178

2012-05-02 16:44 DS, revision 71341

Fixed parts of toolbar background not being drawn with older comctl32.dll. When using comctl32.dll versions older than 6.0 toolbar icons would not have their background drawn. Fix this in a rough way by always completely erasing the background like was done before. Regression since r62971. Closes #13512.

2012-05-02 12:37 VZ, revision 71340

German translations update from Thomas Krebs. Closes #14262.

2012-04-30 16:51 VS, revision 71336

Fix destruction of wxDataViewCtrl's editor control. Don't pop event handler from the control more than once. See r70002 and r70005 (which this reverts) for reference. Fixes #14215.

2012-04-30 11:33 VS, revision 71335

wxDataViewCtrl: always update the header when col best width changes. Have an explicit per-column dirty flag and use that to determine whether we need to call wxHeaderCtrl::UpdateColumn(). Previously, the lack of computed best width was used as an indicator, but this didn't work correctly if some code called GetWidth() after invalidation but before wxDataViewCtrl::UpdateColWidths() was called at idle time. This resulted in header's column widths getting out of sync with the control itself. Fixes #14167.

2012-04-30 11:33 VS, revision 71334

Invalidate wxDataViewCtrl bests widths on expand/collapse. The best column widths are computed from "realized" items that are available as rows in wxDataViewCtrl. This information changes when a previously collapsed node is expanded and new items become available for column width calculation. Fixes #14167.

2012-04-30 11:33 VS, revision 71333

Respect minimal width in wxDataViewCtrl::GetBestColumnWidth(). See #14167.

2012-04-30 01:48 VZ, revision 71329

Work around the problem with not exiting event loop under MSW. Changes of r71304 broke the event loop termination under MSW, limit them to only the case in which they were really needed, i.e. when loop is really exited by a pending event handler. This is only a temporary solution, we need something better in longer term. See #14250.

2012-04-30 01:22 VZ, revision 71327

No changes, just refactor common IsSorted() tests in wxGTK wxDataViewCtrl. Add wxDataViewCtrlInternal::ShouldBeSorted() helper instead of testing for both IsSorted() and wxDataViewModel::HasDefaultCompare() in several places.

2012-04-30 01:22 VZ, revision 71326

No real changes, just make wxDataViewCtrlInternal::IsSorted() const. This is a simple accessor, should have been const since the beginning.

2012-04-30 01:22 VZ, revision 71325

Use PCH in the tests in all Windows ports and not only when using wxMSW. This change doesn't actually change anything for the "normal" ports as it only affects wxGTK/MSW which is not officially supported yet, so the make/project files are unchanged by it. Closes #14249.

2012-04-30 01:22 VZ, revision 71324

Added wxDataViewEvent::SetDragFlags() and GetDropEffect() methods. Allow specifying the drag operation flags and retrieving the drop effect when it's over for wxDataViewCtrl drag-and-drop. Currently this is only implemented in the generic version. Closes #12583.

2012-04-30 01:22 VZ, revision 71323

Set the data size in wxEVT_COMMAND_DATAVIEW_ITEM_DROP_POSSIBLE in wxGTK. Allow wxEVT_COMMAND_DATAVIEW_ITEM_DROP_POSSIBLE handler to examine the data being dragged by setting not only the pointer to it but also its size, as otherwise it's impossible to do anything with it. See #12583.

2012-04-30 01:22 VZ, revision 71322

Explicitly document wxDrag_XXX flags. They were mentioned in DoDragDrop() documentation but not documented on their own. Do it now to be able to refer to them from elsewhere.

2012-04-30 01:22 VZ, revision 71321

Remove internal only methods from wxDataViewEvent documentation. SetDataXXX() methods are only meant to be used by wxDataViewCtrl itself, so don't document them as part of public API. Their documentation was pretty useless anyhow as it didn't say anything not already contained in the method name.

2012-04-30 01:22 VZ, revision 71320

Restore 2.8 stock labels for wxID_PREVIEW inadvertently changed in 2.9. The wxID_PREVIEW labels were accidentally removed in r68641 and added back with a wrong/different label later. Restore the same one (or almost, just add an ellipsis at the end) that was used in 2.8. Closes #13906.

2012-04-30 01:22 VZ, revision 71319

Add a hack to prevent the test suite from aborting after Grid test case. There is a problem with the native header control still having the mouse capture when the grid is destroyed in wxGTK and this resulted in asserts when destroying the grid, nested asserts due to an exception being thrown from a dtor and finally abort that prevented the rest of the tests from running. As I failed to find the real reason for this problem, just forcefully ensure that we don't have the mouse capture when destroying the grid. This at least allows the complete test suite to run.

2012-04-30 01:22 VZ, revision 71318

Improve error reporting for nested asserts failures in the test suite. If an assert occurred while handling an exception generated by a previous assert handler, the information about the original assert was lost even if though it was more important than the secondary assert. Do preserve and show the original assert message in this case now.

2012-04-30 01:22 VZ, revision 71317

Work around wxDateTime::ParseFormat() problem in generic wxDateTimePickerCtrl. Due to a bug in wxDateTime::ParseFormat(), calling it with wxString::c_str() currently just crashes, so don't do this in generic wxDateTimePickerCtrl code. The real fix is, of course, to correct the bug in wxDateTime itself but for now this at least prevents the crash when executing the test suite. And using c_str() here is unnecessary anyhow. See #14214.

2012-04-30 01:22 VZ, revision 71316

Preserve wxComboBox selection when modifying the selected item in wxGTK too. This does the same thing as r70018 did for wxMSW but for wxGTK, i.e. it keeps the combo box item selected when its text is modified. This fixes [Bitmap]ComboBox unit tests under wxGTK. See #13769.

2012-04-30 01:21 VZ, revision 71315

Enable wxComboBox::SetString() test in the widgets sample. It was disabled because it wasn't implemented for wxGTK at some time in the past -- but it is implemented now, so there is no reason to not allow testing it.

2012-04-29 11:36 VS, revision 71314

Don't use ancient -no-cpp-precomp flag on OS X. See http://trac.wxwidgets.org/ticket/14029 for a discussion of the problems it causes when using non-Apple compiler. Even for Apple's GCC, it does nothing these days and we no longer support OS X 10.3, so there's no point in continuing to use it. Fixes #14029.

2012-04-29 00:25 VZ, revision 71313

Make wxGTK code returning correct focus in popup menu presence more robust. Replace the changes of r69938 with an alternative and simpler solution: instead of playing games with gs_pendingFocus, which could break down if its old value became invalid while the menu was shown as happened if one of the menu commands resulted in this window being destroyed, just take the currently shown popup menu into account in DoFindFocus() itself. This should be safer as there is no danger of any dangling pointers here and is also simpler and more obviously correct. Closes #14103.

2012-04-29 00:25 VZ, revision 71312

Add missing "flags" argument to wxNotificationMessage ctor in wxMSW. It was impossible to specify the flags when creating wxNotificationMessage in wxMSW, cotrary to the other ports and the documentation. Fix this by adding the missing argument to the ctor and simply passing it to the base class one, we don't have to do anything else as the existing code already calls GetFlags() later so it should respect these flags without any more changes. Closes #14245.

2012-04-29 00:25 VZ, revision 71311

Fix crash in wxFileConfig when deleting last entry of the root group. This resulted in keeping a dangling pointer to the group line in wxFileConfigGroup and any attempt to use it after this resulted in a crash. Fix this by explicitly resetting the last line in this case. Also add a unit test for this scenario. Closes #14243.

2012-04-29 00:25 VZ, revision 71310

Make it possible to forward declare wx{Choice,Tool,Tree}bookEvent again. Don't use typedef for these classes as it makes it impossible to forward-declare them, just use #define instead as we already do for wxListbookEvent and wxNotebookEvent. This allows forward declaration and is also more consistent. Closes #12242.

2012-04-29 00:25 VZ, revision 71309

Use generic wxAboutBox() in wxUniv/GTK. The native GTK implementation is not used in wxUniv/GTK, so don't exclude the generic one as well. Notice that the same should be done for wxMSW and wxOSX too but we currently seem to use the native version even in wxUniv there. It would be better to consistently use the generic version in all wxUniv ports. Closes #14236.

2012-04-29 00:25 VZ, revision 71308

Don't change wxTextEntry value if it didn't really change. This is not only unnecessary but also can result in a kind of infinite loop when wxTextEntry::SetValue() is called from wxEVT_IDLE handler as really modifying the text results in another wxEVT_IDLE being generated and another call to SetValue() and so on while not doing it in the first place completely works around the problem and is also more efficient. Closes #13936.

2012-04-29 00:25 VZ, revision 71307

Run some wxTextCtrl unit test cases for single and multi-line controls. Some of the tests that were previously ran for single or multi-line controls only actually apply to both of them, so run them for both kinds of control to test that both of them work correctly.

2012-04-29 00:24 VZ, revision 71306

No changes, just refactor wxTextCtrl unit test case. Allow running the same tests for both single and multi-line controls easily. No real changes yet though, the tests are still ran for the controls with the same styles as before for now.

2012-04-29 00:24 VZ, revision 71305

Recognize wxDefaultDateTime in gdb wxDateTime pretty-printer. Trying to print an uninitialized/invalid wxDateTime in gdb resulted in an error (Python exception from datetime module), recognize it specially now.

2012-04-29 00:24 VZ, revision 71304

Don't block in wxEventLoopManual::Dispatch() if loop was exited. If Exit() was called from a handler for one of the pending events we could reenter Dispatch() and block there indefinitely if no other events were coming and this was exactly what happened in wxFileSystemWatcher unit test, preventing it from ever running to completion under Unix. Fix this by checking m_shouldExit after executing the pending handlers and before calling Dispatch().

2012-04-29 00:24 VZ, revision 71303

Add a gdb pretty-printer for wxFileName objects. This pretty-printer works by calling the C++ wxFileName::GetFullPath() directly instead of interpreting the object data from gdb because this is much simpler to do, so it can only be used when debugging live programs. If this is a serious restriction, it would need to be changed to use gdb data access only later.

2012-04-29 00:24 VZ, revision 71302

Fix harmless warnings about hiding base class virtual in dialogs sample. GetTitle() added in r71213 resulted in virtual function warnings from g++, fix them by renaming it to GetBoxTitle().

2012-04-29 00:24 VZ, revision 71301

Don't use too big width for wxHtmlHelpWindow navigation panel. The width of the navigation panel in wxHtmlHelpWindow could become arbitrarily high if long items used. Avoid this by using a reasonably large but not too big minimal width instead of determining it automatically from the items width. Closes #13754.

2012-04-29 00:24 VZ, revision 71300

Fix erasing wxHtmlWindow background in wxUniv. Prevent the default wxWindow-level wxEVT_ERASE_BACKGROUND handler from being used in wxUniv for wxHtmlWindow. This is unnecessary as it has its own handler anyhow and also doesn't work for some reason as erasing wxMemoryDC by drawing a solid rectangle over it seems to be broken in at least wxX11. Work around this problem by erasing the background in wxHtmlWindow itself if no user-defined (as opposed to any, including one defined in wxWindow itself) handler for this event exists. Closes #13880.

2012-04-29 00:24 VZ, revision 71299

Handle kCGImageAlphaNoneSkipFirst correctly in wxOSX wxBitmap code. The code tested twice for kCGImageAlphaNoneSkipLast which was clearly wrong. The original intention was probably to check for both it and kCGImageAlphaNoneSkipFirst, so fix it to this now. Closes #14019.

2012-04-29 00:24 VZ, revision 71298

Fix wxBitmapButton best size calculation in wxOSX/Carbon. wxAnyButton refactoring broke the best size computation for Carbon, fix it to work as it did before. Closes #13830.

2012-04-29 00:24 VZ, revision 71297

Document the change in wxEVT_SIZE generation for wxDialogs in wxMSW. These events are now generated earlier and can result in crashes if the controls they use are not initialized yet.

2012-04-29 00:24 VZ, revision 71296

Document that wxDCClipper currently resets clipping region. Unlike other similar classes, this one doesn't restore the previous clipping region but just resets it because there is no way to get the current clipping region from wxDC now. At least document this limitation until it can be fixed. See #13834.

2012-04-29 00:12 VZ, revision 71295

German translations update from Mechtilde. Closes #14246.

2012-04-28 00:35 VZ, revision 71289

Added note about WXWIN_COMPATIBILITY_2_6 being off in 2.9 by default. Also list some concrete symbols which are not available any more and their replacements.

2012-04-27 13:39 JS, revision 71287

Restored the exact-fit-button horizontal margin calculation from 2.8 since it was too cramped.

2012-04-26 03:29 RD, revision 71280

Typo fix, and add some missing methods.

2012-04-25 13:42 JS, revision 71277

Fixed floating image layout when typing in subsequent paragraph Now makes use of max size for images and keeps the image size reasonable Added original image size so can usually avoid reloading image when recomputing cached bitmap size Takes into account bottom of the last floating image so scrollbars are set correctly Original image size is shown in disabled size controls

2012-04-24 13:22 JS, revision 71276

Added custom properties to style definitions and style sheets

2012-04-24 07:38 PC, revision 71275

Remove code to find topmost X window in SetTransparent(). The purpose of this code is unknown, but it may be intended to make WM decorations transparent. But it causes a crash when docking an AUI panel. And in my testing the decorations are transparent even without this code. Fixes #4841

2012-04-23 18:54 JS, revision 71268

Added flags to SetStyle with specific object

2012-04-21 02:07 RD, revision 71247

Fix missing and broken interface items for Phoenix

2012-04-20 18:05 PC, revision 71246

defer queue-resize until after size-allocate processing, to keep it from being ignored by GTK3

2012-04-20 17:34 PC, revision 71245

silence warning about wxOSX_USE_COCOA not being defined

2012-04-20 10:10 JS, revision 71244

Always Resume logging

2012-04-20 07:41 RD, revision 71242

Make wxTaskBarIcon's ctor have the same API on all platforms even though setting the icon type can only be done on wxOSX-cocoa

2012-04-20 07:41 RD, revision 71241

Document SetDoubleBuffered

2012-04-19 19:15 PC, revision 71240

move widget resize handling from DoSetSize to DoMoveWindow

2012-04-19 18:51 PC, revision 71237

simplify default border code in DoSetSize

2012-04-19 18:44 PC, revision 71236

rearrange some code in DoSetSize to facilitate upcoming changes

2012-04-19 18:14 VZ, revision 71235

Fix for wxUniv/GTK compilation. wxWindowBase needs to be explicitly cast to wxWindow in wxUniv/GTK build but this wasn't done in the changes of r70597. Cloes #14235.

2012-04-19 18:14 VZ, revision 71234

Correct wxPaintDC base class in the documentation. wxPaintDC derives from wxClientDC, not wxWindowDC.

2012-04-18 18:30 PC, revision 71228

Adjust x,y parameters by pizza scroll offset in DoSetSize This should cause no change in behavior, and is merely preparation for further changes

2012-04-18 11:23 VZ, revision 71227

Don't set focus to hidden window in wxSetFocusToChild(). The window that had focus previously could be hidden now, but its parent could be hidden as well so it's not enough to set focus to it but we need to loop until we find a visible ancestor. Closes #14230.

2012-04-17 19:00 RD, revision 71215

Fix missing and broken interface items for Phoenix

2012-04-17 18:57 SC, revision 71214

avoiding potential mismatch between true and expected state of wxGraphicsContext because it might have been changed through its direct API meanwhile, fixes #14226

2012-04-17 15:57 VZ, revision 71213

Add possibility to change the test message box title in dialog sample. All the other message box elements were configurable, so why not this one.

2012-04-17 08:13 SC, revision 71212

building on 10.5

2012-04-16 17:45 PC, revision 71211

remove AdjustForParentClientOrigin call, it does nothing in wxGTK

2012-04-16 16:33 VZ, revision 71210

Reset hover item when mouse leaves wxAuiToolBar. The hover item was not reset properly in some circumstances, do it now. Also check for the item being disabled in SetHoverItem() itself instead of doing it several times before calling it. Closes #14189.

2012-04-16 16:30 VZ, revision 71209

Fix wxCairoContext creation from wxWindow under MSW. cairo_win32_surface_create() must be passed the window HDC and not HWND itself, the old code calling it was broken. Add WindowHDC object and pass its HDC to this function now to make it work. Closes #14194.

2012-04-16 16:29 VZ, revision 71208

Add default ctor to wxMSW private WindowHDC helper class. Allow to use objects of this class without any valid HWND, this is useful for the derived classes which may, or may not, need the corresponding HDC. See #14194.

2012-04-16 16:19 VZ, revision 71207

Fix type mismatch in wxLogTrace() call in wxSocket. Cast socket handle to a 32 bit value as we use it with "%d" (or "%u" now as it makes more sense) format specifier to avoid problems with type mismatches under Win64. Closes #14204.

2012-04-16 15:53 VZ, revision 71206

Add wxFSInputStream providing stream interface to wxFileSystem. This class allows using virtual wxFSFiles with any wx functions taking streams. E.g. it makes it possible to load images and animations from wxFileSystem. Closes #14185.

2012-04-16 15:53 VZ, revision 71205

Added wxWrapperInputStream class. This stream allows to wrap another stream. This is a useful base class for adapter classes providing stream interface on top of something else, like the upcoming wxFSInputStream. See #14185.

2012-04-16 14:12 VZ, revision 71204

Added support for page tooltips to wxAuiNotebook. Allow setting tooltips for the tabs of the individual pages of wxAuiNotebook. Closes #14216.

2012-04-16 14:12 VZ, revision 71203

Added wxAcceleratorEntry::ToRawString(). This function can be used to obtain language/locale-independent representation of an accelerator. This is particularly useful for storing it in configuration files. Closes #14228.

2012-04-16 14:12 VZ, revision 71202

No real changes, just some typo fixes for previous commits. Fix wxCOMPtr comment and don't use "s_" for non-static variable. Closes #14227.

2012-04-16 01:18 VZ, revision 71201

Use new style directory selection dialog under Vista and later. Use IFileDialog in wxDirDialog implementation if possible, it shows a much more user-friendly dialog than the one used by SHBrowseForFolder(). Closes #11401.

2012-04-16 01:18 VZ, revision 71200

Added wxCOMPtr<> helper class. This allows to avoid error-prone manual AddRef() and Release() calls when writing COM code in wxMSW. See #11401.

2012-04-16 01:18 VZ, revision 71199

Fix WXK_MENU handling in wxStyledTextCtrl. Map it to SCK_MENU instead of treating it as a modifier and simply swallowing it. Closes #14205.

2012-04-16 01:18 VZ, revision 71198

No real changes, just fix misspellings in comments in wxGTK code. Also remove a couple of wrong $Id$ expansions. Closes #14203.

2012-04-15 00:37 VZ, revision 71197

Call wxThread::OnExit() from wxThread::Exit() in wxMSW too. Exit() is documented to call OnExit() and the pthreads version of wxThread did behave as documented, so make wxMSW follow it as well and explicitly call OnExit() before exiting the thread. Closes #14212.

2012-04-15 00:31 VZ, revision 71196

Add support for VT_I8 (long long) values to wxAutomationObject. Just map VT_I8 to wxLongLong. Closes #14210.

2012-04-15 00:27 VZ, revision 71195

Add support for horizontal mouse wheel events to wxGTK too. Handle GDK_SCROLL_{RIGHT,LEFT} directions in scroll-event handler in wxGTK. Closes #14221.

2012-04-15 00:27 VZ, revision 71194

Fix the check for wxUSE_DATETIME in wxGenericValidator code. The #endif was somehow added at a wrong place and too much wxDateTime-unrelated code was disabled when wxUSE_DATETIME was off. Closes #14222.

2012-04-14 09:33 SC, revision 71193

make sure status item rect in bar is highlighted when clicked, fixes #13630

2012-04-12 23:15 SJL, revision 71192

Always check that we get a valid IDispatch* from get_Document as sometimes the call can succeed but return NULL. Fixes #14182

2012-04-12 07:33 RD, revision 71190

Add missing interface items for Phoenix

2012-04-10 05:27 RD, revision 71172

Add missing interface items for Phoenix

2012-04-10 05:27 RD, revision 71171

Fix missing and broken interface items for Phoenix

2012-04-10 05:27 RD, revision 71170

Remove the wxPython-only doc snippets from the C++ docs

2012-04-10 05:27 RD, revision 71169

Minor tweak to improve understandability

2012-04-10 05:27 RD, revision 71168

Add CreateTextSizer

2012-04-08 20:10 VZ, revision 71154

Always use UTF-8 for file names passed to GTK+ functions under MSW. When building wxGTK under MSW, always use UTF-8 as file name encoding because GTK+ doesn't use G_FILENAME_ENCODING there. Add a helper wxGTK_CONV_FN() macro to hide the difference between the platforms. Closes #14035.

2012-04-08 20:10 VZ, revision 71153

No real changes, just add extra brackets to wxGTK_CONV() macro. These brackets are probably not really necessary but add them just in case they can help with parsing some strange expressions and for consistency with the other wxGTK_CONV_XXX() macros. See #14035.

2012-04-08 20:10 VZ, revision 71152

Compilation fixes for Cairo-based wxGraphicsContext code under MSW. Include MSW-specific headers under MSW to fix various compilation problems under MinGW. Closes #14194.

2012-04-08 15:25 VZ, revision 71151

Fix typo in wxKeyEvent::GetKeyCode() documentation example. Use GetKeyCode() instead of (undefined) "keycode" variable.

2012-04-08 12:10 VZ, revision 71148

Fix PCH-less compilation of graphicc.cpp under MSW too. We need to include wx/window.h in all ports, not just wxGTK. See #14194.

2012-04-08 02:54 RD, revision 71147

Add the client and art IDs

2012-04-07 06:18 RD, revision 71134

Mark which methods are pure virtual

2012-04-07 06:18 RD, revision 71133

Document wxHelpControllerBase so the type can be used in Phoenix

2012-04-07 06:18 RD, revision 71132

wxHtmlHelpController derives from wxHelpControllerBase

2012-04-07 06:18 RD, revision 71131

Add a ctor that is compatible with the documented wxHelpController API

2012-04-06 21:51 VZ, revision 71123

Handle Ctrl-O and Ctrl-L MSW wxWebView accelerators too. Do the same thing for them as for Ctrl-N, Ctrl-F and Ctrl-P, they are also used by the control. Closes #14192.

2012-04-06 21:51 VZ, revision 71122

Remove special setup_gccxml.h for GCCXML. This file doesn't seem to be needed and the open() declaration in it actually results in errors when using the latest gccxml from cvs under Windows, so just get rid of it entirely.

2012-04-06 20:07 SC, revision 71120

fixes #14193

2012-04-06 00:27 VZ, revision 71115

Set the menu itself as event object for EVT_MENU_{OPEN,CLOSED} in wxMSW. Make wxMSW consistent with the other ports and set the menu itself, not the window it is attached to, as the event object for the menu open/close events. See #1595.

2012-04-06 00:27 VZ, revision 71114

Reuse wxMenu::SendEvent() from wxFrameBase::ProcessCommand(). Not only this avoids code duplication but it also fixes wrong code in wxFrameBase version as it set the event object incorrectly to the frame itself instead of setting it to the menu. Added event object check to the menu events unit test. Closes #1595.

2012-04-06 00:27 VZ, revision 71113

Add a very simple unit test checking for menu events. Just verify that an event with the expected id was generated. The test will be extended later to test for other event fields such as its source object, see #1595.

2012-04-06 00:27 VZ, revision 71112

Use wxFrame::FindItemInMenuBar() in ProcessCommand(). Don't duplicate FindItemInMenuBar() code in ProcessCommand() and, more importantly, use the overridden version of FindItemInMenuBar() in MDI parent frame in wxMSW to allow using ids corresponding to the active child frame menu items.

2012-04-05 20:40 VZ, revision 71105

Don't change the icon when editing wxDataViewIconText cells in generic version. wxDataViewIconTextRenderer changed the icon to that of the last item drawn by it when editing a cell. Fix this by getting the original icon directly from the model instead of from the last item. Closes #14187.

2012-04-05 20:40 VZ, revision 71104

Hide combobox popup when it is hidden itself in wxMSW. It was possible to hide the main part of a combobox control but keep its popup shown and this notably happened in wxGrid when TAB was pressed while a wxChoice cell editor was dropped down. Avoid this Cheshire combobox syndrome by explicitly dismissing the popup when a combobox is hidden. Closes #3113.

2012-04-05 20:40 VZ, revision 71103

Refactor: move wxComboBox::MSWDoPopupOrDismiss() down to wxChoice. No real changes, just make this method available in wxChoice for the next commit needs. See #3113.

2012-04-05 20:40 VZ, revision 71102

Remove support for MetroWerks CodeWarrior compiler. This compiler doesn't exist any more and was probably unsupported even in 2.8, let alone 2.9, so remove all the __MWERKS__ tests to simplify things.

2012-04-05 20:40 VZ, revision 71101

Remove wrong const from wxMenu::GetMenuItems() documentation. Only one of the overloads is const. Closes #14169.

2012-04-05 20:39 VZ, revision 71100

No real changes, just remove wxIsDebuggerRunning() stub from wxOSX. There is no need to have a stub here when we already have in wx/debug.h, just remove it.

2012-04-05 15:55 VZ, revision 71097

Fix handling of the main window of composite controls in wxMSW wxToolTip. The main window itself should be added using DoAddHWND() and not AddOtherWindow() as it is not, precisely, "other". This fixes removing and updating it twice unnecessarily. Closes #14184.

2012-04-05 15:55 VZ, revision 71096

No real changes, just use clearer names for wxMSW wxToolTip methods. Rename wxToolTip::DoAddOtherWindow() to DoAddHWND() as it should be used for adding any window associated with the tooltip, either the main or an auxiliary one. And rename wxToolTip::Add() to AddOtherWindow() because it shouldn't be used for the main window. See #14184.

2012-04-05 15:55 VZ, revision 71095

Really fix source coordinates handling in wxDC::Blit() in wxMSW. It turns out that the changes r71028 were unnecessary (and actually harmful) in most cases, they're only needed when a DIB is used as a source DC. So move the manual coordinates adjustments to the branch of code using StretchDIBits() and don't do it anywhere else. Also don't list this as an incompatible change as wxMSW actually already worked as the other ports in the majority of cases and list it as a simple bug fix instead. Closes #14188.

2012-04-05 01:22 RD, revision 71092

Add wxAffineMatrix2DBase class. If a class is used somewhere as parameter or return value types then it needs to be documented, at least for Phoenix.

2012-04-05 00:30 VZ, revision 71091

Fix wxRadioButtons without explicit wxRB_GROUP styles in wxGTK. If two radio buttons are created consecutively, they should be part of the same radio group, even if wxRB_GROUP hadn't been explicitly used for the first of them. Do this is for consistency with wxMSW and also because the alternative behaviour doesn't make much sense. Also stop iterating too far backwards when searching for the group to be used for a new radio button and add comments explaining what's going on here.

2012-04-05 00:16 VZ, revision 71090
  • D /wxWidgets/trunk/include/wx/wxshlba_cw.h
  • D /wxWidgets/trunk/include/wx/wxshlba_cwc.h
  • D /wxWidgets/trunk/include/wx/wxshlba_cwc_d.h
  • D /wxWidgets/trunk/include/wx/wxshlba_cw_d.h
  • D /wxWidgets/trunk/include/wx/wxshlb_cw.h
  • D /wxWidgets/trunk/include/wx/wxshlb_cwc.h
  • D /wxWidgets/trunk/include/wx/wxshlb_cwc_d.h
  • D /wxWidgets/trunk/include/wx/wxshlb_cw_d.h
  • D /wxWidgets/trunk/include/wx/wx_cw.h
  • D /wxWidgets/trunk/include/wx/wx_cwc.h
  • D /wxWidgets/trunk/include/wx/wx_cwcocoa.h
  • D /wxWidgets/trunk/include/wx/wx_cwcocoa_cm.h
  • D /wxWidgets/trunk/include/wx/wx_cwcocoa_d.h
  • D /wxWidgets/trunk/include/wx/wx_cwc_d.h
  • D /wxWidgets/trunk/include/wx/wx_cwu_d.h
  • D /wxWidgets/trunk/include/wx/wx_cw_cm.h
  • D /wxWidgets/trunk/include/wx/wx_cw_d.h

Remove obsolete header used only with CodeWarrior MetroWerks compiler. This compiler doesn't exist for modern OS X systems, no need to have the headers used only with it as they just clatter the include directory and confuse various tools parsing wx headers.

2012-04-04 16:36 VZ, revision 71089

Avoid overflowing the wake up when handling events in Unix console apps. Generating many wake ups from the worker threads could result in overflowing the buffer of the pipe used to communicate with the main thread which, in turn, resulted in other serious problems (deadlocks...). Avoid this by only writing to the pipe if it is empty. Closes #14166.

2012-04-04 16:36 VZ, revision 71088

No changes, just categorize change log entry correctly. wxThread::SetConcurrency() should be in the non-GUI part, not wxUniv one.

2012-04-03 13:50 VZ, revision 71086

Don't link with QuickTime framework in 64 bit wxOSX builds. This framework doesn't exist in 64 bits and so using it results in a warning when building 64 bit libraries. Avoid this by omitting it if we are sure that we target 64 bits only. Closes #14144.

2012-04-03 13:50 VZ, revision 71085

Added wxGraphicsContext::CreateMatrix(wxAffineMatrix2D) overload. Make it easy to convert generic wxAffineMatrix2D to native wxGraphicsMatrix. Closes #13188.

2012-04-03 08:25 JJ, revision 71084

Update Makefile for OpenVMS

2012-04-02 20:26 VZ, revision 71081

Override DoThaw() in wxAuiNotebook correctly. Don't "override" Thaw() in wxAuiNotebook as it's not virtual any more. Override DoThaw() instead. Also use wxBookCtrlBase instead of wxControl as the base class. Closes #14179.

2012-04-02 18:07 VZ, revision 71080

Document wxStreamBuffer::BufMode enum and fix dtor. Document the enum as it's used as parameter type by other methods and so needs to be declared to make the header parsable. Also fix wxStreamBuffer dtor documentation which was missing a tilde. Closes #14174.

2012-04-02 18:07 VZ, revision 71079

Fix wxArrayString::Item() and Last() documentation. Document both const and non-const versions of the methods. Closes #14173.

2012-04-02 18:07 VZ, revision 71078

Fix wxURI::HasUserInfo() name in the documentation. Use the correct name of an existing method instead of HasUser(). Closes #14172.

2012-04-02 18:07 VZ, revision 71077

Fix wxTextFile::GetLine() documentation. Document both const and non-const overloads of this method instead of having some strange (and non-existent) chimera of the two. Closes #14171.

2012-04-02 18:07 VZ, revision 71076

Remove wrong consts from wxTextFile::Open() documentation. Open() is a non-const method. See #14171.

2012-04-02 18:07 VZ, revision 71075

Correct the return type of wxPersistenceManager methods in the documentation. DisableSaving() and DisableRestoring() don't return anything. Closes #14170.

2012-04-02 18:07 VZ, revision 71074

Document pure virtual wxDropTarget methods correctly. GetData(), OnData() and OnDrop() were not documented as being pure virtual. Closes #14165.

2012-04-01 19:27 VZ, revision 71070

Vietnamese translations update from Trần Ngọc Quân.

2012-04-01 15:37 SC, revision 71069

correct text drawing with background brush, fixes #14161

2012-04-01 12:26 VZ, revision 71068

Document wx{Single,Multi}ChoiceDialog styles in class documentation. The styles should be documented in the class documentation, not the documentation of individual constructors. Closes #14162.

2012-03-31 06:39 RD, revision 71061

Interface fixes for Phoenix

2012-03-31 06:39 RD, revision 71060

Add NUM_CUSTOM

2012-03-31 06:39 RD, revision 71059

Add wxGenericProgressDialog

2012-03-30 20:29 RD, revision 71057

Add missing dirctrl interface items for Phoenix

2012-03-30 14:16 VZ, revision 71056

Return run-time zlib version from wxGetZlibVersionInfo(). Return the version really used instead of the version the code was compiled against. Incidentally, this avoids the use of ZLIB_VERNUM not available in old (1.1) versions of zlib, thus fixing compilation under Solaris 10. Closes #14158.

2012-03-30 01:43 VZ, revision 71055

Remove nonsensical custom comparison code from wxDataViewIndexListModel. This model was comparing its items by their positions in the list instead of their values for some reason. This broke sorting in wxDataViewListCtrl using this model and simply didn't make any sense. Just remove the comparison code from wxDataViewIndexListModel entirely, the base class version works just fine for it. Closes #14116.

2012-03-30 01:43 VZ, revision 71054

Restore the correct brush in wxGCDC::GradientFill() methods. Both GradientFillLinear() and GradientFillConcentric() changed the brush on the underlying wxGraphicsContext but didn't restore the default brush back. Closes #14131.

2012-03-30 01:17 VZ, revision 71053

Remove setup0.h files from the list of headers in bakefile. These headers don't exist in official distributions as they're renamed to setup.h in them. Moreover, they don't need to be installed anyhow when using configure as the real setup.h is installed specially, so there is no real need to have them in the list of headers.

2012-03-29 22:05 SC, revision 71052

adding tabart.cpp file

2012-03-29 21:59 SC, revision 71051

adding tabart.cpp file

2012-03-29 21:19 VZ, revision 71050

Added missing DESTDIR to wx-config installation make rule. All paths should be prefixed by $(DESTDIR) but it was forgotten in "ln -s" command.

2012-03-29 19:14 RD, revision 71049

wxTreeCtrl interface fixes for Phoenix

2012-03-29 14:08 VZ, revision 71040

Allow closing wxAuiTabCtrl pages without switching to them. Clicking on the page "x" close button switched to the page before doing anything else which was unusual as other tabbed controls don't behave like this. Handle clicks on the close button specially and avoid switching to the page which is about to be closed anyhow. Closes #14150.

2012-03-29 02:10 VZ, revision 71039

Fix focus handling logic in generic wxListCtrl. Don't override SetFocus() to set the focus to the main window, this isn't enough as we can be given the focus by the underlying toolkit itself, without our SetFocus() being called -- this happened in wxGTK when focus was changed from the keyboard using TAB and in this case it didn't get to the main window but remaining on the wxListCtrl itself meaning that keyboard input wasn't processed at all. Use wxNavigationEnabled<> now to ensure that OnSetFocus() and related methods do the right thing instead now. Also get rid of OnSetFocus() in wxListHeaderWindow, it's better to override AcceptsFocus() to return false to avoid getting focus in the first place.

2012-03-28 20:00 SJL, revision 71034

Minor changes, just trim trailing spaces in webview code.

2012-03-28 13:29 VZ, revision 71033

Document that wxDateTime::UNow() returns UTC time. This wasn't clear and was probably surprising as this is different from Now() behaviour. See #14149.

2012-03-28 11:13 SC, revision 71032

adding correct behavior for move events as the are issued under OSX

2012-03-27 21:33 SJL, revision 71030

Correctly use QueryInterface in GetDocument to ensure that we only return an IHTMLDocument2 pointer if one is available. Check GetDocument being NULL when used. This fixes the displaying of non-html documents such as pdfs. Fixes #14060

2012-03-27 19:28 RD, revision 71029

Add missing interface items for listctrl.

2012-03-27 14:28 VZ, revision 71028

Honour source wxDC coordinate system in wxDC::Blit() in wxMSW. wxGTK and wxOSX already did this so do it in wxMSW as well. Update the documentation to make this explicit.

2012-03-27 14:28 VZ, revision 71027

Make wxDC::Blit() and StretchBlit() documentation more useful. Enumerating the list of parameters in the method description is not especially helpful, don't do it. Explain the functions relationship instead. Also don't say that StretchBlit() is not implemented in wxGTK because it does work there (using the generic implementation using wxDC scale).

2012-03-27 13:58 VZ, revision 71026

Set wxTextAreaBase::m_filename in the methods of this class itself. m_filename member was declared in wxTextAreaBase but set only in the overridden wxTextCtrlBase methods. This meant that it wasn't updated correctly in wxStyledTextCtrl which also derives from wxTextAreaBase and so saving SaveFile() with empty file name didn't work there even when the control had been originally loaded from a file. Move the code updating m_filename to wxTextAreaBase itself to fix this. This also simplifies the code as it's now not necessary to override Do{Load,Save}File() in wxTextCtrlBase at all.

2012-03-27 13:58 VZ, revision 71025

Use IsDescendant() in wxTopLevelWindow::IsActive() implementation. Avoid wxGetTopLevelParent() which doesn't work for the strange TLWs which override IsTopLevel() to return false, as wxMDIChildFrame does in wxMSW. Using IsDescendant() works in any case and also is arguably more clear. Closes #3063.

2012-03-27 13:58 VZ, revision 71024

Added wxWindow::IsDescendant() helper. This function checks if another window is a direct or indirect child of this one, which can be needed in a number of situations. See #3063.

2012-03-26 18:57 JS, revision 71015

Corrected scale factor for the use of DC PPI instead of printer PPI in wxRTC code

2012-03-26 18:57 JS, revision 71014

Corrected scale factor for the use of DC PPI instead of printer PPI in wxRTC code

2012-03-26 17:44 PC, revision 71013

non-pch build fix, closes #14140

2012-03-26 13:52 VZ, revision 71012

Arabic translations update from Fatma Mehanna. Also backport the translations to 2.8 branch.

2012-03-26 13:24 VZ, revision 71011

No changes, just small cleanup in AUI GTK tab art drawing code. Use more clear variable names; remove commented out assignments to inexistent variables. Closes #14139.

2012-03-26 13:23 VZ, revision 71010

Fix gap box coordinates in GTK AUI tab art code. Closes #14138.

2012-03-26 13:23 VZ, revision 71009

Minor fix to wxGraphicsContext::SetInterpolationQuality() in wxMSW. Only update the internal variable if we really succeeded in changing the interpolation mode. See #14134.

2012-03-26 01:34 PC, revision 71008

remove unneeded includes and forward declaration

2012-03-26 01:33 PC, revision 71007

remove unused variable

2012-03-26 01:33 PC, revision 71006

replace wxBitmap::SetPixbuf() with wxBitmap ctor taking pixbuf

2012-03-26 01:17 VZ, revision 71005

Fix generic wxTimePickerCtrl on DST change dates. Do not use the date when DST changes as the date part of wxDateTime object used by wxTimePickerGeneric internally as this introduces problems with times that can't be represented at all -- and so can't be entered into the control. Use arbitrary date on which DST does not change to avoid this. Closes #14137.

2012-03-26 01:17 VZ, revision 71004

Added wxTimePickerCtrl::GetTime() and SetTime(). These methods, taking broken down time representation, avoid the problems arising due to DST complications when using wxDateTime to represent the time as special care needs to be taken in this case to avoid using the date part corresponding to a DST change date at which time is discontinuous. Document the problem with the old functions and use the new ones in the sample. See #14137.

2012-03-25 21:15 PC, revision 71003

build fixes

2012-03-25 19:56 VZ, revision 71002

Implement native tab art for wxAUI in wxGTK. Use native wxAuiTabArt implementation in wxGTK, it better conforms to the system style. Closes #14098.

2012-03-25 19:55 VZ, revision 71001

Refactor wxAUI: extract wxAuiTabArt in a separate file. No real changes, just extract wxAuiTabArt into its own file. Also rename wxAuiDefaultTabArt to wxAuiSimpleTabArt in preparation for having other tab art classes as the default one. See #14098.

2012-03-25 19:55 VZ, revision 71000

Explicitly include wx/aui/dockart.h from the file needing it. src/aui/tabmdi.cpp needs wxAuiDockArt declaration as it uses it, don't rely on wx/aui/dockart.h being included from other wxAUI headers and include it from here explicitly. See #14098.

2012-03-25 19:55 VZ, revision 70999

Add a private GetNotebookWidget() accessor to wxGTK. This is similar to the other existing functions and allows to access GtkNotebook-specific style. See #14098.

2012-03-25 19:55 VZ, revision 70998

Export wxGTK private widget creation functions from core library. This is necessary to allow using them from other libraries, e.g. wxAUI that will do it in the upcoming commits. See #14098.

2012-03-25 19:55 VZ, revision 70997

Include <wx/textctrl.h> from <wx/combobox.h> for compatibility. The wxComboBox header itself doesn't need <wx/textctrl.h> but there exists code using wxComboBox with wxTextCtrl styles and events that doesn't include <wx/textctrl.h> explicitly because it wasn't necessary in 2.8. So include it from wx/combobox.h to avoid breaking this code after an upgrade to 2.9. Closes #14132.

2012-03-25 18:45 VZ, revision 70996

Return valid pointers from wxDateTime::ParseXXX() with non-wxString strings. The pointer returned by wxDateTime::ParseXXX() methods could point into a buffer of a temporary wxString created to wrap a char* or wchar_t* argument so dereferencing it was illegal. Fix this by defining separate overloads for char*/wchar_t* arguments returning pointers into the original string.

2012-03-25 18:45 VZ, revision 70995

Add helper wxString::IterOffsetInMBStr() method. This method can be used to recover the pointer in char* buffer containing multi-byte string representation corresponding to the given iterator which is useful for implementing backwards-compatible functions that must be able to return such pointers.

2012-03-25 14:14 VZ, revision 70994

Correct Eric Jensen name in the change log. See #14134.

2012-03-25 01:31 VZ, revision 70993

Fix bug with parsing time formats during DST periods. wxDateTime::ParseFormat() used todays date as fall back when parsing all formats, including those involving times, which meant that its results depended on whether DST was active at the time of the parsing which was clearly wrong. Fix this by using a fixed date on which DST is known not to be active as fall back date. This fixes unit test failures in DateTimeTestCase::TestTimeFormat() when it was ran on a DST transition date.

2012-03-25 01:31 VZ, revision 70992

Add a gdb pretty printer for wxDateTime. Format it using Python datetime module in the standard ISO notation.

2012-03-24 19:24 VZ, revision 70991

Allow hiding rows in wxGrid with HideRow(). HideRow() was simply ignored as SetRowSize(row, 0) didn't do anything. Check for the special value of 0 and allow it, just as it was done for the columns since r57336. See #14133.

2012-03-24 19:24 VZ, revision 70990

Implement wxGraphicsContext::SetInterpolationQuality() for wxMSW. Provide implementation of the previously stubbed out method. Closes #14134.

2012-03-23 17:50 PC, revision 70989

avoid reported problem with RHEL 5 GTK+ 2.10 where selection is reset by a clipboard callback, closes #13277

2012-03-23 16:13 VZ, revision 70988

Don't cache incorrect length in wxString::DoUngetWriteBuf(). The length here is the size of the buffer in bytes and is not necessarily the string length in code points (notably not for non-ASCII strings in UTF-8 build). Closes #14130.

2012-03-23 16:13 VZ, revision 70987

Don't cache incorrect length in wxString::assign(char*, size_t). The length of the string here is specified in bytes and is not the same as the string length for non-ASCII UTF-8 strings, so don't cache it as the string length. Just invalidate the cached length instead as we simply don't know what the real length of the string is going to be. See #14130.

2012-03-23 16:13 VZ, revision 70986

Fix caching wrong length in wxString(str, len) ctor in UTF-8 build. A length greater than that of the source string could be passed to this ctor. This worked correctly, i.e. created a string which was a copy of the source one but cached a wrong length for it. Avoid this by explicitly checking the length before caching it in wxString::assign(str, len). See #14130.

2012-03-23 10:30 JJ, revision 70985

update setup for OpenVMS

2012-03-22 19:09 PC, revision 70969

fix building with GTK+ < 2.8

2012-03-22 01:27 VZ, revision 70962

Implement horizontal mouse wheel events support for wxMSW. Handle WM_MOUSEHWHEEL messages and translate them to the corresponding wxMouseEvents. Closes #14105.

2012-03-22 01:26 VZ, revision 70961

Use enum for wxMouseEvent::m_wheelAxis instead of int. This variable can take only 2 values, use symbolic names for them instead of difficult to understand 0 and 1. See ##14105.

2012-03-22 01:12 VZ, revision 70960

Use pthread_setconcurrency() in wxThread::SetConcurrency(). Use POSIX function if available instead of only using Solaris-specific thr_setconcurrency() which is not found in modern Linux systems any more. Closes #2115.

2012-03-21 17:42 RD, revision 70955

Avoid assert when deleting columns if there is more columns than there are column labels

2012-03-21 01:11 VZ, revision 70954

Fix display of "const" methods in wxGTK assert dialog. Don't separate the function name and its arguments types in 2 different columns in the assert dialog, this doesn't really work with const methods as "const" can't be separated from the function like this. The old code just didn't take "const" into account at all and mangled all the const methods by showing ") cons" (no typo) at the end. Just show everything in one column to avoid the problem and also simplify the code. Closes #14104.

2012-03-21 00:31 VZ, revision 70953

Remove empty and unnecessary wxFontDialogBase destructor. This fixes build with wxUSE_FONTMAP==0 as this dtor was only defined inside "#if wxUSE_FONTMAP" section. Instead of fixing this, just get rid of this dtor entirely as it was unnecessary anyhow.

2012-03-21 00:26 VZ, revision 70952

Fix wxMSW compilation when wxUSE_FONTMAP==0. Don't use wxFontMapper::GetEncodingName() in wxFontEnumerator if wxFontMapper is not available.

2012-03-21 00:07 PC, revision 70951

make wxMask pixmap member private

2012-03-20 21:53 RD, revision 70948

Document steps needed to update to newer Scintilla. (From memory, will need to be reviewed while actually doing an update to find other things that should be done.)

2012-03-20 04:34 PC, revision 70945

Fix keyboard navigation broken in r70324, see #14084 Also fixes some other keyboard navigation problems, closes #2849

2012-03-19 14:41 JJ, revision 70944

Updates for OpenVMS

2012-03-19 13:53 VZ, revision 70943

Define wxUSE_TASKBARICON_BALLOONS as 1 for wxMSW builds using configure. Defining it as 1 is better than not allowing to set it at all and this setting is not important enough to warrant its own command-line configure option. Closes #14106.

2012-03-19 13:53 VZ, revision 70942

Fix wrong wxEVT_COMMAND_DATAVIEW_COLUMN_HEADER_CLICK name in the docs. It was spelt with an extra "ED" at the end. Closes #14109.

2012-03-19 13:53 VZ, revision 70941

Fix appearance of items without icons in wxDataViewCtrl in wxOSX/Cocoa. We need to set the cell image to none explicitly if the item doesn't have any, otherwise the image for the previous cell would be reused. Closes #14112.

2012-03-19 13:53 VZ, revision 70940

Explicitly cast size_t to int to suppress MSVC warnings. Implicit size_t-to-int conversions provoke warnings when building 64 bit version (in which sizeof(size_t) > sizeof(int)) with MSVC, so make them explicit as the size_t values used here will always fit in int range. Closes #14113.

2012-03-19 00:25 JS, revision 70939

Added a parameter to PrintBuffer and PrintFile to allow silent or prompted printing.

2012-03-18 22:17 VZ, revision 70938

Brazilian Portuguese translations update from Felipe.

2012-03-18 21:35 JS, revision 70937

Added wxPropertyGridManager::SetPageSplitterLeft

2012-03-18 19:06 SC, revision 70936

fixes #14110

2012-03-18 02:35 VZ, revision 70935

Avoid crashes in wxMSW when using buttons without valid parent. Child controls such as buttons are supposed to always have a valid parent but if, somehow, they don't, still don't crash in wxMSW button code but just trigger an assert failure instead of unavailable button top level parent instead.

2012-03-17 21:42 RD, revision 70932

fix compile error

2012-03-17 11:52 SC, revision 70926

avoid shortcut ampersands in button text

2012-03-17 03:55 RD, revision 70920

Remove --mac_arch and enable --mac_universal_binary to accept one or more architectures instead.

2012-03-17 03:55 RD, revision 70919

Make Dismiss() virtual.

2012-03-16 13:37 VZ, revision 70911

Hungarian translations update from Ócsvári Áron.

2012-03-16 00:24 VZ, revision 70910

Improve wxListCtrl::SetItemState() documentation. Better explain the meaning of its parameters.

2012-03-15 14:49 VZ, revision 70909

Enable/disable "Window" menu items in AUI MDI correctly. Add EVT_UPDATE_UI handlers for "Close", "Close All" as well as "Next" and "Previous" menu commands. Closes #14102.

2012-03-15 14:49 VZ, revision 70908

Pass the original format to wxDataObjectSimple in wxDataObjectComposite. Some "simple" data objects, such as wxTextDataObject, are actually not simple and support multiple formats so pass the real format to them so that they could do the right thing. Closes #14101.

2012-03-15 14:14 VZ, revision 70907

Italian translations update from Roberto Boriotti.

2012-03-15 14:14 VZ, revision 70906

Basque translations update from Xabier Aramendi.

2012-03-14 13:32 VZ, revision 70898

Implement wxDirDialog:: and wxFileDialog::Create() in wxGTK. Simply move the code from non-default constructor to Create(). This allows to create the dialogs using 2-step creation if necessary. Closes #14069.

2012-03-13 18:43 JS, revision 70894

Better border style for HTML window

2012-03-13 18:23 JS, revision 70893

Don't scale 16x15 to 16x16 - fixes corruption of bookmark icons in help window

2012-03-13 18:22 JS, revision 70892

Ensure IDs don't clash with wxRichTextCtrl.

2012-03-13 09:42 JS, revision 70891

Fixed size calculation

2012-03-12 20:30 JS, revision 70885

Added wxRIBBON_PANEL_FLEXIBLE flag to allow toolbars to wrap, taking up the optimum amount of space when used in a vertical palette.

2012-03-12 18:47 SC, revision 70884

remove 10.4 compatibility code

2012-03-12 15:57 SJL, revision 70882

Add new WX_ASSERT_EVENT_OCCURS macro to improve behaviour of testing asynchronous events. Use it in the wxWebView tests and re-enable previously failing tests.

2012-03-12 12:42 JS, revision 70881

Removed redundant DoEnable

2012-03-12 00:55 VZ, revision 70880

Update the text part of combobox when changing text of selected item in wxGTK. Add a call to SetValue() to wxComboBox::SetString() in wxGTK if the item being changed is the currently selected one. The new behaviour is consistent with wxMSW and also makes more sense. Document it too to remove any doubts about what is supposed to happen in this case.

2012-03-12 00:41 VZ, revision 70879

Add a test for wxComboBox::SetString() to the widgets sample. This allows to easily test this function interactively, notably check what happens when the currently selected string is changed under different ports.

2012-03-12 00:41 VZ, revision 70878

Remove duplicate wxSYS_DCLICK_MSEC in wxSystemMetric documentation. Closes #14093.

2012-03-12 00:41 VZ, revision 70877

Document wxGridCellCoords class. Closes #14092.

2012-03-12 00:41 VZ, revision 70876

Document wxBK_HITTEST_XXX values. They were previously implicitly documented in HitTest() itself but this was insufficient for wrappers generation as the constants themselves were never declared. Do define them now and also correct and update their descriptions. Closes #14091.

2012-03-12 00:41 VZ, revision 70875

Document wxHelpSearchMode enum and its values. Closes #14090.

2012-03-12 00:41 VZ, revision 70874

Fixes to function signatures in wxDataViewCtrl documentation. Change the return type of {Append,Insert,Prepend}Column() to bool and add missing "const" to Compare(). Closes #14089.

2012-03-11 16:27 SJL, revision 70872

Delete buttons when we are finished so they do not overlap later controls and cause test failures.

2012-03-11 15:32 SJL, revision 70871

Move getting the unit test event count from wxTestableFrame to the EventCounter class. This reduces the need to have wxTestableFrame pointers all over the unit testing code and should reduce bugs caused by counting the wrong events.

2012-03-11 06:31 JS, revision 70870

A fix for flicker when the top-level window is disabled or enabled (e.g. by modal dialogs). Achieved by using IsThisEnabled to determine the visual disabled state and thus requiring no refresh on top-level window enabling/disabling.

2012-03-10 17:58 PC, revision 70868

remove unused parameter

2012-03-10 15:26 VZ, revision 70867

Fix wxComboCtrl::SetHint() return type in the documentation. It is now bool, not void, as for wxTextEntry::SetHint(). Closes #14083.

2012-03-10 15:26 VZ, revision 70866

Explicitly document wxMessageOutputFlags. They were already mentioned in wxMessageOutputBest ctor documentation but now add the standalone enum too to make the documentation header semantically valid. Closes #14082.

2012-03-10 15:26 VZ, revision 70865

Document wxPrintQuality and wxPRINT_QUALITY_XXX constants. Closes #14081.