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-01-03 11:53 SC, revision 70252

fixes #13695

2012-01-03 11:34 SC, revision 70251

adapting to new raw_control constants, see #13695

2012-01-03 01:44 VZ, revision 70249

Fix child selection in multi-selection generic wxTreeCtrl. The children which are not currently shown on the screen shouldn't be affected by Shift-selecting in multi-selection control. Closes #1312.

2012-01-03 01:40 VZ, revision 70248

Improve links in wxAuiManager flags documentation. Use @param tags and "::" to link enum name. Closes #13689.

2012-01-03 01:40 VZ, revision 70247

Document wxIMAGE_OPTION_CUR_HOTSPOT_[XY] in wxCursor ctor. These options were already mentioned in wxCursor documentation but not prominently enough, so mention them explicitly in the documentation of wxCursor ctor from wxImage. Closes #13820.

2012-01-03 01:40 VZ, revision 70246

Correct documentation of supported cursor sizes under wxOSX. wxOSX/Cocoa seems to support cursors of any size and with colours. Closes #12614.

2012-01-02 23:28 RD, revision 70241

Be a little smarter about choosing the default SDK to use.

2012-01-02 22:18 JS, revision 70233

Added a box style definition name to the box attribute.

2012-01-02 03:24 BP, revision 70232

Backport r70231 to 2.9.3: Fixed javascript errors in CHM version of the manual. No need to re-spin release, just a helpful fix for generating a more useful CHM manual for 2.9.3.

2012-01-02 02:32 BP, revision 70231

Fixed javascript errors in CHM version of the manual.

2011-12-30 18:22 JS, revision 70203

When the focus object changes, the old selection should be cancelled explicitly to avoid seeing multiple selections until the next refresh.

2011-12-30 18:12 JS, revision 70202

Split up the context menu functionality to make it easier to customise. Tweaked style combobox popup border.

2011-12-30 15:28 VS, revision 70201

Implement wxDataViewModel::IsEnabled() support in generic implementation.

2011-12-30 07:14 RD, revision 70200

Interface fixes and tweaks for Phoenix

2011-12-30 00:39 VZ, revision 70194

Update wxGrid unit tests after r70177. The row/column selection is not stored in the block arrays, see #12638.

2011-12-29 23:11 VZ, revision 70184

Allow using '(' and ')' in wxFileConfig entry names unescaped. There is no real reason to escape the parentheses in the key entries, they're not special. Closes #13584.

2011-12-29 23:05 VZ, revision 70183

Document wxAuiManager styles and flags. Closes #13689.

2011-12-29 23:05 VZ, revision 70182

Disable VC8+ deprecation warnings for standard functions at bakefile level. We already define the symbols needed to disable the warnings in wx/defs.h but this isn't enough for third party code not including it, so define them in the project settings directly. Closes #11009.

2011-12-29 23:05 VZ, revision 70181

Add wxRibbonButtonBar::InsertXXXButton() methods. Allow inserting buttons into the ribbon bar and not only appending them. Closes #13811.

2011-12-29 23:05 VZ, revision 70180

Allow using wxEVT_UPDATE_UI with wxRibbonButtonBar. Generate wxUpdateUIEvent for the ribbon buttons to allow updating their state using wxEVT_UPDATE_UI. Also update the same to show this. Closes #12003.

2011-12-29 23:05 VZ, revision 70179

Don't send idle events to the windows about to be destroyed. This is useless and can apparently result in some problems as of r25877 and r25877 (from 8 years ago) added explicit checks preventing processing such events in wxToolBar and wxMenu. Instead, simply don't generate these events in the first place and also remove the now unnecessary checks for them.

2011-12-29 23:05 VZ, revision 70178

Better fix for wxSpinCtrlGeneric enabling/disabling bug in wxMSW. To really ensure that the window containing the components of wxSpinCtrlGeneric is never enabled under MSW (as we want to avoid this to ensure that any input always goes to its children and not the window itself, see #12045), override DoEnable() and not Enable(). This takes care of the case when the control gets implicitly disabled because its parent is. Closes #13142.

2011-12-29 23:05 VZ, revision 70177

Store row/column selection more appropriately in wxGrid. Use wxGridSelection::m_rowSelection and m_colSelection for storing the selected rows/columns respectively instead of storing them in m_blockXXX arrays. This makes more sense and allows to easily implement the proper handling of Ctrl-clicking in the row or column selection modes. Closes #12638.

2011-12-29 23:05 VZ, revision 70176

Mention wxEVT_COMMAND_TOGGLEBUTTON_CLICKED explicitly in the documentation. Document the event type together with the event table macro. See #11943.

2011-12-29 23:05 VZ, revision 70175

Display help string for ribbon tools in a tool tip. Show the help string of the ribbon item currently being hovered over in a tooltip. Closes #11879.

2011-12-29 16:34 SN, revision 70166

Closed memory leak in some error handling code paths, fixes #11697.

2011-12-29 15:42 SN, revision 70165

Do not put semicolons after the definition of an inline function. Even though most compilers just ignore this, it's just wrong and if you do get warnings about header files, they can become quite overwhelming. Forward port of r70163.

2011-12-29 15:36 SN, revision 70164

Include some more declarations & defines.

2011-12-29 14:58 SN, revision 70163

Do not put semicolons after the definition of an inline function. Even though most compilers just ignore this, it's just wrong and if you do get warnings about header files, they can become quite overwhelming. Fixes #13398 and extends it to the non-gtk headers.

2011-12-29 12:26 SN, revision 70162

Reordered "extern" and WXDLLIMPEXP_CORE specifiers; fixes #13816.

2011-12-28 18:47 VZ, revision 70156

Restore wxEVT_MENU_CLOSE generation under Windows 95 after r70151. WM_UNINITMENUPOPUP is "only" available since Windows 98/2000 so restore the old code using WM_EXITMENULOOP as fall back, just to avoid any regressions for people who might still be using these systems.

2011-12-28 18:32 VZ, revision 70155

Compilation fix for VC6 after r70151. VC6 standard SDK didn't define WM_UNINITMENUPOPUP, so define it for it.

2011-12-28 14:51 VZ, revision 70154

Add standard art providers at the bottom of the art providers stack. This ensures that any user-defined art providers will be in front of them, even when they are added at module-initialization time i.e. possibly before the standard ones. Closes #12519.

2011-12-28 14:51 VZ, revision 70153

Use best controller size in wxBookCtrl best size calculation. Don't use GetControllerSize() which returns the actual, not the best, size of the controller. Closes #11793.

2011-12-28 14:51 VZ, revision 70152

Improve layout in the samples to avoid problems under Mac. Changes the samples to look better under Mac and avoid the worst problems such as overlapping buttons or truncated controls. Closes #11651.

2011-12-28 14:51 VZ, revision 70151

Complete wxEVT_MENU_{OPEN,CLOSE} implementation in wxMSW and wxOSX. Set the wxMenu correctly for wxEVT_MENU_CLOSE events in wxMSW. Set the menu id correctly to allow wxMenuEvent::IsPopup() to work for both wxEVT_MENU_OPEN and wxEVT_MENU_CLOSE in wxOSX. Closes #11313.

2011-12-28 14:51 VZ, revision 70150

Use memmove() instead of memcpy() in wxString::AssignCopy(). This at least allows the code like "s = s.c_str()" to work correctly when using our own wxString implementation, even it doesn't fix all self-assignment-related bugs (again, when using our own implementation only, there is no bug when using std::basic_string as underlying implementation). This is a cherry pick of r63008 from 2.8 branch. See #11245.

2011-12-28 11:01 SJL, revision 70149

Disable final failing wxWebView test. It fails on the buildbot but not locally.

2011-12-27 18:32 VZ, revision 70130

Compilation fix for PCH-less build after r70122. Include the header declaring wxClientDC. Closes #13809.

2011-12-27 02:21 VZ, revision 70127

Compilation fix for wxUniv/X11 with wxUSE_STL==1. Don't rely on implicit conversion from wxString to wchar_t*. Closes #13790.

2011-12-27 02:21 VZ, revision 70126

Update the value of read-only wxComboBox in wxUniv. Fix regression in combobox appearance: it never showed the selected value when it was read-only any more. Closes #13688.

2011-12-27 02:21 VZ, revision 70125

Fix warning about non-virtual dtor in wxDataViewCtrlInternal. This class doesn't need a virtual dtor but g++ warned about its absence because it unnecessarily defined a virtual method. Just make this method non-virtual to avoid the warning. Closes #13395.

2011-12-27 02:21 VZ, revision 70124

Suppress gcc -Wint-to-pointer-cast warnings in GTK wxDataViewCtrl. Use wxUIntToPtr to avoid the warnings about casts from smaller (in 64 bit build) int type to pointer. Closes #13394.

2011-12-27 02:21 VZ, revision 70123

Don't use deprecated wxArtProvider::Insert(). Ironically, it was 2.6 compatibility code that was using the function deprecated after 2.8. In any case, just use the newest name for it. Closes #13393.

2011-12-27 02:21 VZ, revision 70122

Fix the size of the font returned by wxTextCtrl::GetStyle() in MSW. CHARFORMAT stores height in 1/20th of a point, not pixels. Add the correct conversion to the units used by LOGFONT. See #13384.

2011-12-27 02:21 VZ, revision 70121

Recognize background-color style in wxHtmlWindow. Just treat it as a synonym for "background" i.e. the same as HTML3 BGCOLOR. Closes #13173.

2011-12-27 02:21 VZ, revision 70120

Add support for more CSS styles to SPAN tag in wxHtmlWindow. Add limited support font-family, font-style and text-decoration. Closes #13170.

2011-12-26 13:57 VZ, revision 70119

Increase the tolerance in wxStopWatch unit test. Sleeping can take more time than expected when running on the build slaves, probably because the machine is heavily loaded. Increase the tolerance to prevent this from resulting in test failures.

2011-12-25 19:38 JS, revision 70118

Added missing ScrollIntoView call

2011-12-25 18:04 JS, revision 70117

Applied patch in #13777 (wxRichTextCtrl scroll and delete not refreshed)

2011-12-25 14:28 VZ, revision 70116

Always link with expat in monolithic build. Fix linking errors when using wxXML in sttaic monolithic build: in this case we must link with expat but it was listed too early, before wxWidgets libraries using it, in the bakefile-generated makefiles. Now add it to the end of the linker command line too by including -lexpat in EXTRALIBS_FOR_BASE which are appended to the linker arguments. Notice that now -lexpat is linked twice because it is still added by <wx-lib>xml</wx-lib> in bakefiles, even in monolithic build, but I don't know how to avoid it and it is harmless anyhow. Closes #12573.

2011-12-25 13:52 VZ, revision 70115

Added a warning about multi-cells in wxGrid::DeleteRows() docs. Currently deleting rows or columns intersecting a multi-cell is simply not supported and results in an immediate crash. See #4238.

2011-12-25 01:57 PC, revision 70114

restore call to GetTabSize removed in r69880, it is needed to set x_extent

2011-12-24 19:30 VZ, revision 70113

Really fix the use of deprecated methods in wxGrid test. The changes of r70111 were wrong, the unit test for wxGrid really did intend to test the deprecated methods so restore them -- but only in WXWIN_COMPATIBILITY_2_8 case.

2011-12-24 19:19 VZ, revision 70112

Implement wxNotebook::CalcSizeFromPage() for wxGTK. The implementation is far from perfect as it relies on hard-coded margins but is better than nothing as it allows wxNotebook best size determination and SetPageSize() method to work correctly.

2011-12-24 18:58 VZ, revision 70111

Don't use deprecated methods in wxGrid test. Don't use the methods defined only when building 2.8-compatible mode to let the tests compile even with WXWIN_COMPATIBILITY_2_8 off. This only worked before because of the wrong tests in grid.h but broke after the fixes of r70098.

2011-12-24 17:46 PC, revision 70110

remove improper use of paste operator

2011-12-24 16:43 VZ, revision 70109

Fix fatal bug with deleting the old contents in wxScopedArray::reset(). "delete" was wrongly used instead of "delete[]". Closes #13806.

2011-12-24 16:43 VZ, revision 70108

Use the correct function type cast in EVT_WEBKIT_NEW_WINDOW. Use wxWebKitNewWindowEventHandler to perform a proper static_cast<>, which detects incorrect casts during compilation, instead of wxWebKitNewWindowEventFunction which was just doing an unsafe C-style cast. Cloes #13805.

2011-12-24 16:43 VZ, revision 70107

Add EVT_FSWATCHER event table macro. It was documented, and ought to have existed anyhow for consistency with wxEVT_FSWATCHER, but wasn't defined. Do it now. Closes #13804.

2011-12-24 16:43 VZ, revision 70106

Add EVT_WINDOW_MODAL_DIALOG_CLOSED() event table macro. Add it for consistency with wxEVT_WINDOW_MODAL_DIALOG_CLOSED. See #13804.

2011-12-24 16:43 VZ, revision 70105

Fix typo in wxEVT_COMMAND_RICHTEXT_LEFT_DCLICK in documentation. It was misspelt as wxEVT_COMMAND_RICHTEXT_DLEFT_CLICK. Closes #13802.

2011-12-24 16:42 VZ, revision 70104

Remove references to defunct event types in comments. No real changes, just complete the changes of r58039 by removing the references to non-existent (any more) event types from the comments too. Closes #13801.

2011-12-24 12:39 JS, revision 70103

Applied #13803: wxRichTextCtrl: missing event-table macro (dghart)

2011-12-24 11:08 SJL, revision 70102

Disable some wxWebView tests that fail on the buildbot but not locally.

2011-12-24 11:05 SJL, revision 70101

Fix typo in ADD_RAW_IID macro.

2011-12-23 20:16 SJL, revision 70100

Add some extra yields to wxWebView unit tests to hopefully fix some of the failing buildbot runs.

2011-12-23 18:38 PC, revision 70099

don't use deprecated function

2011-12-23 06:59 PC, revision 70098

fix tests for WXWIN_COMPATIBILITY_2_8, closes #13800

2011-12-22 20:16 SJL, revision 70096

Use OLE helper macros in wxWebView to reduce the amount of duplicated code.

2011-12-22 20:14 SJL, revision 70095

Add new ADD_RAW_IID OLE helper macro to allow use with classes that do not start with IID_I.

2011-12-22 20:08 SJL, revision 70093

Mark various OLE helper functions as DLL exported so they can be used from other libraries.

2011-12-22 19:21 PC, revision 70091

remove SetBackgroundStyle call from OnInternalIdle, it should be done from realize handler, closes #13799

2011-12-22 17:36 VZ, revision 70088

Fix wxLogFormatter compilation under MSW. Fix wxMSW compilation after the changes of r70086. Closes #13792.

2011-12-22 15:47 VZ, revision 70087

Dramatically optimise inserting many items in wxGenericListCtrl. During each item insertion SetItem() was called and this resulted in a call to GetItemRect() which, in turn, re-laid out all items in the control meaning that the relatively expensive wxListMainWindow::RecalculatePositions() was called N times when inserting N items. Reduce this to just a single call by not refreshing the item in SetItem() if everything is going to be redrawn soon anyhow. This decreases the time needed to insert a couple of thousands of items in icon view from several minutes to less than a second.

2011-12-22 14:35 VZ, revision 70086

Add wxLogFormatter to allow easier wxLog output customization. Delegate the log string creation to wxLogFormatter. This allows defining a custom object of a class derived from it to customize the log output instead of having to override DoLogRecord() in wxLog itself. Closes #13792.

2011-12-22 02:26 RD, revision 70085

Avoid a problem in Phoenix by making UpdateMacScrollWindow not be pure virtual.

2011-12-22 02:25 RD, revision 70084

Interface fixes for Phoenix

2011-12-21 17:27 SC, revision 70078

rebaked Xcode proj for cocoa after date & timectrls were added

2011-12-21 14:56 VZ, revision 70077

Correct generic wxListCtrl display of items with icons in list mode. The changes of r70066 improved the layout for icon and small icon modes but broke it for the list mode if items had icons because the item width should account for the icon as well in this case. Simply disable the code added in this revision when in list mode, we don't need to do anything then anyhow as the layout already worked correctly for it.

2011-12-21 14:56 VZ, revision 70076

Guard against a possible crash in wxListCtrl::DeleteColumn(). We could crash when deleting a column after switching to report view from icon view. As deleting a column works just fine under MSW in this case, make it work in the generic version as well.

2011-12-21 14:07 VZ, revision 70075

Document wxListCtrl::InReportView() and IsVirtual(). These functions are more convenient than directly testing for styles and are already used outside wxWidgets do make them officially part of the public API.

2011-12-21 01:26 VZ, revision 70074

Ignore extra modify events after rename in wxFileSystemWatcher. Document that such extra events may occur and generally improve the event types documentation.

2011-12-20 22:27 VZ, revision 70071

Provide native implementation of wx{Date,Time}PickerCtrl for wxOSX/Cocoa. Use NSDatePicker to implement both of these controls. Almost all of wxDatePickerCtrl styles are not supported in the native version but the basic functionality does work and looks much better than the generic version (which is still available as wxDatePickerCtrlGeneric if needed) under Mac.

2011-12-20 22:27 VZ, revision 70070

Added helpers for translating between wxDateTime and NSDate. These functions will be used in the upcoming native implementations of wxDatePickerCtrl and wxTimePickerCtrl but could also be reused elsewhere in wxOSX/Cocoa, notably in wxDataViewCtrl where strange ad hoc code is currently used.

2011-12-20 22:27 VZ, revision 70069

Added wxTimePickerCtrl page to the widgets sample. Even if this page is pretty trivial, add it for consistency with wxDatePickerCtrl.

2011-12-20 22:27 VZ, revision 70068

Reorganized the date picker page of the widgets sample. Make it possible to set the picker styles and set its range and not only the current value. Also log the events generated by it.

2011-12-20 22:22 VZ, revision 70067

Ukrainian translations update from Yuri Chornoivan.

2011-12-20 22:21 VZ, revision 70066

Fix horizontal alignment in icon view in generic wxListCtrl. Ensure that all the items in the same column have the same width, so that their labels are centred. Closes #9227.

2011-12-20 18:42 VZ, revision 70065

Brazilian Portuguese translations update from Felipe.

2011-12-20 16:39 VZ, revision 70064

Fix crash in wxRegion in wxOSX/Carbon. Apparently some code expects to be able to call wxRegion::GetWXHRGN() even on an invalid wxRegion. Return NULL in this case instead of crashing. This fixes crash on startup of the widgets sample.

2011-12-20 14:27 VZ, revision 70063

Add support for webview library to MSW bakefile presets. The webview library wasn't linked in correctly when using MSW bakefile presets. Fix this by adding the corresponding <sys-lib> for it (this needs to be done for MSW only, under Unix it's handled by wx-config). Closes #13789.

2011-12-20 14:24 VZ, revision 70062

Mention the dialog focus regression fix in wxMSW in the change log. See #13765.

2011-12-19 23:39 RD, revision 70061

Interface tweaks and fixes for Phoenix

2011-12-19 22:16 BP, revision 70060

Added missing semi-colon in versioninfo.h interface header.

2011-12-19 14:14 DS, revision 70052

Cleaned up some of the code in wxSlider::DoMoveWindow.

2011-12-19 13:54 VZ, revision 70051

Added support for wxEXEC_MAKE_GROUP_LEADER to wxExecute(). Map it to the native CREATE_NEW_PROCESS_GROUP flag as it's broadly similar to Unix semantics. Closes #13676.

2011-12-19 13:54 VZ, revision 70050

Add possibility to set item background in generic wxDataViewCtrl. Added wxDataViewItemAttr::SetBackgroundColour() and code to honour it in the generic implementation of wxDataViewCtrl. Closes #12621.

2011-12-19 13:54 VZ, revision 70049

Don't use dummy "inline" in wxDEPRECATED_CONSTRUCTOR definition. Apparently we need this bogus "inline" for g++ < 3.4 but there is no reason to use it for the other compilers and this results in linking errors with e.g. MSVC, so remove it. Closes #13775.

2011-12-19 13:28 DS, revision 70048

Fixed min and max label values not being swapped when using wxSL_INVERSE in a horizontal MSW slider. Changed wxSlider::GetLabelsSize to let the widthMin and widthMax values contain the width of what the minimum (always on the left/top) and maximum (always on the right/bottom) _label_ will contain. This is not the same as the minimum and maximum _value_ in case of using wxSL_INVERSE. Also don't swap the position of the min/max labels in a horizontal slider with wxSL_INVERSE (just how the labels already stay in place in a vertical slider, regardless of wxSL_INVERSE usage), nor their width. Regression since r65941. Fixes #13416.

2011-12-19 13:16 DS, revision 70047

Removed useless if statement in slider code. The y position of the slider is already taken care of by the variable ySlider, changing labelOffset has no use.

2011-12-19 13:12 DS, revision 70046

Don't move the slider's value label if it's not being used. An if statement was missing brackets and still moving the value label.

2011-12-18 15:38 VZ, revision 70045

Add a reminder to update version.bkl to inc_release script. While docs/tech/tn0011.txt does document this, it's still too simple to forget to update version.bkl, as my experience shows, so add a reminder to the script itself too.

2011-12-18 15:35 VZ, revision 70044

Update version to 2.9.4 in version.bkl too and rebake everything. Change the version for Unix shared libraries too.

2011-12-18 13:34 VZ, revision 70043

Added wxFilePickerCtrl::SetInitialDirectory(). This method allows to configure the initial directory to be shown when browsing for files in an initially empty wxFileDirPickerCtrl. It is also available for wxDirPickerCtrl but is less useful there.

2011-12-18 13:27 VZ, revision 70042

No changes, just use wxScopedPtr instead of explicit "delete". Use wxScopedPtr in wxGenericFileDirButton to ensure that the dialog created by it is always destroyed, even if an exception is thrown while showing the dialog or while processing the event we generate after showing it.

2011-12-18 12:51 SJL, revision 70041

Ensure wxWebViewIE::SetPage clears the existing content before writing the new output. Also add a basic unit test to verify correctness in the future. Fixes #13770

2011-12-18 00:52 VZ, revision 70040

Make wxPalette ctor and Create() const-correct in wxMSW. The input data is never modified so should be const (it is also documented as being const and actually is const in the other ports). Closes #13776.

2011-12-18 00:52 VZ, revision 70039

Define wxBitmapComboBox::Insert(void* clientData) overload in wxMSW. This overload was declared in the header but not implemented, do add its definition too. Closes #13774.

2011-12-18 00:52 VZ, revision 70038

Corrected the name of EVT_WEB_VIEW_ERROR event table macro. It was mistakenly spelt EVT_WEB_VIEW_ERRROR. Closes #13772.

2011-12-18 00:52 VZ, revision 70037

No changes, just fix typo in an example in webview docs. See #13772.

2011-12-18 00:04 VZ, revision 70036

Don't activate MSW dialogs when setting their initial size. As the dialog is not shown yet at this moment, activating it didn't work correctly and the dialog didn't get the focus when it was shown later. Fix this by preventing ::SetWindowPos() from activating it, which it does by default. Closes #13765.

2011-12-17 02:16 DS, revision 70023

Fixed DLL linking of core library with wxUSE_XPM set to 0. imagxpm.h was missing wxUSE_XPM guards which resulted in unresolved externals when compiling with wxUSE_XPM set to 0. Fixes #4085.

2011-12-17 02:13 DS, revision 70022

Fixed unreferenced parameter warning. Parameter xmpData was unused in wxImage::Create when compiling with wxUSE_XPM set to 0.

2011-12-16 23:12 VZ, revision 70021

Incremented the version number to 2.9.4 everywhere. The misc/scripts/inc_release script was used to update the versions.

2011-12-16 22:11 VZ, revision 70020

Try to get more information about wxFileSystemWatcher unit test failures. Log the original and new paths of the rename event to help debugging the extra modification events detected during the buildbot builds.

2011-12-16 20:57 VZ, revision 70019

Don't use wxTE_DONTWRAP style in Lines() wxTextCtrl unit case. The last check in this test couldn't pass under MSW as it relied on the (long) line of text being wrapped but the style used for the control prevented this from happening. Not sure how could it have ever worked before but in any case removing wxTE_DONTWRAP does make the test pass.

2011-12-16 20:47 VZ, revision 70018

Keep the item being updated selected in wxMSW wxChoice::SetString(). Changing the text of the selected wxChoice (or wxComboBox, as it derives from it in wxMSW) item made it unselected. Fix this by explicitly restoring the selection to the item if needed. Closes #13769.

2011-12-16 20:47 VZ, revision 70017

Corrected test for region validity in wxMSW wxRegion::DoOffset(). Checking M_REGION is not enough as the region can be invalid (meaning m_refData dereferenced inside M_REGION is NULL itself) and not just not initialized, so it resulted in crashes and not just the expected assert failure when wxRegion::Offset() was called for an invalid region.

2011-12-16 20:33 VZ, revision 70016

Use IsThisEnabled() to test if AUI child is enabled, not IsEnabled(). IsEnabled() returns false if the parent window is disabled and calling Enable() does not help with this, so we could keep trying and trying to enable the window unsuccessfully if it was reenabled while its parent was disabled, resulting in a never-ending stream of EVT_IDLE events. Closes #13767.

2011-12-16 12:03 VZ, revision 70015

Make multiline checkboxes wider in wxMSW to avoid word wrap. At least for some versions of Windows (Server 2003 with classic look and feel) the native checkboxes auto wrapped the label as it wrongly considered that the width we specified for it was not big enough. Compensate for this by making the checkbox wider -- this is just a hack but still better than corrupting the checkbox display.

2011-12-16 10:36 VZ, revision 70014

Output the value of --enable-debug option in configure. As we use AC_ARG_ENABLE() instead of WX_ARG_ENABLE() for it, we need to call AC_MSG_RESULT() explicitly or its value is never reported and configure output is corrupted.

2011-12-15 22:13 VZ, revision 70012

Compilation fix for wxStopWatch with wxUSE_THREADS==0. Use wxCRIT_SECT_DECLARE_MEMBER/wxCRIT_SECT_LOCKER macros which expand to nothing in wxUSE_THREADS==0 case instead of using wxCriticalSection[Locker] classes which are not defined then. Also explicitly include wx/thread.h.

2011-12-15 12:32 JS, revision 70011

Applied #13763 from dghart, to use primary selections if available

2011-12-15 01:22 VZ, revision 70009

Ensure that wxPropertyGrid::m_tlp is initialized early enough. This member variable could be used before it was initialized as OnTLPChanging() was called from Create() before Init2(), where m_tlp was assigned NULL, was called. Closes #13552.

2011-12-14 20:38 VZ, revision 70008

Tagging 2.9.3 for the third and final time.

2011-12-14 19:42 VZ, revision 70007

No changes, just harmonized the EOLs in the ISS file. Use consistent DOS EOLs for all the lines in this file.

2011-12-14 19:26 VZ, revision 70006
  • D /wxWidgets/tags/WX_2_9_3

Deleting 2.9.3 tag in preparation for moving it for the second time.

2011-12-14 18:38 VS, revision 70005

Remove unnecessary m_editorCtrl assignment. m_editorCtrl is WeakRef<>, so doing it is pointless, and it breaks VC6 compilation.

2011-12-14 17:04 VZ, revision 70004

Re-tagging 2.9.3.

2011-12-14 17:03 VZ, revision 70003
  • D /wxWidgets/tags/WX_2_9_3

Delete the original 2.9.3 tag, it will be recreated in a moment.

2011-12-14 17:00 VS, revision 70002

Close wxDataViewCtrl inline editor when destroying the control. If the wxDataViewCtrl control was destroyed while an inline editor control was still active, it wouldn't get destroyed in the right order and the ~wxWindow assert about unpopped event handlers would be triggered. Fix this by popping the handler as one of the first things in wxDataViewRendererBase destructor.

2011-12-14 16:53 VS, revision 70001

Don't change horizontal scroll position needlessly in wxDataViewCtrl. When ScrollTo() or EnsureVisible() was called in the generic wxDataViewCtrl implementation with unspecified column, horizontal scroll position was reset to left-most position, which doesn't make much sense. Instead, leave horizontal position unchanged in this case and only change it when explicitly requested.

2011-12-14 16:53 VS, revision 70000

Ensure that current column is visible in generic wxDataViewCtrl. When navigating between columns using keyboard, ensure visibility of the newly selected column.

2011-12-14 09:52 CE, revision 69999

2.9.3 version

2011-12-14 01:48 VZ, revision 69998

Tag 2.9.3 release.

2011-12-14 01:46 VZ, revision 69997

Add the release date of 2.9.3 to the change log.

2011-12-13 22:08 VZ, revision 69996

Use string column identifiers with NSTableColumns in wxDataViewCtrl. Starting with OS X 10.7 the column identifiers used in NSOutlineView must be of type NSString, so convert the code to use string identifiers instead of wxPointerObject. Closes #13661.

2011-12-13 20:06 JS, revision 69995

Applied #13738: Make a wxRichTextImage's box display around the image (dghart)

2011-12-12 21:38 DS, revision 69994

Regenerated Xcode projects. Updated the Xcode projects to use timectrlg.cpp (renamed from timectrl.cpp).

2011-12-12 16:54 SC, revision 69993

adding defaults for Xcode builds

2011-12-12 16:43 SC, revision 69992

reverting r69387 and r69389, fixes #13737

2011-12-12 15:01 VZ, revision 69991

Rename src/generic/timectrl.cpp to timectrlg.cpp. We can't use the same names for these files with VC6, it doesn't support this and the project can't be built because of the output object file names conflict.

2011-12-12 14:08 VZ, revision 69990

Remove the item before notifying about it in wxDataViewIndexListModel. Remove the item from the internal representation of the model before calling ItemDeleted() callback so that the callback sees the model in a consistent state. This is more consistent with the other callbacks (e.g. ItemAdded()) and other models (e.g. wxDataViewVirtualListModel) and should fix crashes in wxOSX version of the control. Closes #13753.

2011-12-12 14:08 VZ, revision 69989

Always give error message when file-related functions fail. Some failures in the file functions that usually did give error messages were not reported, do log these errors too now. Closes #13576.

2011-12-12 00:59 VZ, revision 69988

Fix harmless warning in wxOSX with 10.7 SDK. Use NSInteger instead of int in a declaration to avoid warnings about declaration mismatch from g++ 4.2 under OS X 10.7.

2011-12-12 00:51 VZ, revision 69987

Minor corrections to event handling overview documentation. Use "wx" prefix with the macros and correct the event methods used in the example. Closes #13752.

2011-12-12 00:51 VZ, revision 69986

Document that setting colours for native controls might not work. Changing colours of the native controls can't be relied on. See #13745.

2011-12-11 20:05 PC, revision 69985

fix GetTextExtent with non-null font argument, fixes #13750

2011-12-11 18:03 VZ, revision 69984

Ensure that Enter key presses are never stolen from wxButton in wxMSW. This commit fixes the following bug: when an in-place editor control containing an embedded button was used in wxDataViewCtrl, pressing Enter on the button would close the editor, accepting changes, instead as (generic) wxDataViewCtrl intercepts WXK_RETURN in its EVT_CHAR_HOOK handler. To prevent this from happening, wxButton now handles EVT_CHAR_HOOK itself and never lets the parent window intercept it if it's for WXK_RETURN. To ensure that normal wxEVT_KEY_DOWN and wxEVT_CHAR are still generated in this case, wxButton handler calls the new wxKeyEvent::DoAllowNextEvent() method that was added to allow suppressing EVT_CHAR_HOOK only, without affecting the subsequent events. DoAllowNextEvent() is currently only used in wxMSW but support for it was also added to wxGTK and (both) wxOSX ports. See #9102.

2011-12-11 06:36 PC, revision 69981

don't include files which may not exist in source release for a specific platform, fixes #13746

2011-12-10 19:17 VZ, revision 69980

Added wxXmlNode::DeleteAttribute() for forward compatibility with 2.9. For some reason this method was not added when all the rest were in r59768, do add it too. Closes #13105.

2011-12-10 19:09 VZ, revision 69979

Check that we have command line arguments before using them. Don't use argv[0] if argc == 0. Closes #13731.

2011-12-10 19:06 VZ, revision 69978

Don't use `install -d` to create directories. This is a backport of r69199 from trunk. See #13452.

2011-12-10 18:59 VZ, revision 69977

Update version in bakefile.m4 and regenerate configure to reflect it. Autoconf format files (autoconf_inc.m4 and Makefile.in itself) were generated with bakefile 0.2.9 but bakefile.m4 still contained 0.2.8, resulting in errors when configuring. Closes #13743.

2011-12-10 12:42 VZ, revision 69976

Document wxFileConfig ctor. This ctor was not documented at all because the comment preceding it was a plain C++ comment and not a Doxygen one. Do it now, especially as the logic of this ctor is not quite obvious.

2011-12-10 05:34 RD, revision 69970

Use default values for some parameters of wxSizerItem and wxGBSizerItem ctors

2011-12-09 22:41 VZ, revision 69969

Quote variables in -z tests correctly in wx-config. The changes of r69944 broke wx-config for the traditional Unix systems (at least Solaris and AIX, probably others too) which don't support using -z without any value (unlike Linux/bash). Fix this by quoting the possible empty variables in the tests.

2011-12-09 16:58 VZ, revision 69968

Rename wxRichToolTipPopup::SetBackground() method to avoid warnings in wxUniv. wxUniv has SetBackground() in wxWindow so rename this one to SetBackgroundColours() to avoid g++ warning about hiding a base class virtual.

2011-12-09 16:23 SC, revision 69967

avoid accepting an invalid color, ignore it, as other ports do, fixes #13720

2011-12-09 16:20 VZ, revision 69966

Restore mouse capturing/releasing in wxPopupTransientWindow under MSW. Partially revert the changes of r69350 to restore EVT_IDLE handling of wxPopupTransientWindow under MSW. It turns out that we must release the mouse for the embedded controls to work. It would be better to solve the problem differently, e.g. perhaps maybe only releasing mouse capture when mouse is clicked as the current code is fragile but for now at least restore the functionality that used to work. Closes #13740.

2011-12-09 12:09 SC, revision 69965

fixing copy size

2011-12-08 21:22 VZ, revision 69964

Add wxEXEC_HIDE_CONSOLE flag allowing to unconditionally do it under MSW. Also renamed wxEXEC_NOHIDE to wxEXEC_SHOW_CONSOLE for symmetry (keeping the old name for compatibility, of course). Extend exec sample to allow easily testing the different flags and adding more of them later. See #13676.

2011-12-08 21:22 VZ, revision 69963

Explicitly document wxEXEC_XXX flags. These flags were described in wxExecute() documentation but not clearly documented individually, do it now. Also reduce duplication of documentation in different wxExecute() overloads.

2011-12-08 18:08 SC, revision 69962

copied from old cocoa code from David, fixes #13732

2011-12-08 16:58 VZ, revision 69961

Allow using wxEvtHandler::Bind() with IBM xlC compiler v7+. xlC 7 seems to be able to deal with this code without problems under AIX 5.3 so white list it.

2011-12-08 16:55 VZ, revision 69960

Use '1'..'9' to simulate digits instead of WXK_NUMPADn. Using WXK_NUMPADn with wxUIActionSimulator doesn't work under Unix, the resulting GDK events have wrong keyval for some reason. It would, of course, be nice to fix this but in the meanwhile use ASCII codes to simulate the digits to at least allow doing this at all. Also extend uiaction sample to allow testing text simulation.

2011-12-08 16:55 VZ, revision 69959

Refactor to eliminate duplication in wxGTK key events generation code. This also fixes a small bug with wxKeyEvent::m_uniChar not being always set correctly to the same value as m_keyCode for ASCII characters.

2011-12-08 16:45 BP, revision 69958

Regenerated new Doxygen custom HTML header, footer, and stylesheet with 1.7.6, but only for use with Doxygen 1.7.4.

2011-12-08 15:54 VZ, revision 69957

Fix Unicode key code for Ctrl-letter in wxGTK. This was broken by changes in r69892 and just the letter was used as the key code instead of Ctrl-letter as it used (and should) be.

2011-12-08 15:47 VZ, revision 69956

Only declare wxComboBox::Popup/Dismiss() when using Cocoa in wxOSX. wxOSX/Carbon doesn't use the core implementation file so declaring these methods for the Carbon version resulted in linking errors. Just don't do this, they're not implemented for Carbon anyhow.

2011-12-08 15:15 VZ, revision 69955

Refresh generic wxListCtrl after removing a column from it. Deleting a column still kept it on display, at least until the next refresh, e.g. resizing the window was enough to make it disappear. Simply add a call to Refresh() to ensure that the column does disappear when deleted.

2011-12-08 14:07 VZ, revision 69954

Document that wxEraseEvent::GetDC() never returns NULL. This makes implementation of EVT_ERASE_BACKGROUND handlers simpler. Closes #13736.

2011-12-08 14:04 VZ, revision 69953

Correct the name of EVT_DATAVIEW_ITEM_START_EDITING event type in the docs. START_EDITING is not the same as EDITING_STARTED.

2011-12-08 01:07 VZ, revision 69952

Fix asserts when removing the menu item starting radio group in wxOSX. Update m_startRadioGroup when removing the item it corresponds to. Closes #13545.

2011-12-08 00:55 VZ, revision 69951

Set the tooltip for generic wxToolBar tools under wxOSX/Cocoa. When using non-native toolbar, set the tooltip for tools m_controlHandle. Closes #12362.

2011-12-08 00:41 VZ, revision 69950

Work around impossibility to use wxCombobox in wxGrid in wxOSX. Open the combobox when the editor is initially shown, this somehow ensures that the combobox selection is taken into account when it is closed while without this the selection is simply completely ignored. This is just a hack but at least it allows to use wxGridCellChoiceEditor under wxOSX which was previously impossible at all. Closes #12644.

2011-12-08 00:41 VZ, revision 69949

Use NSApp abortModal instead of stopModal to end modal dialogs. Using abortModal is apparently the right thing to do if the dialog is not being closed as the result of user action (but e.g. because a timer expired) and shouldn't change anything if it done because of something the user did (e.g. clicked on a button). Closes #12467.

2011-12-08 00:41 VZ, revision 69948

Implement wxComboBox::Popup() and Dismiss() for wxOSX/Cocoa. Unlike in the other ports, these methods currently don't generate any events under OS X because these events are never generated at all there. Closes #12642.

2011-12-08 00:21 VZ, revision 69947

Don't use gtk_menu_item_set_submenu() with NULL menu with GTK+ < 2.12. In GTK+ 2.10 and earlier gtk_menu_item_remove_submenu() had to be used to remove the items submenu as gtk_menu_item_set_submenu() gave errors when passed NULL submenu, so call the old function when using old GTK+ version.

2011-12-07 20:34 PC, revision 69945

In Refresh(), allow for possibility that child is mapped and parent is not. It turns out this can actually happen, and is apparently allowed by GTK.

2011-12-07 17:13 VZ, revision 69944

Order the libraries correctly in wx-config for static linking. The order of libraries matters when linking statically under UNIX. Ensure that it is always correct in wx-config itself.

2011-12-07 15:35 VZ, revision 69943

Fix the size of the buffer when using wxIPC::Execute() with DDE. Don't multiply the "realSize" variable by sizeof(wxChar) when passing it to DdeClientTransaction(), as its name indicates it is already supposed to be the size of the data and not the length of the string so just ensure that it is always correctly set to the size and not length when initializing it. Closes #13734.

2011-12-07 15:05 VZ, revision 69942

Remove vertical wxTextCtrl adjustment hacks for wxMSW in wxComboCtrl code. Because wxTextCtrl used to wrongly report its best size in wxNO_BORDER case under MSW, wxComboCtrl manually adjusted its position to work around this. However since r69066 wxTextCtrl::GetBestSize() was fixed and now these adjustments resulted in wrong vertical position for the control. Just remove all manual adjustments completely now to fix this. Closes #13722.

2011-12-07 13:48 CE, revision 69941

add dot to path

2011-12-07 13:46 VZ, revision 69940

Add documentation of emitted events to wxScrolled documentation. Make it clear that wxScrolled<> emits wxScrollWinEvent and not wxScrollEvent. Closes #13730.

2011-12-07 08:47 JJ, revision 69939

Update Make-files for OpenVMS

2011-12-07 01:59 VZ, revision 69938

Pretend that the window showing popup menu has focus in wxGTK. This is necessary for compatibility with wxMSW as the focus remains on the window which had it before the popup menu was shown there and existing code relies on it, while in wxGTK the popup steals the focus when it's shown.

2011-12-07 01:59 VZ, revision 69937

Enable wxEvtHandler::Bind() for Sun CC. At least 5.10+ are good enough to compile it.

2011-12-07 01:59 VZ, revision 69936

Fix build with Sun CC under Linux. We need to explicitly define _GNU_SOURCE when building our code as we use it configure when running the tests and it's not predefined by Sun CC, unlike g++ so we need to add it to CXXFLAGS ourselves. An alternative solution would be to run the tests without _GNU_SOURCE but this would lose too much functionality so it doesn't seem like a good idea.

2011-12-07 01:59 VZ, revision 69935

Remove wxHAVE_GLIBC2 from configure, always predefine _GNU_SOURCE. We used to test for glibc version first and predefined _GNU_SOURCE only if it was greater than 2.1 but there doesn't seem to be any harm to just always predefine _GNU_SOURCE under Linux (not that there are any systems with glibc < 2.1 left anyhow). Also do it much earlier to ensure that all tests are affected by it. And as we don't use wxHAVE_GLIBC2 anywhere else just remove it.

2011-12-06 19:35 SC, revision 69934

avoiding NSToolbarSeparatorItemIdentifier under Lion, where it is not supported anymore, fixes #13363

2011-12-05 10:59 JS, revision 69933

Applied patch #13698 to fix wrong border test

2011-12-05 10:00 CE, revision 69932

add docs to name

2011-12-05 01:00 VZ, revision 69931

No changes, just remove unnecessary assignment in wxOSX code. Local size variable was unnecessarily assigned itself. Closes #13723.

2011-12-05 00:57 VZ, revision 69930

Add virtual dtor to wxCustomBackgroundWindowBase. Suppress g++ warnings about a class with virtual methods but non-virtual dtor by making the dtor virtual even if we don't need it to be virtual in this class.

2011-12-05 00:57 VZ, revision 69929

Compilation fix for wxCarbon after the last commit. Apply corrected version of the patch for Carbon. See #13661.

2011-12-04 20:23 VZ, revision 69928

Fix wxDataViewCtrl compilation with 10.7 SDK under OS X. Add the required casts to wxPointerObject. Closes #13661.

2011-12-04 13:26 VZ, revision 69927

Do not declare "environ" variable ourselves under MSW. The changes of r69564 making "environ" declaration unconditional broke MinGW 4.6 build, presumably because "environ" is declared differently (as DLL exported?) there, so avoid declaring it under MSW, we don't need to do it there anyhow as it's always defined in system headers.

2011-12-04 00:52 VZ, revision 69926

Allow 2-step creation of wxGenericProgressDialog. Add default ctor and Create() with the same parameters as the non-default ctor. Closes #13555.

2011-12-04 00:52 VZ, revision 69925

Don't include version in the URL created by wxMSW installer. The link is the same for all version so don't version it.

2011-12-04 00:52 VZ, revision 69924

Don't require admin privileges in the MSW installer. We don't need any extra privileges so avoid the elevation prompt under Windows Vista and later.

2011-12-03 01:34 VZ, revision 69922

Generate makefiles for treelist sample when using configure. treelist sample was never added to SAMPLES_SUBDIRS. Closes #13718.

2011-12-03 01:34 VZ, revision 69921

Fix bug with wxStopWatch::Start() not resuming paused stopwatch any more. Since r69835 the stop watch remained paused even when Start() was called. Do resume it when restarting it both for backwards compatibility and because it makes more sense and also document this behaviour.

2011-12-03 00:44 DS, revision 69920

Updated out of date versions and release dates. Mentioned more files in tn0011.txt that need version updating, and made it more clear which ones need to be changed manually. Modified inc_release to update docs/readme.txt and changed the version references in the readme.txt to 2.9.3. Also changed two references to the month of release from July to December.

2011-12-02 18:06 CE, revision 69916

rc1

2011-12-02 16:20 VZ, revision 69915

Tag 2.9.3 RC1.

2011-12-02 14:25 SC, revision 69914

fixing build

2011-12-02 13:42 VZ, revision 69913

Link to wxGridCellFloatFormat when it's mentioned in the documentation. Enum names are not auto-linked by Doxygen so prefix this enum with "::" to force link creation.

2011-12-02 13:04 VZ, revision 69912

Rebake after webview-related changes in common.bkl. Forgot to rebake all files (and not just library ones) after changes of r69589.

2011-12-02 13:04 VZ, revision 69911

Compilation fixes for wxMSW in wxUSE_STL=1 build. Add explicit conversions from wxString to wchar_t* as they don't happen implicitly when wxUSE_STL=1. Closes #13715.

2011-12-02 13:04 VZ, revision 69910

Handle OpenBSD in wxDialUpManager code. Closes #13716.

2011-12-02 11:34 DS, revision 69909

set svn:eol-style to CRLF on MSVC project files for wxWebView

2011-12-02 11:15 DS, revision 69908

Fixed x64 application termination after exceptions in a file dialog callback. Since Windows 7 exceptions thrown in a file dialog callback (possibly by third-party utilities) aren't swallowed anymore. Make use of SetProcessUserModeExceptionPolicy (available in Windows 7 SP1) to temporarily restore the old behaviour and prevent the crashing (or summoning of the Program Compatibility Assistant) of an x64 application. Closes #13674.

2011-12-02 08:40 SC, revision 69907

adapting Xcode projects for r69898

2011-12-02 02:01 RD, revision 69899

Removed const from a couple methods that are not const in the real code.

2011-12-02 01:56 VZ, revision 69898

Rename src/generic/richtooltip.cpp to src/generic/richtooltipg.cpp. This avoids object file name conflict with src/msw/richtooltip.cpp when using VC6.

2011-12-02 01:50 VZ, revision 69897

Update all controls using in-place editors to handle Escape/Return correctly. Define EVT_CHAR_HOOK handlers to ensure that pressing Escape/Return while an in-place edit control is active affects only it and is not used for the keyboard navigation. Closes #9102.

2011-12-02 01:50 VZ, revision 69896

Fix reentrancy in wxDataViewRendererBase::FinishEditing(). Switching focus to the main wxDataViewCtrl window resulted in focus loss event and a reentrant call to FinishEditing() itself if it wasn't called because the in-place edit control was being destroyed the first time. Fix this by destroying the in-place control first and adjusting the focus later, the effect should be exactly the same but now FinishEditing() can be safely called from anywhere in the code.

2011-12-02 01:50 VZ, revision 69895

No changes, just move wxTreeCtrlBase ctor to the source file. Move inline ctor out of line to prepare for changing it.

2011-12-02 01:50 VZ, revision 69894

Don't use ListView_CancelEditLabel() as it doesn't work as expected. ListView_CancelEditLabel() doesn't revert the controls value to the original text as expected, so don't use it and revert to sending VK_ESCAPE to the in-place edit control instead under all versions of Windows. See #7663.

2011-12-02 01:50 VZ, revision 69893

Make wxEVT_CHAR_HOOK propagate upwards and send it to the window itself. Send wxEVT_CHAR_HOOK events to the focused window itself but make them propagatable to ensure that the parent windows (including the top level parent) still get it. This still allows the TLW parent to intercept keyboard handling in its child but allows the child (or an intermediate parent window) to have some say in the matter. See #9102.

2011-12-02 01:50 VZ, revision 69892

Make wxEVT_CHAR_HOOK behave in wxGTK as in wxMSW. Send wxEVT_CHAR_HOOK before wxEVT_KEY_DOWN and avoid generating both wxEVT_KEY_DOWN and wxEVT_CHAR if the hook event was handled. This makes wxGTK behave consistently with wxMSW and wxOSX/Cocoa as can be seen in the keyboard sample.

2011-12-02 01:50 VZ, revision 69891

Added wxKeyEvent ctor for creating event of the different type for same key. This is useful for implementation code in a couple of ports so provide a higher level ctor doing this instead of having to use a copy ctor and then manually changing the event type.

2011-12-02 01:50 VZ, revision 69890

Refactor wxKeyEvent copying code. Avoid duplication between copy ctor and assignment operator. Also extract the assignment of everything not including the event type in a reusable function as this can be useful for key event generation code in wxGTK and possibly other ports.

2011-12-02 01:50 VZ, revision 69889

Implement EVT_CHAR_HOOK for wxOSX/Cocoa. Send wxEVT_CHAR_HOOK event from wxOSX/Cocoa code. Also test for wxEVT_CHAR_HOOK in the keyboard sample and show the effect of not skipping it. Closes #12431.

2011-12-02 01:50 VZ, revision 69888

No changes, just remove unnecessary #pragma warning. The warning we disabled occurred in the code that was removed long time ago so it's not necessary to do it any more.

2011-12-01 19:36 SC, revision 69886

applying patch for raise and synthesizing mouse-up for built-in controls, fixes #12363

2011-12-01 17:54 PC, revision 69885

fix warning about missing return statement, closes #13713

2011-12-01 15:22 VZ, revision 69884

Only use __declspec(restrict) with VC8+ in libpng. VC7 doesn't support it. Closes #13710.

2011-12-01 15:22 VZ, revision 69883

Added wxCriticalSection::TryEnter() method. This is similar to wxMutex::TryLock() and useful for the same reasons. Closes #13638.

2011-12-01 15:22 VZ, revision 69882

Chinese translations update from Huang Jiawei. Fix more fuzzy translations.

2011-12-01 15:22 VZ, revision 69881

Fix timeout used in POSIX implementation of wxCondition::WaitTimeout(). The time passed to pthread_cond_timedwait() must be in UTC, not local time, but wxGetLocalTimeMillis() now really returns the time in local time zone so we must use wxGetUTCTimeMillis() instead. Closes #13707.

2011-12-01 09:16 PC, revision 69880

remove unused variables

2011-12-01 09:08 PC, revision 69879

add test for bug fixed in r69878

2011-12-01 07:57 PC, revision 69878

Fix crash when appending menuitem after removing it from another menu. Also remove unused return value from GtkAppend

2011-11-30 11:48 VZ, revision 69874

Fix setting the parent of wxProgressDialog. Don't call GetParentForModalDialog() with wxProgressDialog style, this doesn't work as it expects the window style. Do call SetParent() when using the native MSW implementation as the wx-level parent is not used then. Closes #13706.

2011-11-30 11:21 VZ, revision 69873

Don't include all wx/xxx/webviewhistoryitem_xxx.h headers. Only one of these headers is available for each platform so include at most one of them. Closes #13705.

2011-11-30 11:21 VZ, revision 69872

Include wx/defs.h, not wx/setup.h from wx/webview.h for consistency. All wx headers start by including wx/defs.h so do it in wx/webview.h as well even if wx/setup.h was sufficient in this particular case.

2011-11-30 10:21 VZ, revision 69871

Document more wxCommandProcessor methods. Document CanRedo(), Store() and GetCurrentCommand(). Closes #13700.

2011-11-30 10:21 VZ, revision 69870

Use more clear names for variables in wxHtmlSelection code. Call the variables and related methods "character position" instead of "private position" which wasn't very clear. Closes #13307.

2011-11-30 10:16 VZ, revision 69869

Remove unused variable from wxWebViewWebKit code in wxGTK. g++ correctly warned about a variable being set but never used, just remove it.

2011-11-30 10:16 VZ, revision 69868

Fix wxWebView compilation in STL build with wxGTK. Convert wxString to GTK+ strings explicitly, implicit conversion doesn't happen in STL build and may be wrong anyhow as it doesn't necessarily convert the strings to UTF-8 expected by GTK+. Closes #13703.

2011-11-30 01:52 VZ, revision 69867

Make wxMSW status bar slightly less tall by default. The status bar in wxMSW applications was too big under Windows 7 because it used EDIT_HEIGHT_FROM_CHAR_HEIGHT() to calculate the height which was simply unwarranted here. Instead, make the status bar tall enough to accommodate simple text contents by default and fix SetMinHeight() to actually work for the cases when a taller toolbar is needed.

2011-11-29 20:27 VZ, revision 69863

Don't include pbt.h from wxMSW code unnecessarily. The contents of this header is available from winuser.h (included by windows.h) since at least 15 years and pbt.h itself is not included in the latest Platform SDK releases (8+) so simply don't include it and also don't test for its availability in configure.

2011-11-28 21:19 SJL, revision 69862

Override MSWTranslateMessage for wxActiveXContainer. Calling IOleInPlaceActiveObject::TranslateAccelerator ensures that accelerators and other keyboard functionality behaves correctly. Fixes #13679.

2011-11-28 20:15 VZ, revision 69861

Override GetMainWindowOfCompositeControl() in wxGrid subwindows. This is necessary for HasFocus() to work correctly for them since the changes of r69788. Closes #13686.

2011-11-28 20:15 VZ, revision 69860

Correct HasFocus() to work with subwindows of a composite control. When a subwindow (i.e. one that overrides GetMainWindowOfCompositeControl() to return a parent window) has focus, HasFocus() should return true for it too, in addition to returning true for the main window. This completes the fix of r69788.

2011-11-28 19:58 VZ, revision 69859

Extend wxBannerWindow background bitmap if necessary. Ensure that the entire banner window uses the same background colour as the bitmap, even when the bitmap is too small for the window size. This allows to avoid using huge bitmaps if extending the bitmap with solid colour looks good enough.

2011-11-28 15:16 VZ, revision 69858

Added instructions about building applications using wxMSW. Explaining how to build wxWidgets itself is insufficient as usually people want to actually build their programs using it and not just the library itself, so add a section explaining how to build the projects using wxMSW. Also add a table of contents and mention that MSVC and g++ are the main supported compilers.