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.

2011-11-28 14:34 VZ, revision 69857

Ignore WXK_NONE events in wxStyledTextCtrl. Scintilla use of 0 indicating "modifier key" conflicts with our use of WXK_NONE indicating absence of a valid key code. As Scintilla can't do anything with the keys without a key code anyhow, simply ignore them immediately, without passing them to Scintilla, in DoKeyDown(). This fixes handling of IME input in wxStyledTextCtrl under MSW and possibly other problems (e.g. with dead char keys). Closes #13570.

2011-11-28 14:23 VZ, revision 69856

Add support for custom numeric formats to wxGrid. Allow %e and %g formats (as well as their upper-letter equivalents) in addition to the default %f format for number display in wxGrid. Closes #13583.

2011-11-28 13:47 VZ, revision 69855

Don't hardcode the number of toolbar tools in the toolbar sample. Use GetToolsCount() instead of the hardcoded 10 (which can be wrong if any tools were added or removed). See #13673.

2011-11-28 13:47 VZ, revision 69854

Corrected handling of wxTB_HORZ_TEXT in the toolbar sample. The value of flag could be lost when toolbar was recreated without using text at all. Closes #13572.

2011-11-28 11:24 SC, revision 69853

supporting rawctrl strings, fixes #13496, rawctrl is correctly interpreted for all platforms

2011-11-28 07:02 DS, revision 69852

Regenerated Xcode projects. Updated the Xcode projects to include src/common/time.cpp.

2011-11-28 06:11 PC, revision 69851

update _GOptionGroup check

2011-11-28 06:00 PC, revision 69850

build fixes for Universal

2011-11-28 05:51 PC, revision 69849

don't warn about gnomeprint if we already have gtkprint

2011-11-27 23:59 PC, revision 69848

don't require gconf-2.0, we don't use it

2011-11-27 21:28 VZ, revision 69847

Include wx/time.h to get wxLocaltime_r() declaration, not wx/datetime.h. Also remove wxUSE_DATETIME guard, wxLocaltime_r() is available even without wxUSE_DATETIME.

2011-11-27 21:28 VZ, revision 69846

No changes, just moved wxLocaltime_r() and wxGmtime_r() to wx/time.h. These functions are used by wxGetTimeZone() defined in time.cpp and so need to be available from wx/time.h. This is also the most logical place for them.

2011-11-27 20:52 VZ, revision 69845

Implement wxStackWalker for wxMSW under x86-64. Use 64 bit debug help functions instead of 32 bit ones and add code for dealing with x86-64 stack frames.

2011-11-27 20:50 VZ, revision 69844

Add support for VK_OEM_102 key under wxMSW. This is the "<>|" key on German keyboard and is also used in many other layouts so failing to handle it resulted in not receiving EVT_KEY_XXX events for these keys in wxWidgets programs. Closes #13558.

2011-11-27 20:50 VZ, revision 69843

Set Unicode key code correctly for key events for WXK_RETURN in wxMSW. WXK_RETURN is an ASCII character so return it from wxKeyEvent::GetUnicodeKey() for EVT_KEY_{DOWN,UP} events, especially as it was already done for EVT_CHAR ones. See #13558.

2011-11-27 20:50 VZ, revision 69842

Change value of wxHELP to avoid clash with wxSTAY_ON_TOP. Using wxSTAY_ON_TOP with wxMessageDialog resulted in "Help" button appearing since r68537 because these two constants had the same numeric value. Avoid this by changing wxHELP value to be the same as wxCLOSE_BOX instead: the latter can't be used with wxMessageDialog so this should solve the problem, even if there are still conflicts. Also adjust the other button constants values to account for wxHELP change. Closes #13433.

2011-11-27 20:50 VZ, revision 69841

Use wxGetUTCTimeUSec() in wxStopWatch under Unix for higher precision. If gettimeofday() is available we can achieve better than millisecond precision (even if it usually isn't as high as microsecond), so use it as clock source in wxStopWatch.

2011-11-27 20:50 VZ, revision 69840

Use wxGetUTCTimeMillis() instead of wxGetLocalTimeMillis() in wxStopWatch. Using local time meant that wxStopWatch didn't work reliably around DST changes. It also was completely unnecessary, just use the UTC clock instead.

2011-11-27 20:50 VZ, revision 69839

Removed private wxGetLocalTimeUsec() function from Unix code. The function was badly named as it returned UTC time and not local time and can be simply replaced with the just added public wxGetUTCTimeUSec().

2011-11-27 20:50 VZ, revision 69838

No changes, just move time functions from wx/stopwatch.h to wx/time.h. Preserve compatibility by including wx/time.h from wx/stopwatch.h but put all the time-related functions in a more logical place.

2011-11-27 20:50 VZ, revision 69837

Added wxGetUTCTimeMillis() and wxGetUTCTimeUSec(). Fixed wxGetLocalTimeMillis() to really return the local time and provide wxGetUTCTimeMillis() doing what this function used to do before. Closes #13610. Also add wxGetUTCTimeUSec() for even higher resolution time stamps as it is basically the same as wxGetUTCTimeMillis() anyhow, at least for MSW and non-ancient Unix systems providing gettimeofday().

2011-11-27 20:50 VZ, revision 69836

Extracted private GetTimeZone() to public wxGetTimeZone() function. Created new wx/time.h header for this function, more time-related functions will be added to it later.

2011-11-27 20:50 VZ, revision 69835

Added wxStopWatch::TimeInMicro() for better precision time measurement. Also simplify/streamline wxStopWatch implementation and replace confusingly named m_pause with more clear m_elapsedBeforePause.

2011-11-27 20:50 VZ, revision 69834

Use ::QueryPerformanceCounter() for wxStopWatch implementation in wxMSW. QueryPerformanceCounter() provides higher resolution and precision for measuring time under MSW, even though it suffers from some problems in older Windows versions.

2011-11-27 20:50 VZ, revision 69833

Use shorter sleep times in wxStopWatch unit test. Make wxStopWatchTestCase::Misc() run in 2.5 seconds instead of 7. This not only makes the test run faster but allows us to test wxMilliSleep() and precision of wxStopWatch for time periods in fractional seconds.

2011-11-27 20:50 VZ, revision 69832

Correct wxTLS_PTR definition for !wxHAS_COMPILER_TLS case. wxTLS_PTR should have type of "T*" instead of being simply usable as "T*" because of its overloaded operator->(), otherwise the code relying on it being "T*" and compiling without problems in wxHAS_COMPILER_TLS case could fail to compile without compiler TLS support. Closes #13644.

2011-11-27 20:49 VZ, revision 69831

Don't hide/show wxActiveXContainer when resizing it. This results in bad flicker as can be seen with wxWebView or wxMediaCtrl and just doesn't seem to be necessary. Closes #13680.

2011-11-27 20:49 VZ, revision 69830

Don't crash when changing label of label-less wxToggleButton in wxGTK. If a button doesn't show any text label, simply don't do anything when SetLabel() is called instead of replacing the image shown by the button with a text label as the button doesn't expect this to happen and doing it breaks its assumptions about the widgets it has and results in assert failures later. Closes #13693.

2011-11-27 20:49 VZ, revision 69829

Include webview library headers in the list of all headers. Due to a typo in files.bkl (${...} was used instead of $(...) so the variable didn't get really dereferenced), the web view headers were not included in the list of all headers and hence not installed by "make install" under Unix. Closes #13690.

2011-11-27 20:49 VZ, revision 69828

Merge similar but not quite identical translated strings. Some translated strings appeared several times in almost but not quite identical form. Remove a few of them so that they don't have to be translated multiple times. Closes #13637.

2011-11-27 20:49 VZ, revision 69827

Define wxCURSOR_DEFAULT_TYPE correctly for the old Cocoa port. Closes #13652.

2011-11-27 13:57 JS, revision 69825

Bitlist comparison correction

2011-11-25 23:25 DS, revision 69822

merged libpng 1.5.6 to trunk

2011-11-25 23:22 DS, revision 69821

tagged libpng 1.5.6

2011-11-25 22:51 DS, revision 69820

Upgraded to libpng 1.5.6 (without contrib subdirectory). Also set some svn:eol-style properties on files added during previous upgrades.

2011-11-25 19:11 VS, revision 69819

Account for indentation in wxDataViewCtrl::GetBestColumnWidth(). Generic control only accounted for actual content, but didn't consider indentation level when calculating width of the expander column. Fixes #13629.

2011-11-25 15:37 SC, revision 69818

fixing iPhone build

2011-11-25 02:01 PC, revision 69817

check for self-assignment in operator=

2011-11-25 01:59 PC, revision 69816

copy array with memcpy rather than a loop

2011-11-25 01:52 PC, revision 69815

use int instead of size_t for a couple member variables it's simpler, and there is no point in using size_t anyway since they are assigned from ints

2011-11-25 01:32 PC, revision 69814

IsNull --> IsEmpty

2011-11-24 23:21 DS, revision 69812

Regenerated Xcode projects. Updated the Xcode projects to include wxRichToolTip files.

2011-11-24 02:38 RD, revision 69807

OnSysRead is pure virtual

2011-11-24 02:37 RD, revision 69806

The wxStreamProtocolType enum is multiply defined, remove one of them.

2011-11-24 00:58 VZ, revision 69805

Fix crash in wxTreeListCtrl::GetItemText() if text was never set. Asking for the text of an item is not an error even if it was never set for any column but the first one so just return an empty string in this case instead of crashing.

2011-11-23 18:21 PC, revision 69802

remove redundant GTK-specific code

2011-11-23 16:06 VZ, revision 69801

Italian translation corrections from Roberto Boriotti.

2011-11-23 14:43 VS, revision 69800

Make generic wxDataViewCtrl rows a bit taller. They now use the same height that Windows 7's Explorer uses. This makes more inline editor controls fit comfortably.

2011-11-22 14:18 VZ, revision 69797

Added convenient wxCmdLineParser::AddLong{Option,Switch}() wrappers. The new functions simply call Add{Option,Switch}() with an empty first argument but using them makes the code more readable.

2011-11-22 14:18 VZ, revision 69796

Dismiss wxSplashScreen on any user input, not necessarily on splash itself. Use wxEventFilter to remove the splash screen as soon as any user input is detected anywhere in the application, not necessarily over the splash screen itself. This ensures that the splash screen disappears as soon as the user starts working with the application instead of sticking around and covering the main window.

2011-11-22 14:18 VZ, revision 69795

Ensure that wxSplashScreen doesn't appear on taskbar nor in Alt-TAB list. Having the splash screen in Alt-TAB window list under MSW was useless and ugly (as it didn't even have the proper application icon) so use the appropriate styles to avoid this.

2011-11-22 14:18 VZ, revision 69794

Add wxEventFilter and related functionality. Allow defining event filters to globally pre-process all application events without having to override wxApp::FilterEvent().

2011-11-22 14:18 VZ, revision 69793

Hack wxMSW wxNotebook to show the text controls correctly initially. Add an Update() call to ensure that text controls in the initially selected notebook page are shown correctly. It's almost certainly not the right fix for the real bug that results in text controls not being shown when the notebook comes up but it doesn't cost much and at least allows us to get correct appearance for the themed notebooks.

2011-11-22 08:41 SC, revision 69792

fixes #13684

2011-11-19 18:35 VZ, revision 69790

Italian translation update from Stefano and Roberto Boriotti.

2011-11-19 01:00 VZ, revision 69789

Czech translations update from Zbyněk Schwarz.

2011-11-19 00:40 VZ, revision 69788

Fix HasFocus() for composite controls. Comparing the result of DoFindFocus() with the main window of composite control doesn't work as it can return a child window so HasFocus() still returned false for a composite control such as generic wxListCtrl even when it did have focus. Just use FindFocus() instead of DoFindFocus() to fix this.

2011-11-19 00:40 VZ, revision 69787

No changes, just remove extra whitespace from wxWebViewIE code. Closes #13678.

2011-11-17 21:43 SJL, revision 69786

Remove double buffering from wxWebViewIE as this is handled by the web browser control itself and actually makes flickering worse. Also remove an unnecessary background style.

2011-11-17 21:39 SJL, revision 69785

Adjust testing for non-visible controls in wxActiveXContainer. Fixes #13659

2011-11-17 17:43 VZ, revision 69784

Provide HANDLE_PTR for the compilers without it such as VC6. Also include wx/msw/wrapwin.h defininig HANDLE_PTR from wx/msw/webview_ie.h that uses it.

2011-11-17 08:51 JJ, revision 69783

define Popup and Dismiss for wxComboBox in wxMOTIF

2011-11-17 04:20 RD, revision 69776

fix missing and broken interface items for Phoenix

2011-11-17 02:25 RD, revision 69771

Add arg default values for the Create method

2011-11-17 02:23 RD, revision 69770

Don't include webkit headers from wx headers

2011-11-17 00:45 VZ, revision 69768

Move wxWebView-related definitions to webview_ie.cpp and fix them. Ensure that all the GUIDs are defined by including initguid.h to fix linking error with most versions of MinGW. Use "wx" prefix to avoid clashes with the standard GUIDs if they do happen to be defined. Closes #13645.

2011-11-16 19:38 VZ, revision 69767

Another Chinese translations update from Jiawei Huang.

2011-11-16 19:27 VZ, revision 69766

Compilation fix for PCH-less build after r69758. Need to include wx/msw/private.h explicitly for wxGetCursorPosMSW() declaration now. Closes #13664 (again).

2011-11-16 18:44 SC, revision 69765

porting back r69689

2011-11-16 17:57 SC, revision 69764

default encoding fix

2011-11-15 16:56 VZ, revision 69762

Add support for digits and +/- sign to wxUIActionSimulator::Text(). Support the characters needed for number entry in wxUIActionSimulator::Text() too. Closes #13671.

2011-11-15 16:46 VZ, revision 69761

Only update status bar fields after they were created in wxMSW. Postpone updating statu bar panes after they were actually created. Setting the status bar fields contents before setting the number of them failed resulting in debug error messages and the text not appearing in the status bar. Closes #13670.

2011-11-14 14:35 VZ, revision 69760

Replace wxT() with wxS() in image options definitions. The optimal way of creating a literal strings consisting of only ASCII characters is to use wxS() as this avoids the need for run-time conversion in all builds while wxT() requires a conversion from wchar_t to UTF-8 in UTF-8 builds. So replace wxT() with wxS() in wxImage options definitions. Also remove wxT() from the options documentation, it's just useless there.

2011-11-14 14:35 VZ, revision 69759

Added wxIMAGE_OPTION_ORIGINAL_{WIDTH,HEIGHT} wxImage options. These options allow to retrieve the original image size if the image was scaled during load. Closes #13662.

2011-11-14 13:51 VZ, revision 69758

Fall back on ::GetMessagePos() if ::GetCursorPos() fails under MSW. In some rare but reproducible cases GetCursorPos() can fail and return without filling in the provided point. Fall back to GetMessagePos() if this happens: this is not ideal but clearly better than using uninitialized position or hard coding something like (0, 0). Closes #13664.

2011-11-14 13:51 VZ, revision 69757

Don't redefine symbols already defined in latest MinGW headers. Closes #13645.

2011-11-14 13:51 VZ, revision 69756

No changes, just add another case to a switch on wxMouseButton. Fix warnings given when wx headers are compiled with g++ -Wswitch-enum option. Also make the assert messages more precise and less verbose as there is no need to include the function name in them, all relatively recent compilers provide it via __FUNCTION__ and wxFAIL_MSG() already uses it.

2011-11-14 10:39 JJ, revision 69755

Update compile support fror wxGTK on OpenVMS

2011-11-14 08:52 SC, revision 69754

latest private API usage complaint, right now most subclasses are using their own implementation, so this shouldn't lead to problems

2011-11-13 13:57 SJL, revision 69748

Set focus on the browser window after loading a url. Also fix a warning. Closes #13660

2011-11-13 12:51 VZ, revision 69747

Added stock accelerator for wxID_PRINT. Ctrl+P is a pretty standard accelerator for the "Print" command so add it as a stock one.

2011-11-12 23:47 VZ, revision 69746

Use wxConvertStringToOle() in wxWebViewIE code. Fix compilation in wxUSE_UNICODE=0 case.

2011-11-12 23:47 VZ, revision 69745

Correct typo in wxUSE_WEBVIEW_IE test in configure. Because of a missing '$' before wxUSE_WEBVIEW_IE in the configure test wxUSE_WEBVIEW was never enabled for wxMSW builds.

2011-11-12 21:49 SJL, revision 69744

Replace the sample animation timer with an idle loops and the animation with a busy cursor. Fixes #13518, #13658

2011-11-12 17:50 PC, revision 69741

position expander in center of given rectangle

2011-11-11 17:38 PC, revision 69740

use correct function to free GtkTextAttributes

2011-11-11 15:26 VZ, revision 69739

Intercept some keys in wxMSW wxTextCtrl even if they're used as accelerators. Bare (i.e. without any modifiers) Delete, Home and End keys are also required by the text control itself so don't handle them as accelerators when wxTextCtrl has focus.

2011-11-10 22:37 DS, revision 69732

Backport of r68766 (without the unit test changes). ( Improved BMP decoding. The BMP decoder did not handle images that are not stored upside down but straight up (in which case the height is negative). Also with RLE4 or RLE8 compressed images the 'end of scanline' RLE marker was not handled correctly. Fixed the issues and added a unit test for them. ) Fixes #13650.

2011-11-10 15:41 JJ, revision 69731

Add compile support for widgets sample on OpenVMS

2011-11-10 12:58 VZ, revision 69730

Compilation fix for wxUSE_UNICODE=0 build after wxUSE_STL=1 fix. The result of wxString::mb_str() can't be converted to wxScopedCharBuffer in non-Unicode build but converting it to wxCharBuffer is always fine (though slightly less efficient).

2011-11-10 12:49 VZ, revision 69729

Correct the direction passed to wxDataObject in wxOSX clipboard code. Query for formats that wxDataObject supports on input, not output, in wxClipboard::GetData(). This is similar to r69454 For wxGTK. Closes #13649.

2011-11-10 11:46 JS, revision 69728

Added Blit system options optimizations from trunk

2011-11-10 11:46 JS, revision 69727

Applied Blit system options optimization to StretchBlit

2011-11-10 01:30 VZ, revision 69721

Fix compilation in wxUSE_STL case broken by r69663. Don't rely on implicit wxString to char* conversion when calling XRCID_Assign().

2011-11-10 01:30 VZ, revision 69720

Remove all unwanted occurrences of -mt/-pthread in configure. Remove all inappropriate compiler options and not just the first one as they can occur multiple times because they may come from pkg-config output for several different libraries. Closes #13647.

2011-11-08 18:40 RD, revision 69704

Ensure that there is a modal event loop before trying to use it.

2011-11-08 18:39 RD, revision 69703

Add a border on the AutoComp list for wxOSX-Cocoa

2011-11-08 14:34 SJL, revision 69702

Skip spurious blank JavaScript events in wxWebView. Closes #13481

2011-11-08 14:23 SJL, revision 69701

Correctly escape the error log messages in the wxWebView sample.

2011-11-08 12:35 SJL, revision 69700

Update wxHtmlWindow documentation to refer to wxWebView. Closes #13608

2011-11-08 12:02 VZ, revision 69699

Don't include wx/msw/wrapgdip.h if !wxUSE_GRAPHICS_CONTEXT. Fix compilation when GDI+ headers are not available by not including the header that includes <gdiplus.h> in this case. Closes #13640.

2011-11-08 12:02 VZ, revision 69698

Move GDK_META_MASK definition in the header in which it is also used. The code using GDK_META_MASK was moved to wx/gtk/private/event.h from gtk/window.cpp but the fallback definition of GDK_META_MASK for GTK+ < 2.10 remained in window.cpp. Move it to the header as well now so that it can be compiled with GTK+ < 2.10 again.

2011-11-08 12:02 VZ, revision 69697

Compilation fixes for GTK+ 2.4. Add missing GTK_CHECK_VERSION(2,6,0) checks.

2011-11-08 12:01 VZ, revision 69696

Add missing stdio.h include to wxGTK assert dialog code. As we use FILE for saving the assert message to a file, we must include <stdio.h> (which is not included from any other header, at least not under Solaris).

2011-11-08 11:53 VS, revision 69695

Use Enter and Space for cell editing in generic wxDVC too. If the normal Enter or Space processing (sending activate event or doing activatable editing respectively) isn't handled by the control, use these keys to trigger inline editing too, as F2 does. This makes the Windows control more similar to OS X and GTK+ ones and makes discovering editability easier.

2011-11-07 10:42 JJ, revision 69693

Updates to compile WX on OpenVMS

2011-11-07 10:34 JJ, revision 69692

wxGTK1 should not include .h files for wxGTK

2011-11-06 13:07 VZ, revision 69691

Updated all message catalogs to correspond to the current sources.

2011-11-06 13:06 VZ, revision 69690

Chinese translations update from Jiawei Huang.

2011-11-06 13:06 VZ, revision 69689

Use current time, not the Epoch for time zone determination. When deducing the time zone from struct tm tm_gmtoff field, query tm for the current time and not the Epoch as the DST rules -- and hence the time zone offset -- could have changed since 1970. This is notably the case for Ireland which used a different time zone from 1968 to 1971. Notice that GetTimeZone() still must return the time zone without taking DST into account, so we explicitly compensate for DST if it's in effect.

2011-11-05 16:20 VS, revision 69688

Fix wxArray::Index() with bFromEnd=true in STL build. This function incorrectly returned index from the end of the array when searching from the end. Fixed to work as the non-STL version. Fixes #13626.

2011-11-05 16:20 VS, revision 69687

Test correctness of wxArray::Index() with bFromEnd=true.

2011-11-05 13:25 FM, revision 69686

no real change: just move Docset/CHM/QCH declarations in their own sections

2011-11-05 12:55 FM, revision 69685

Move detailed documentation to the top, leaving styles and event tables at the bottom, like for any other wxWidgets control

2011-11-05 12:55 FM, revision 69684

fix some simple Doxygen warning

2011-11-05 12:54 FM, revision 69683

better links to the stock item ID list

2011-11-05 12:24 VZ, revision 69682

Allow reusing the same wxWindowID more than 254 times. Extend the id reference count storage to use an overflow hash map for the ids used more than 254 times. This allows to use the same id an arbitrarily large number of times. Closes #13618.

2011-11-05 12:24 VZ, revision 69681

Use wxWindowUpdateLocker to speed up updates of the static widgets sample page. See #13619.

2011-11-05 12:23 VZ, revision 69680

Fix adding a control to two different sizers in the widgets sample. A checkbox on the static page was added to two sizers at once, resulting in heap corruption later. Fix this by adding it to the right sizer only. Closes #13619.

2011-11-05 12:23 VZ, revision 69679

Translate the log message in wxLog destructor. The message about losing the last message was not translated for some reason, do translate it now.

2011-11-05 12:23 VZ, revision 69678

Fix format string in wxLog::LogLastRepeatIfNeeded(). We used a format string without any format specifiers in it in a call to wxString::Printf() which always had a parameter resulting in an assert failure about a mismatch between the string and parameter count. Fix this by using a separate Printf() call for this case. Closes #13613.

2011-11-05 12:23 VZ, revision 69677

Use correct direction in wxDataObject::IsSupported() in wxOSX dnd code. Before calling wxDataObject::SetData() we must check whether the object supports this format using IsSupported(Set) instead of just IsSupported() which does the test in the "Get" direction. Closes #13615.

2011-11-05 12:23 VZ, revision 69676

Don't read beyond the end of input buffer when decoding UTF-16. wxMBConvStrictUTF8::FromWChar() didn't update the input length correctly when encountering a surrogate while decoding UTF-16 and could read beyond the end of the input buffer in this case. Fix this by simply adjusting the input length when a surrogate is read. Closes #13614.

2011-11-05 12:23 VZ, revision 69675

Add wxConvAuto::GetBOMChars() helper. Closes #13620.

2011-11-05 11:44 FM, revision 69674

document wxLogGeneric() function

2011-11-05 11:42 FM, revision 69673

document wxConfigPathChanger helper class

2011-11-05 11:28 VZ, revision 69672

Rename lineAnchor in Scintilla code to avoid shadowing warning. Local variable "lineAnchor" in Editor::SetRectangularRange() was shadowing the member variable Editor::lineAnchor, resulting in warnings from some compilers (AIX xlC, Sun CC). Rename it to "lineAnchorRect", just as it was done in the latest Scintilla sources, to avoid them.

2011-11-04 18:41 VZ, revision 69664

Correct the misleading example of using id ranges in XRC documentation. "range[end]" is the last id in the range, inclusive, not the first id after it so any loops iterating over all ids in the range should cover it as well.

2011-11-04 18:40 VZ, revision 69663

Simplify wxIdRange code by using new XRCID_Assign() function. Only traverse the id hash once in XRCID_Assign() instead of using RemoveXRCIDEntry() to delete the old entry (which usually doesn't exist so this traversed the entire hash) followed by XRCID_Lookup() to create a new one.

2011-11-04 13:02 VZ, revision 69662

Fix choice of tree item icon for the selected state in wxMSW. The logic for selecting the item icon was broken when selected image was specified as it was not taken into account as fallback for selected expanded state so selected icon was used only for collapsed items. Fix this by using the selected icon if it is specified and selected expanded one is not.

2011-11-04 10:09 VZ, revision 69661

Make wxQsort() definition exactly the same as declaration. Remove the extra "const" in the first parameter.

2011-11-04 04:38 RD, revision 69659

Add wxAnyButton so the shared class hierarchy of wxButton and wxToggleButton is accurate.

2011-11-04 02:33 RD, revision 69656

Fix missing and broken interface items for Phoenix

2011-11-03 10:38 JJ, revision 69655

Upadte setup for OpenVMS

2011-11-03 00:42 RD, revision 69646

Fix missing or broken interface items for Phoenix

2011-11-02 21:22 RD, revision 69644

Fix missing or broken interface items for Phoenix

2011-11-02 20:08 VZ, revision 69643

Improvements to German translation. - Changed phrasing of some texts - Replaced words by more commonly used ones - Translated untranslated words and sentences - Used clear translation for vague expressions - Used common translation for multiply used terms like "save" Patch from Sebastian Walderich.

2011-11-02 20:08 VZ, revision 69642

Orthographical fixes in German translation. - Corrected misspelled words - Corrected upper and lower case words - Corrected some typos, like "HTLM" and "DDMEL" - Corrected some grammar errors Patch from Sebastian Walderich.

2011-11-02 20:08 VZ, revision 69641

Hyphen fixes in German translation. - Added missing hyphens to concatenate german words - Concatenated wrongly separated word Patch from Sebastian Walderich.

2011-11-02 20:08 VZ, revision 69640

Punctuation fixes in German translation. - Fixed some menu entries which where using '$' instead of '&' - Added missing punctuation marks to equal the original text - Removed unneeded and double characters Patch from Sebastian Walderich.

2011-11-02 20:08 VZ, revision 69639

Corrections to spaces in German translation. Patch from Sebastian Walderich.

2011-11-01 13:04 VZ, revision 69626

Explicitly include X11/Xlib.h to fix AIX build. At least under AIX X11/Xlib.h is not included from X11/Xutil.h so include it explicitly ourselves. It should do no harm on the other systems.

2011-11-01 13:04 VZ, revision 69625

Define _LINUX_SOURCE_COMPAT for AIX build. This takes care of the conflict between GTK+ headers and #define of func_data in AIX sys/timer.h.

2011-10-31 20:41 VZ, revision 69619

Make wxTreeListEvent dynamically creatable. This is unfortunately required by wxEvent::Clone() support unit test so provide the default ctor in this class even though it doesn't make any sense in normal use.

2011-10-31 20:33 VZ, revision 69618

Correct wxFileName::SetPath() documentation. It wrongly claimed that this function affected the full path, i.e. including name and extension, which was simply wrong. Closes #13612.

2011-10-31 17:09 PC, revision 69617

fix creation of bitmap from image with requested depth 32

2011-10-31 15:24 VZ, revision 69616

Suppress harmless unused variable warnings in wxSocket under AIX. The size of the buffer is not used with AIX conventions for gethostbyaddr_r() and getservbyname_r() functions.

2011-10-31 15:24 VZ, revision 69615

Fix compilation of wxGethostbyname_r() and wxGethostbyaddr_r() under AIX. gethostbyname_r() and gethostbyaddr_r() functions return int, not hostent*, under AIX so assign their return value to the error indicator.

2011-10-31 15:24 VZ, revision 69614

Compilation fix for AIX: fix the name of wxGetservBuf ctor. The ctor was wrongly called so wxGetservBuf class couldn't be compiled, breaking compilation under AIX and any other systems with 4 argument getservbyname_r().

2011-10-31 13:15 JS, revision 69613

Fixed #13535: wxRichTextCtrl: Incorrectly documented or named functions

2011-10-31 12:30 DS, revision 69612

Fixed dropdown height of wxChoice and wxComboBox controls. When using comctl32.dll versions prior to 6.0 (e.g. with Win2k or no manifest file) the dropdown height of a wxChoice and wxComboBox would show all but one item and a vertical scrollbar was always visible. Fixed by reintroducing code that adds 1 to the total number of items. The code got dropped in r60553, added a comment to it in the hope that it will not be lost again.

2011-10-31 11:49 VZ, revision 69611

Mention setting up file as default download on SF in release docs. The newly uploaded files must be configured to be default downloads as otherwise SF continues to propose the old files by default. See #13347.

2011-10-31 11:42 VZ, revision 69610

Compilation fix for wxUSE_GRAPHICS_CONTEXT && !WX_PRECOMP. Include wx/dcclient.h to get wxPaintDC declaration necessary in this case.

2011-10-31 11:40 VZ, revision 69609

Correct FSF postal address in the licence text. Closes #13411.

2011-10-31 11:40 VZ, revision 69608
  • D /wxWidgets/trunk/docs/wine/licence.txt

Remove duplicated and apparently unnecessary licence file. This file was exactly the same as docs/licence.txt so keep just one of them.

2011-10-31 06:42 PC, revision 69607

add gdk_window_get_height/width

2011-10-31 06:36 PC, revision 69606

simplify Refresh(), ancestors of a mapped window have to be mapped also, no point in checking

2011-10-31 06:22 PC, revision 69605

in DoSetSize, only call GetPosition if necessary

2011-10-31 06:15 PC, revision 69604

correct callback function signature

2011-10-31 06:14 PC, revision 69603

move class function out of extern "C" block

2011-10-31 05:35 PC, revision 69602

simplify code calling gtk_window_set_urgency_hint

2011-10-30 20:48 VZ, revision 69601

Avoid too many sash position changed events when splitter is resized. We could call SetSashPositionAndNotify() twice in a row which was probably unexpected and possibly wasteful, if the user code did anything non trivial in response to this event. Just call it once after we're certain which sash position do we want to set.

2011-10-30 20:48 VZ, revision 69600

Fix the check for second window becoming too small in wxSplitterWindow. There was a strange check for the second pane size in OnSize() which hardcoded 5 pixels as minimal pane size in the check and 40 pixels as the minimal size to set. This resulted in strange behaviour when the second pane size would decrease to 6 pixels smoothly and then jump back to 40 pixels when the splitter window was resized and also was ugly at the code level. Get rid of this code and simply call AdjustSashPosition() to ensure that the sash position remains valid as the splitter is resized.

2011-10-30 20:48 VZ, revision 69599

Make the initial sash position work in splitter sample. The initial splitter size must be set correctly when using gravity with wxSplitterWindow as otherwise the sash would jump on first resize -- which was exactly what happened in the splitter sample. Add a SetSize() call to the sample with the comment explaining why is it needed and also actually make it stick as the cached last size was not updated before the splitter was split before. Closes #9821.

2011-10-30 20:48 VZ, revision 69598

Don't apply gravity before requested sash position was set in wxSplitterWindow. Gravity should take effect only after the originally requested sash position is set as otherwise it's not really taken into account. Closes #13508.

2011-10-30 20:48 VZ, revision 69597

Remove wxSplitterWindow::m_checkRequestedSashPosition. This variable seemed to be redundant with m_requestedSashPosition being set to INT_MAX so harmonise the code to always check for the latter and get rid of the former. There should be no observable changes in behaviour.

2011-10-30 20:48 VZ, revision 69596

No changes, just remove wxSplitterWindow::{Set,Get}NeedUpdating(). GetNeedUpdating() was never used at all while SetNeedUpdating() was used only once while m_needUpdating variable was being changed directly in other places making the code difficult to follow. Just use the member variable directly and remove the accessors.

2011-10-30 18:28 JS, revision 69595

Fixed problem with the size of paragraphs not needing layout not being taken into account when calculating overall box size. Should fix the problem with lines becoming insensitive to mouse clicks after adding a couple of shorter lines.

2011-10-30 17:51 VZ, revision 69594

Perform wxAuiToolBar idle updates from UpdateWindowUI(), not OnIdle(). No real changes, just optimize the idle updates by doing it from (less often called) UpdateWindowUI() instead of EVT_IDLE handler. Closes #10075.

2011-10-30 17:44 VZ, revision 69593

Generate right click events for all kinds of items in wxAuiToolBar. Don't generate wxEVT_COMMAND_AUITOOLBAR_RIGHT_CLICK for normal items only, they can be useful for other ones too. Note that this had been previously applied to 2.8 branch as r66926 but somehow wasn't applied to the trunk. Closes #10079.

2011-10-30 17:41 VZ, revision 69592

Fix splitting message into title in body in MSW wxProgressDialog. If the message doesn't contain any new lines, it should be used as the body, not the title as having title without body doesn't make sense and looks strange. Closes #13441.

2011-10-30 17:22 VZ, revision 69591

Don't replace non default wxMessageDialog labels with default translations. The code translating the button labels of wxMessageBox to the application language was overeager and replaced even the custom labels with the translations of the default ones. This shouldn't be done, of course, so simply check that no custom labels had been set before translating. See #10962.

2011-10-30 15:20 VZ, revision 69590

Change variables naming convention in wxAUI code. Use the standard wxWidgets camelCase convention instead of the old_one_using_underscores for all the private variables. Closes #13476.

2011-10-30 15:19 VZ, revision 69589

Link tests with webview library only if it is actually available. This allows the tests to build again even on the machines without the prerequisites for building wxWebView.

2011-10-30 15:19 VZ, revision 69588

Remove apparently unnecessary wxAuiMDIClientWindow dtor. This dtor doesn't seem to do anything useful as the base class dtor already destroys all window children anyhow and removing it is reported to fix some crashes in wxAUI (which is surprising and probably hides some other bug...). Closes #13547.

2011-10-30 15:19 VZ, revision 69587

Add wx/datetimectrl.h to the wxAdv files list. Ensure that this header is installed by "make install" as it ought to. Close #13529.

2011-10-30 15:19 VZ, revision 69586

Fix assert in generic wxListCtrl icon view when using images. Don't assume that the item image is a valid index in m_small_image_list as we may be in icon view which doesn't use small images at all. For now restrict this code to the report view mode as apparently the cached line height is not supposed to be used in other modes even though it's not clear whether this is really the case and so, perhaps, this code should also be used when in small icons view mode. Closes #13604.

2011-10-30 14:39 JS, revision 69585

Fixed warning when compiling richttextctrl.cpp in VS2010 (fixes #13606)

2011-10-30 14:34 JS, revision 69584

Add indents to maximum size to prevent problems with paragraph layout (fixes #13458).

2011-10-30 11:08 VZ, revision 69583

Allow customization of the locations where persistent settings are stored. Make it possible to set a non-default wxPersistenceManager to use and allow overriding of GetConfig() and GetKey() methods by making them virtual and documenting them. This can be notably used to allow porting of the existing code to use wxPersistenceManager while keeping compatibility with the old settings.

2011-10-30 11:08 VZ, revision 69582

Fix return value of wxPersistentSplitter::RestoreValue(). It used to always return false which didn't allow the code using to decide whether the default splitter position should be used or not.

2011-10-29 23:34 RD, revision 69581

Add missing interface items for Phoenix

2011-10-29 06:50 RD, revision 69573

resolve multiple inheritance ambiguity

2011-10-29 06:49 PC, revision 69572

parenthesize bitwise operator in logical expression

2011-10-28 00:48 VZ, revision 69571

Make BOM-detection code in wxConvAuto public. Export GetBOM() and DetectBOM() functions. Also rename BOMType enum elements to use "wx" prefix now that they're public. Closes #13599.

2011-10-28 00:48 VZ, revision 69570

No changes, just simplifications to configure code. Implicitly use SEARCH_LIB in WX_PATH_FIND_LIBRARIES() and WX_FIND_LIB() macros to avoid having to pass it to them explicitly every time. Closes #13601.

2011-10-28 00:48 VZ, revision 69569

No changes, just remove redundant code. Don't call FindToolByPosition() again in wxAuiToolBar::OnLeftUp() when we just called it above. Closes #13600.

2011-10-28 00:26 VZ, revision 69568

Add _PTR WX_DECLARE_HASH_SET variants to fix warnings about operator->(). Macros from WX_DECLARE_HASH_SET family could declare an operator->() which could never be called because it returned a pointer to a non-object (e.g. a pointer or a primitive type). Fix this in the same way as for WX_DECLARE_ARRAY macros by adding (badly but consistently) named _PTR variants of the macros to allow defining the versions without operator->(). This fixes tons of warnings when building wx with Sun CC.

2011-10-27 23:10 VZ, revision 69567

Use WX_XXX_ARRAY_PTR macro variants for arrays of pointers. Arrays of pointers must not overload operator->() as it is not used with them and is, in fact, unusable, provoking a warning from Sun CC every time such array is declared. Use the special _PTR-suffixed versions to avoid this.

2011-10-27 23:10 VZ, revision 69566

Don't make wxQsort() extern "C" nor use any special convention for it. It doesn't make sense to require passing C functions to wxQsort() that we define in a C++ library. We also don't need any special calling convention here. Notice that the only existing uses of wxQsort() inside wxWidgets itself were not actually extern "C" and one of them didn't even use the correct calling convention. Also avoid using non-wx-prefixed CMPFUNCDATA identifier in a public header, rename it to wxSortCallback instead. Finally make wxQsort() documentation slightly more useful.

2011-10-27 23:10 VZ, revision 69565

Make GTK callbacks passed to GTKConnectWidget() extern "C". This fixes (harmless but annoying) warnings about mixing C++ and C linkage function pointers from Sun compiler.

2011-10-27 23:10 VZ, revision 69564

Explicitly declare environ variable. While POSIX and SUS both mandate this variable existence, they don't say that it needs to be declared anywhere and it actually doesn't seem to be declared under Solaris when using Sun CC and so using it resulted in compilation errors. Just declare it ourselves to avoid them.

2011-10-27 23:10 VZ, revision 69563

Always include locale.h to get LC_ALL declaration. For some reason locale.h was only included in !wxUSE_STD_STRING case but we actually always need it as we use LC_ALL in this file and at least in Sun CC build it wasn't included from anywhere else so include it from here to fix the build.

2011-10-27 23:10 VZ, revision 69562

Remove unused wxIFFDecoder::picptr member variable. This variable was apparently unused and a local variable with the same name was used instead, resulting in Sun CC warnings about variable shadowing. Just remove the unused member variable to fix this.

2011-10-27 23:10 VZ, revision 69561

No real changes, just remove an extra semicolon. DECLARE_DYNAMIC_CLASS() shouldn't be followed by a semicolon and Sun CC warns about it, so fix this by removing it.

2011-10-27 23:10 VZ, revision 69560

Replace remaining occurrences of _T() with wxT(). Use wxT() everywhere for consistency and to fix compilation with Sun CC for which _T() is not defined as it clashes with a symbol with the same name in standard headers.

2011-10-27 23:10 VZ, revision 69559

No real changes, just remove trailing commas from enums. These commas are not allowed by standard C++ and Sun CC warns about them (and some other compilers, e.g. HP aCC, even give errors for them).

2011-10-27 01:20 VZ, revision 69556

Add WX_FIND_LIB() function to simplify testing for libraries in configure. No real changes in behaviour but the new WX_FIND_LIB() function can now be used to test for any library. Closes #13375.

2011-10-27 01:20 VZ, revision 69555

No changes, just fix some typos in acinclude.m4 comments. See #13375.

2011-10-27 01:20 VZ, revision 69554

Use AC_LANG_SOURCE and add missing quoting to configure. This fixes some of the warnings from autoconf 2.68 while still remaining compatible with 2.61. Closes #13591.

2011-10-26 19:10 VS, revision 69547

Fix incorrect handling of ItemsAdded() in wxDataViewCtrl. When adding items to the model in bulk and then calling ItemsAdded(), internal representation in both the generic and GTK+ versions wasn't updated correctly if the order of the notifications was such that an item would be inserted after other new, but not yet inserted, items. Fixes bug #13587.

2011-10-26 10:36 JS, revision 69546

Typo correction

2011-10-26 07:52 RD, revision 69545

Interface tweaks and fixes for Phoenix

2011-10-26 07:39 RD, revision 69544

Work around a multiple inheritance ambiguity

2011-10-26 07:38 SC, revision 69543

move declaration into cocoa part

2011-10-26 00:44 JS, revision 69534

Now uses wxRTC-specific font table instead of slower general-purpose wxFontList to cache fonts.

2011-10-25 21:29 SC, revision 69532

deactivate wxUSE_TIMEPICKCTRL for iphone

2011-10-25 20:44 SC, revision 69531

files added

2011-10-25 20:31 SC, revision 69530

files added

2011-10-25 20:04 SC, revision 69529

files added

2011-10-25 18:56 PC, revision 69528

fix wxMDIChildFrame after r69390 and r69468, TLW realization code should not be called, fixes #13593

2011-10-25 18:55 SC, revision 69527

panelg removal

2011-10-25 13:52 SC, revision 69526

fixing reentrancy problem under iOS 5

2011-10-25 13:51 SC, revision 69525

fixing iPhone build

2011-10-25 13:51 SC, revision 69524

fixing iPhone build

2011-10-25 08:00 PC, revision 69523

avoid GDK warning "drawable is not a pixmap or window"

2011-10-25 07:12 PC, revision 69522

avoid GTK3 warning "GtkNotebook %p is mapped but visible child wxPizza %p is not mapped" whatever problem this hack was supposed to solve, this was not the way to fix it

2011-10-23 20:03 PC, revision 69516

revert (presumably unintentional) change from r59562, which caused auto-scroll sample selection to be broken for last 2.5 years

2011-10-22 19:42 JS, revision 69515

On Windows, searches for fonts instead of creating many fonts. This will help reduce resource proliferation and in extremis, crashes.

2011-10-22 15:49 JS, revision 69514

Fix for indeterminate attribute specification

2011-10-22 15:48 JS, revision 69513

Fix for indeterminate attribute specification

2011-10-22 15:19 JS, revision 69512

Applied patch #13534: wxRichTextCtrl: Make it easier to use TextEffects flags

2011-10-22 15:08 JS, revision 69511

Allow user to select indeterminate state for font attributes

2011-10-22 15:05 JS, revision 69510

Allow user to select indeterminate state for font attributes

2011-10-22 04:31 RD, revision 69509

Add missing styles and flags, and specify pure virtuals that are implemented

2011-10-21 20:34 RD, revision 69503

Add the getters

2011-10-21 20:33 RD, revision 69502

It's not an array of pointers to dashes, but rather an array of dash values

2011-10-21 18:51 VS, revision 69500

Document wxDataViewModelNotifier callbacks return values. It doesn't make sense to return anything other than true here, as failure from one of several notifiers cannot be handled sanely, so just document that.

2011-10-21 18:34 VS, revision 69499

Use the new wxDataViewRenderer activation API in wxTreeListCtrl.

2011-10-21 18:34 VS, revision 69498

Move wxDataViewCustomRendererBase::ActivateCell() to datavcmn.cpp. It triggered deprecation warnings in user code when it was inline.

2011-10-21 09:56 RD, revision 69491

Interface fixes for Phoenix

2011-10-20 18:45 VZ, revision 69489

Dirty hack to allow generic wxDatePickerCtrl to compile under MSW. Don't make wxDateTimePickerCtrl methods pure virtual in its MSW-specific version as the generic wx{Date,Time}PickerCtrl implementations not using these methods also inherit from it currently. This is wrong and would need to be fixed properly later but for now this hack at least allows the generic classes to compile and, apparently, work under MSW again. Remove the equally dirty hack used in the generic wxTimePickerCtrl to allow it to compile which is not needed any more because this one replaces it.

2011-10-20 18:20 VZ, revision 69488

Fix wxRichToolTip compilation under MSW without PCH and recent SDK headers. Include the headers normally included from wx/wxprec.h. Also define the stuff missing from the headers of some compilers (notably MinGW but probably also VC6) ourselves.

2011-10-20 18:10 VZ, revision 69487

Add "checked" property for toolbar tool elements in XRC. Allow toolbar tools to be created in checked (or toggled) state in XRC, just as the menu items can already be created checked.

2011-10-20 06:58 RD, revision 69486

The new wxImage related gaphics context code uses some new Cairo APIs, add the code needed when loading them dynamically.

2011-10-20 06:49 RD, revision 69485

Delegate wxGraphicsBitmap::ConvertToImage to the renderer so we do not end up with more than one definition of the method when building with both the GDI+ GC and the Cairo GC enabled at the same time.

2011-10-19 23:53 VZ, revision 69480

Fix PCH-less compilation of wx/richtooltip.h too. We need to include the full wxColour declaration instead of just forward declaring it as we use its ctor for a default value of a parameter. Also include wx/defs.h to ensure that wxUSE_RICHTOOLTIP is defined before testing it.

2011-10-19 18:20 VS, revision 69473

Cleanup of wxDataViewCtrl cell activation code. Fix confusion of what cell activation is and inconsistence with native handling in GTK+. Document the distinction between activating (~ editing) a cell and activating (double-clicking) the whole item. Deprecate wxDataViewCustomRenderer::LeftClick() and Activate() methods, replace them with single ActivateCell() that is called for both kinds of activation. Fix implementations so that ActivateCell() is not called on double-click, when it shouldn't, and vice versa: don't send wxEVT_COMMAND_DATAVIEW_ITEM_ACTIVATED for cell activation. Partially reverts r67099 -- restores old 2.9 signatures of compatibility LeftClick() and Activate() methods.

2011-10-19 18:20 VS, revision 69472

Move InitMouseEvent<T>() to wx/gtk/private/event.h. It is needed in wxDataViewCtrl now too, in addition to wxWindow.

2011-10-19 18:20 VS, revision 69471

Use wxDatePickerCtrl in wxDataViewDateRenderer. Inline editor is more in line with the behavior of other editors, requiring double click to edit values was unexpected. Also merge the two almost-but-not-quite identical implementations in generic and GTK+ versions.

2011-10-19 18:20 VS, revision 69470

Allow using wxCompositeWindow<T> as wxDataViewCtrl inline editor. wxDVC inline editing code attaches some event handlers to the editor control; most importantly, it watches for Enter key and for focus changes. If the editor control is a composite window, these events occur in a sub control and never reach wxDVC code. Fix this by forwarding events to the main window of the composite control. Only events required by wxDVC are implemented for now.

2011-10-19 18:19 VS, revision 69469

Fix NULL window argument to wxEVT_KILL_FOCUS when creating a TLW. wxTopLevelWindowMSW::CreateDialog first moved and resized the newly created window and only then called SubclassWin(). Because native focus change occurred when moving the window, HWND->wxWindow association wasn't yet filled in and wxFindWinFromHandle() would return NULL.

2011-10-19 18:19 VS, revision 69468

Send wxEVT_CREATE and do other post-realization initialization even if the widget was realized early.

2011-10-19 18:19 VS, revision 69467

Set wxFocusEvent's window value for wxEVT_KILL_FOCUS in wxGTK. Note that it is still not set for wxEVT_SET_FOCUS, because it's not immediately obvious how to obtain the previously focused window from there. It's still better than always having the window NULL.

2011-10-19 12:58 VZ, revision 69466

More fixes for PCH-less compilation. Include declarations for or forward declare more classes.

2011-10-19 00:59 VZ, revision 69465

Fix for PCH-less compilation after wxNonOwnedWindow changes. Need to include declarations of wx{Memory,Paint}DC classes.

2011-10-19 00:32 JC, revision 69464

Merge to the trunk head

2011-10-18 23:57 VZ, revision 69463

Added wxRichToolTip class. It can be used to show more customizable tooltips than the native wxToolTip but at the price of using generic implementation in some cases (actually almost always now, with the exceptions of text control tooltips under MSW). Extra features include: - The balloon-like tooltip form. - Possibility to show an icon. - Title display in a different form. More customization could be added later. It should be also possible to fully implement this class natively under MSW. Update the dialogs sample to show the rich tooltips in action.

2011-10-18 23:56 VZ, revision 69462

Added wxNonOwnedWindow::SetShape(wxGraphicsPath). TODO: Document.

2011-10-18 23:56 VZ, revision 69461

Document and test behaviour of wxRegion methods when it is invalid. Document which wxRegion methods can and can't be used when the region itself is invalid. Apply the minor changes to wxGTK (Xor() didn't do the right thing, Offset() didn't assert) and wxOSX (Offset() crashed) to make their behaviour consistent with wxMSW. Add a (trivial, so far, but to be extended later) wxRegion unit test checking that the methods do indeed behave as documented.