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

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

Fix SetShape() in wxOSX/Cocoa. Explicitly erase the part of the window outside of its shape with a transparent colour to ensure that it is indeed transparent and not just has the default solid background. Closes #13340.

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

Don't create a valid wxRegion when using default ctor in wxOSX. Default constructing a wxRegion created an object that unexpectedly passed IsOk() test in wxOSX. This was completely unexpected so don't do this and leave default constructed wxRegion invalid, as in the other ports. Update DoCombine() to be able to deal with the case of an invalid source region in a way consistent with the other ports.

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

Don't interpret '&' specially in wxTextWrapper. wxTextWrapper is used for the multiline text for which it doesn't make sense to use mnemonics so don't interpret '&' specially in the text used with it. Doing this also allows to remove the hack used in wxDialog::CreateTextSizer() to deal with it that was used so far.

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

Use wxWindow::GetClientAreaOrigin() instead of MSW functions. ::AdjustWindowRectEx() doesn't seem to work correctly for wxPopupWindow and still offsets the coordinates by the title bar height even if these windows don't have WS_CAPTION style. Rather than try to work around this, simply use wxWindow method instead of the Windows function as shape wxRegion offset.

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

No changes, just fix a typo in a header comment.

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

No changes, just fix typo in a comment following an #endif. The closing comment used wrong symbol.

2011-10-18 23:54 VZ, revision 69454

Correct the direction passed to wxDataObject in wxGTK clipboard code. We should quert for IsSupportedFormat(format, Set) before calling SetData() with this format, not for IsSupportedFormat(Get) which is the default and was used by the code.

2011-10-18 00:26 VZ, revision 69447

Explicitly use _stati64() with MinGW-W64. Although this compiler provides underscore-less versions of all POSIX functions, this one only exists in a version with underscore, so use it to fix compilation with it in ANSI build.

2011-10-17 20:53 RD, revision 69446

Fix more missing and broken stuff in the interface, for Phoenix

2011-10-16 22:57 SC, revision 69445

supporting deployment < 10.6 when compiling against 10.7

2011-10-16 21:08 SC, revision 69444

removing QD dependency

2011-10-16 19:57 VZ, revision 69442

Align multiline labels correctly in wxMSW owner-drawn buttons. The label wasn't centered correctly in multi-line case. Closes #13567.

2011-10-16 17:59 SJL, revision 69440

Export a couple of Carbon functions to allow wxWebView to build correctly. This was already done in the wxWebView branch but got missed in the merge to trunk.

2011-10-15 16:19 VS, revision 69436

Set wxDataViewCtrl::m_focusWidget in wxGTK. The GtkTreeView control that should get the focus in in scrolled window; the same is already done for wxListBox.

2011-10-15 16:19 VS, revision 69435

Don't call wxEvent::SetTimestamp() twice in InitMouseEvent<>().

2011-10-15 02:20 VZ, revision 69434

Don't use wxMSW version of wxNonOwnedWindow at all under WinCE. This class becomes completely trivial under WinCE as its functionality (setting the window shape) can't be implemented under this platform, so just don't compile it at all there. This both (slightly) reduces the amount of #if checks and should make the code (slightly) smaller.

2011-10-14 03:38 RD, revision 69417

Add data members for RGBValue and HSVValue

2011-10-14 03:37 RD, revision 69416

fix parent class and constant

2011-10-13 16:54 VZ, revision 69411

Don't assert in wxDateTime::Format("%p") in locales not using AM/PM. If a locale doesn't use AM/PM strings, strftime() can return an empty string which does not indicate an error, so don't assert that strftime() failed in this case.

2011-10-13 15:19 VZ, revision 69409

The usual fix for PCH-less compilation after the last commit. Fix wxNonOwnedWindow compilation in wxGTK without PCH.

2011-10-13 14:45 VZ, revision 69408

Implement SetShape() for wxPopupWindow in wxGTK. Move SetShape() implementation from wxTopLevelWindow to wxNonOwnedWindow so that wxPopupWindow, which also inherits from the latter, could use it as well. This makes it possible to have popup windows with irregular shapes in wxGTK as well as in wxMSW and wxOSX.

2011-10-13 08:40 RD, revision 69406

Avoid an assert when m_dir is empty

2011-10-13 08:40 RD, revision 69405

Interface tweaks for Phoenix

2011-10-12 20:08 VZ, revision 69392

And another compilation fix. This time it really does compile.

2011-10-12 20:08 VZ, revision 69391

Compilation fix after a bad merge. Fix bad merge artefact in the previous commit.

2011-10-12 18:22 VZ, revision 69390

Added wxWindow::GTKHandleRealized() virtual method to wxGTK. This allows to easily do something in the derived classes when the widget is realized, without having to deal with GTK+ signals. In particular, get rid of another "realize" signal handler in wxTopLevelWindow and simply override this virtual method there. It also incidentally makes the callback code simpler as the window doesn't need to be constantly dereferenced. This shouldn't result in any changes to behaviour.

2011-10-12 13:20 VZ, revision 69389

Move wxUSE_GUI definition from chkconf.h to the top of platform.h. This avoids warnings about wxUSE_GUI not being defined in Mac tests in wx/platform.h which are now (since r69387) done before wx/chkconf.h inclusion.

2011-10-12 12:10 SC, revision 69388

applying slightly modified patch, fixes #13434

2011-10-12 10:57 SC, revision 69387

moving defines in front of the setup.h to make webkit definitions in setup.h work for Xcode builds as well

2011-10-12 02:35 VZ, revision 69386

Make it possible to close "shaped" sample from the menu. The sample didn't define any handler for wxID_EXIT menu item, do add it.

2011-10-11 19:56 VZ, revision 69381

Added missing WXDLLIMPEXP_CORE to wxNonOwnedWindowBase declaration. This fixes (harmless) MSVC warning C4275 about inheriting DLL-exported class from a non-DLL-exported base class. Closes #13554.

2011-10-11 19:14 VZ, revision 69380

Update status bar labels properly after width change in wxMSW. The labels were not updated (i.e. ellipsized or, on the contrary, displayed in full) correctly after a status bar field was changed; there was even a FIXME comment about this in the code. Fix this by calling DoUpdateStatusText() when the field width is changed and also update the field width after resetting the existing tooltips.

2011-10-11 19:08 VZ, revision 69379

Don't delete wxTaskBarIcon in wxMSW wxNotificationMessage if we don't own it. wxNotificationMessage can be associated with an existing wxTaskBarIcon under wxMSW instead of creating its own one internally and in this case the icon must not be deleted when the notification is hidden but it was always destroyed unconditionally by wxNotificationIconEvtHandler created by wxAutoNotifMsgImpl. Fix this by only creating this helper event handler if we do own the icon.

2011-10-11 19:07 VZ, revision 69378

Move SetBackgroundBitmap() from wxPanel to new wxCustomBackgroundWindow. wxCustomBackgroundWindow is a new class allowing to set a custom bitmap for the background of any window. The relevant code was mostly moved from wxPanel to which it was added only recently (before 2.9.2) making it unnecessary to preserve compatibility.

2011-10-11 08:30 RD, revision 69377

wxGraphicsRenderer::CreateContextFromImage is not static

2011-10-11 07:33 RD, revision 69375

Remove the ctor and Init methods that are not available on all ports

2011-10-10 19:12 VZ, revision 69367

Fix warnings about wxOSX_USE_CARBON being undefined when using g++. Test for __WXMAC__ before testing wxOSX_USE_CARBON to avoid -Wundef warnings from g++ in non-Mac builds.

2011-10-10 19:08 VZ, revision 69365

Fix PCH-less build after adding wxNonOwnerWindow in wxMSW. Include the required headers when not using PCH to fix compilation.

2011-10-10 12:53 VZ, revision 69364

Move wxTopLevelWindow::SetShape() down to wxNonOwnedWindow. Also add wxNonOwnedWindow for wxMSW (which previously simply typedef'd it to wxWindow) and document this class now that it provides some user-visible functionality.

2011-10-10 00:07 VZ, revision 69362

No changes, just get rid of unnecessary variables in wxCairoBitmapData. Don't use bw and bh when we have perfectly appropriate m_width and m_height.

2011-10-10 00:07 VZ, revision 69361

Don't declare wxCairoFontData::m_underlined unnecessarily. This member was only used in wxGTK-specific code but it was declared for all platforms which was unnecessary and confusing. Move its declaration in wxGTK-only section of the class.

2011-10-10 00:07 VZ, revision 69360

Allow creating wxGraphicsFont without using wxFont. This is mostly important to allow using wxImage-based wxGraphicsContext without requiring X server connection under Unix: as wxFont can't be used without X server, we needed another way to create wxGraphicsFont in this case.

2011-10-10 00:07 VZ, revision 69359

Remove font scaling from wxMSW wxGraphicsContext.

2011-10-10 00:07 VZ, revision 69358

Allow creating wxGraphicsBitmap and wxGraphicsContext from wxImage. Provide a way to use wxGraphicsContext to draw on wxImage. This is implemented internally by drawing on wxGraphicsBitmap which can be now also created from wxImage. Add a test of the new functionality to the image sample.

2011-10-10 00:07 VZ, revision 69357

Refactor wxGDIPlusFontData ctor to allow using it without wxGDIPlusContext. wxGDIPlusFontData only needs wxGDIPlusContext to get the font unit to use, so pass the font unit directly to the ctor to allow also using it when there is no context at hand.

2011-10-10 00:07 VZ, revision 69356

Simplify and rationalize wxGDIPlusContext class constructors. Remove the now unnecessary default ctor from wxGDIPlusContext and wxGDIPlusMeasuringContext and add a ctor taking just wxGraphicsRenderer that can be useful to the derived classes instead. Merge Init() and SetDefaults() and initialize everything at once in the new Init() now.

2011-10-10 00:07 VZ, revision 69355

Don't make private wxGraphicsContext-derived classes dynamically creatable. This doesn't make any sense because classes such as wxGDIPlusContext, wxGDIPlusMeasuringContext and wxMacCoreGraphicsContext are private and don't need to be creatable by name (only renderers potentially need to be) and was inconsistent with Unix/Cairo backend in which these classes were not dynamic. So remove wxRTTI macros from them in wxMSW/wxOSX as well as this allows us to get rid of unnecessary default ctors.

2011-10-10 00:07 VZ, revision 69354

Fixed non-existent wxCairoContext default ctor. wxCairoContext class declared default ctor which wasn't implemented and even couldn't be implemented because its base class didn't have any default ctor neither. Fix this by providing a ctor taking wxGraphicsRenderer* and implement it.

2011-10-10 00:07 VZ, revision 69353

Added wxGraphicsBitmap::ConvertToImage(). Allow to convert wxGraphicsBitmap directly to wxImage, without passing by wxBitmap.

2011-10-10 00:07 VZ, revision 69352

No changes, just refactor wxCairoBitmapData ctor. Extract the code for buffer and surface creation into separate helper functions so that they could be reused by other constructors (to be added in the next commits). Also use cairo_format_stride_for_width(), if available, to compute the stride for the surfaces we create instead of hard coding 4*width.

2011-10-10 00:07 VZ, revision 69351

Document wxGraphicsBitmap and methods involving it. Document wxGraphics{Context,Renderer}::CreateBitmap() and CreateSubBitmap() and wxGraphicsContext::DrawBitmap() as well as the (trivial) class itself.

2011-10-10 00:02 VZ, revision 69350

Implement EVT_MOUSE_CAPTURE_LOST handling for wxPopupTransientWindow. Handle mouse capture lost events instead of polling for the mouse status in EVT_IDLE handler. This is not only more efficient but also catches the cases when the capture was lost before OnIdle() could be executed which could result in assertion failures and, before the previous commit, even crashes. The idle-time code is still used for wxOSX/Carbon because it doesn't seem to generate mouse capture loss events currently -- but should be removed as soon as support for these events is added.

2011-10-10 00:02 VZ, revision 69349

Implement delayed destruction for wxPopupTransientWindow. Windows of this class can be destroyed at any moment, even while some events are still being processed, so delay the real destruction until we can be sure that it's safe to delete the window. This fixes problems (crashes due to dangling pointers) when the object is deleted from the overridden OnDismiss(), for example.

2011-10-10 00:01 VZ, revision 69348

Fix inheriting parent background colour in wxPanel in wxMSW. wxPanel didn't inherit the background colour set for its parent any more in wxMSW because its HasTransparentBackground() didn't return true unless the panel was a child of wxNotebook. This was wrong because not only themed notebook background should be inherited but also any solid background explicitly set for a panel parent. Fix this by returning true from MSWHasInheritableBackground(), which is used by wxPanel::HasTransparentBackground() under MSW, if the window has an explicitly set and inheritable background colour. Closes #13487.

2011-10-09 15:07 VS, revision 69344

Return true from wxDataViewMainWindow::ItemDeleted(). Presumably, 'false' indicates failure, but there's no failure here: if an item is not visible, because its parent wasn't expanded yet, it's perfectly OK that we don't need to do anything.

2011-10-09 12:45 SJL, revision 69343

Reuse existing MinGW defines for all compilers that are missing them.

2011-10-09 03:28 RD, revision 69326

Interface updates for Phoenix. Add wxNativeFontInfo.

2011-10-07 23:25 SJL, revision 69324

Work around the fact that wxWebViewIE doesn't send page changing and page changed events during a refresh, yet IsBusy returns true. Closes #13518

2011-10-07 19:24 VS, revision 69323

Handle inline editing in generic wxDataViewCtrl as Windows 7 does. Mimic the behavior of Windows 7's Explorer: edit the item that has focus if it is selected or the first selected item if focus is out of selection.

2011-10-07 17:03 VS, revision 69322

Add columns focus and keyboard navigation to generic wxDataViewCtrl. The UI tries to mimic Windows 7's Explorer's approach as much as possible, taking inspiration in the GTK+ implementation when appropriate. In particular, as long as the user doesn't use horizontal navigation keys, everything looks as before and the user isn't bothered with the existence of per-cell focus.

2011-10-07 05:51 JS, revision 69321

Allow selected symbol to be scrolled into view initially

2011-10-07 05:51 JS, revision 69320

Allow selected symbol to be scrolled into view initially

2011-10-06 19:55 SJL, revision 69318

Fix various GCC warnings in wxWebView. Closes #13532

2011-10-06 12:01 SJL, revision 69317

Ensure we pass the correct type of string to EscapeFileNameCharsInURL in wxWebViewArchiveHandler.

2011-10-05 23:21 SJL, revision 69316

Delete the filesystem used by wxWebViewArchiveHandler when we are done with it. Fixes a memory leak. Closes #13500

2011-10-05 19:23 SJL, revision 69314

Store a pointer to each ClassFactory so we can correctly release it when the browser closes. This fixes a few more memory leaks. See #13500

2011-10-05 10:05 SJL, revision 69313

Delete the timer on close in the wxWebView sample. Fixes another memory leak. See #13500

2011-10-04 23:37 RD, revision 69309

Add Get|SetPrintMode

2011-10-04 19:03 VZ, revision 69308

Fix wxTimePickerCtrl compilation without PCH too. Include commctrl.h explicitly when not using PCH (this completes fixes of r69293).

2011-10-04 09:45 RD, revision 69300

Interface fixes for Phoenix

2011-10-02 19:39 VZ, revision 69293

Fix wxDateTimePickerCtrl compilation without PCH. Include the MSW private headers usually included from the PCH file.

2011-10-02 18:20 SJL, revision 69292

Add new definitions required by MinGW for webview. Re-enable custom schemes as a result. See #13509

2011-10-02 15:15 VZ, revision 69291

Fix current field highlighting in generic wxTimePickerCtrl under wxGTK. In wxGTK, calling HighlightCurrentField() from EVT_SET_FOCUS handler was not enough as the highlighting was overwritten by the default behaviour of selecting the entire text control contents on focus gain. Fix this by calling SetFocus() from HighlightCurrentField() before updating the selection. This ensures that the correct field is always highlighted.

2011-10-02 14:58 VZ, revision 69290

Added GTK+ screenshot of wxTimePickerCtrl.

2011-10-02 14:58 VZ, revision 69289

Use wxSP_WRAP for generic wxTimePicker spin button. This ensures that the spin button arrows are always enabled, as they should be, even under wxGTK where wxSpinButton disables its arrows on its own if its value reaches the end of its range and wxSP_WRAP is not used.

2011-10-02 14:21 SJL, revision 69288

Remove copied class definitions from missing.h. Disable custom scheme handling under MinGW as it lacks the correct definitions.

2011-10-02 13:32 VZ, revision 69287

Put wxWebView library addition on top of changes list. This list is supposed to be roughly in importance order. Also add a period at the end of wxAuiNotebook entry, let's try to be consistent about using them.

2011-10-02 13:28 VZ, revision 69286

Fix setting tooltips for wxSearchCtrl and other composite controls. Propagate SetToolTip() call on wxCompositeWindow to all subwindows to ensure that the tooltip is shown for all parts of the window. Notice that this is still not ideal as the tooltip temporarily disappears when mouse moves from one subwindow to another, instead of staying in place as it does with "monolithic" windows and ideally we should find a way to avoid it (should be possible at least under MSW with TTM_RELAYEVENT) but for now this is already much better than nothing. Closes #13523.

2011-10-02 13:28 VZ, revision 69285

Add wxWindowBase::CopyToolTip() method. This method simply sets the same tooltip for the window but making copy of, instead of taking ownership of, the wxToolTip passed in. It's not especially useful on its own but is needed by wxCompositeWindow and might be handy elsewhere. See #13523.

2011-10-02 13:28 VZ, revision 69284

Restore correct wxSearchCtrl size in wxMSW after wxTextCtrl changes. The code in generic wxSearchCtrl implementation was broken by the changes of r69066 which deccreased the best height of border-less text controls. Ideally we should probably change wxSearchCtrl::LayoutControls() to not be sensitive at all to the exact value returned from wxTextCtrl::GetBestSize() and just always centre everything vertically but this doesn't look simple to do with the current code so just override wxSearchTextCtrl::DoGetBestSize() to return the same size as wxTextCtrl used to return before to fix this for now.

2011-10-02 13:28 VZ, revision 69283

Fix harmless warnings in hot key code in wxOSX. Don't compare signed and unsigned variables if possible (insert a cast in one place where it wasn't). Put WXUNUSED() around the unused parameters.

2011-10-02 13:28 VZ, revision 69282

Fix harmless gcc initialization order warning. Put the initializes in wxDataViewTreeNode constructor initialization list in order of their declaration.

2011-10-02 13:27 VZ, revision 69281

zh_TW translation update from cw.ahbong.

2011-10-02 12:29 SJL, revision 69280

Derive wxAuiNotebook from wxBookCtrlBase. Document wxAuiNotebookEvent which now derives from wxBookCtrlEvent. Update the notebook sample to add wxAuiNotebook as an option.

2011-10-01 21:40 SJL, revision 69267

Add event descriptions to wxAuiNotebook.

2011-10-01 21:22 SJL, revision 69266

Correctly initialise ref count in custom scheme class factory.

2011-10-01 01:40 RD, revision 69253

Use wxAlphaPixelData if the source bitmap depth is 32 or if on wxGTK and there is a mask. Add a separate pass on MSW if there is a mask to adjust the cairo surface's alpha to match the mask.

2011-09-30 17:26 VZ, revision 69244

Fix the comparison direction in wxTextAttr::BitlistsEqPartial(). The comparison was apparently reversed. Closes #13521.

2011-09-30 17:26 VZ, revision 69243

Fix assert in initial call to wxPostScriptDC::SetPen(). Attempt to use wxPen::GetStyle() on the initially invalid pen resulted in an assert, so don't do it and test for pen validity explicitly. Closes #13524.

2011-09-30 17:26 VZ, revision 69242

Create setup.h when building wxscintilla library. This library includes some wx headers and so setup.h must be available when it's being compiled but there was no rule to copy it in its projects, so add it now. Closes #13526.

2011-09-30 16:00 JJ, revision 69241

updates for OpenVMS

2011-09-30 08:05 JJ, revision 69240

Update OpenVMS compile support

2011-09-29 16:19 JJ, revision 69229

Update setup fort OpenVMS

2011-09-29 15:47 JJ, revision 69226

Fixes for OpenVMS on IA64

2011-09-29 15:43 VZ, revision 69225

Added XRC handler for wxTimePickerCtrl. Add a trivial handler modeled after the existing wxDateCtrlXmlHandler.

2011-09-29 15:43 VZ, revision 69224

Add wxTimePickerCtrl class. Implement wxTimePickerCtrl natively for MSW and add a generic implementation (very loosely based on the original class by Paul Breen) for the other platforms. Also update the calendar sample to show the new control.

2011-09-29 15:43 VZ, revision 69223

Correct wxDatePickerCtrl::GetValue() documentation and other minor fixes. The documentation for this method seems to have been copy-and-pasted from somewhere else and didn't make any sense. Also don't say that this control doesn't have any control-specific styles when it does.

2011-09-29 15:43 VZ, revision 69222

Refactor wxDatePickerCtrl to derive from wxDateTimePickerCtrl. No real changes, just refactor wxMSW wxDatePickerCtrl to allow sharing code with the upcoming wxTimePickerCtrl class. Even less changes for the other platforms where wxDateTimePickerCtrl is trivial.

2011-09-29 14:29 VZ, revision 69220

VC6 compilation fixes for wxTreeListCtrl. For some reason comparing wxTreeListItem with its associated Type doesn't work when using VC6 ("error C2593: 'operator ==' is ambiguous") so help the compiler to do it. Also remove the unnecessary (and unsupported by VC6) return from void function.

2011-09-29 14:05 JS, revision 69219

Fixed caret sizing problem around large objects by clipping the caret to the margins

2011-09-29 14:05 JS, revision 69218

Fixed caret sizing problem around large objects by clipping the caret to the margins

2011-09-29 09:28 RD, revision 69217

Don't always use the Cairo context for wxGCDC(wxMemoryDC). If a Cairo context is wanted then the wxGCDC(wxGraphicsContext*) ctor should be used instead. (I thought I had removed this code with my last commit of this file...)

2011-09-28 21:44 SJL, revision 69214

Delete the menu on close in the wxWebView sample. Fixes most of the memory leaks. See #13500

2011-09-28 16:54 SJL, revision 69209

Fix compilation of wxWebView under mingw by adding missing definitions and dynamically loading urlmon. Fixes #13509

2011-09-28 11:46 JJ, revision 69208

correcting typo in previous commit

2011-09-28 08:02 JJ, revision 69207

Include support for OpenVMS IA64

2011-09-27 09:21 SC, revision 69205

giving in on native undo integration, as we don't have a NSUndoManager, fixes #13431

2011-09-27 09:14 JJ, revision 69204

Correcting typo in commit 69203

2011-09-27 07:56 JJ, revision 69203

Update openVMS compile support

2011-09-27 05:34 RD, revision 69202

More interface updates for Phoenix

2011-09-26 17:03 PC, revision 69201

backport r51506, "fix wxALIGN_RIGHT in RTL mode", closes #13469

2011-09-26 16:28 JJ, revision 69200

Disable webview on OpenVMS

2011-09-25 17:48 VS, revision 69199

Don't use `install -d` to create directories. Always use `mkdir -p`, as install is problematic with regard to permissions. Fixes #13452.

2011-09-25 14:14 SC, revision 69198

adding missing autorelease pool, since this can be called from anywhere, fixes #13449

2011-09-25 06:30 RD, revision 69196

Fix missing or broken interface items for Phoenix

2011-09-24 00:33 VZ, revision 69186

Add support for handling new multi-arch under Debian. The libraries are now in /usr/lib/arch-linux-gnu and not /usr/lib{32,64} so check for them there too.

2011-09-23 14:15 VZ, revision 69185

Fix inconsistent DLL export declaration for wxBannerWindowNameStr too. This variable is defined in "adv" library, not "core". This is similar to the fix of r69184.

2011-09-22 14:53 VZ, revision 69184

Fix inconsistent DLL export declaration for wxTreeListCtrlNameStr. This variable is defined in "adv" library, not "core". See #13502.

2011-09-22 12:36 VZ, revision 69183

Improve appearance of wxTreeListCtrl during live resizing. When using the generic wxDataViewCtrl version, forcefully refresh it after changing its size to avoid artefacts during resizing of wxTreeListCtrl. Closes #13502.

2011-09-22 12:35 VZ, revision 69182

Always give all the remaining space to the first wxTreeListCtrl column. Under GTK the columns of wxDataViewCtrl (and hence wxTreeListCtrl) are always resized to cover the entire control width. For consistency, also do it under the other platforms and give the remaining space to the first column and not to the last one as GTK does by default, as the first column is more important. Do this even if this results in reducing the size of the column: presumably, if the entire control itself can be resized, the user wouldn't bother resizing the columns and, on the contrary, if the user did resize the columns, the entire control size is unlikely to change, so in practice we don't risk overriding the user preferences and reducing as well as increasing the first column width works much better by default as it doesn't leave the other columns invisible after making the control wider and than reverting it back to its initial, more narrow, state again.

2011-09-21 17:08 VZ, revision 69180

Fix scrolling in small wxVListBox with tall items. Scrolling in a small wxVListBox with tall items (i.e. taller than the height of wxVListBox itself) behaved wrongly: wrong item was being scrolled into view and Page Up/Down didn't scroll as much as they should. Fix both of these problems by checking for these corner cases explicitly. Closes #13454.

2011-09-21 17:08 VZ, revision 69179

Replace erroneous comma with a semicolon in keyboard sample. Fix typo in the sample, comma was used instead of a semicolon. The code still worked correctly but make it look correctly too now. Closes #13453.

2011-09-21 17:08 VZ, revision 69178

Change wxSound ctor from in-memory data to use size_t/void *. This constructor previously used int and, especially annoyingly, wxByte* for the data. Use standard void* for untyped binary data instead. Also document this ctor as it seems to be implemented in all ports. Closes #13451.

2011-09-21 17:07 VZ, revision 69177

Send EVT_DATAVIEW_ITEM_CONTEXT_MENU events even when not clicking on an item. Always send this event, even if the user right clicked outside of the client area. This is useful for showing item-independent commands in the context menu.

2011-09-21 17:07 VZ, revision 69176

Implement sorting in wxTreeListCtrl. Allow the user to sort the control contents by clicking on the columns with wxCOL_SORTABLE flag and also provide SetSortColumn() method to sort the control programmatically. Also add wxTreeListItemComparator class and SetItemComparator() method to allow customizing the way the items are compared. Update the sample to show how to define a custom comparator.

2011-09-21 17:07 VZ, revision 69175

Reset previous sort column in generic wxDataViewColumn::SetSortOrder(). The sort indicator on the column previously used for sorting was only reset when the user clicked on the column header (by wxDataViewHeaderWindow code that explicitly called wxDataViewCtrl::SetSortingColumnIndex()) but not when wxDataViewCtrl::SetSortOrder() was called directly. Fix this and take care of updating everything in SetSortOrder() itself. This makes the code simpler and also means that calling SetSortOrder() from the program now works as expected (it resulted in having sort indicators in two columns at once before).

2011-09-21 17:07 VZ, revision 69174

Remove wxHeaderColumn::SetAsSortKey() and only use SetSortOrder(). The two member functions, SetAsSortKey() and SetSortOrder(), were doing almost the same thing but differently and the former was only used in the generic wxDataViewCtrl implementation and not implemented in the native GTK/OS X one. Remove SetAsSortKey() entirely and only keep UnsetAsSortKey() which is still needed by generic/MSW wxDataViewCtrl. But only SetSortOrder() should now be called to indicate that the column is used for sorting.

2011-09-21 17:07 VZ, revision 69173

Add wxTreeListCtrl::GetView() and GetDataView(). It can be useful to have access to the window used to actually show the items by wxTreeListCtrl, provide two accessors for m_view: a wxDataViewCtrl-specific one and a generic one returning just a wxWindow that can be used to keep the code isolated from wxDataViewCtrl.

2011-09-21 17:07 VZ, revision 69172

Don't limit window size to (0, 0) in wxSizer if getting display size failed. It's possible that wxDisplay::GetClientArea() returns (0, 0) size indicating that it failed. Don't set the maximal window size to (0, 0) in this case as this prevents the user from seeing the window at all and just don't do anything instead.

2011-09-21 17:07 VZ, revision 69171

Refresh wxDisplay when a monitor is added to or removed from the system. If a monitor was attached or detached while a wx program was running, the monitor handles stored in wxDisplayFactoryMSW became invalid and all display operations (e.g. getting display size) failed from this moment onwards requiring a program restart to work again. Fix this by updating the monitor handles when we get WM_SETTINGCHANGE as it is sent when a monitor is added or removed (while it's also sent in quite a few other cases re-enumerating the monitors shouldn't take very long so just do it always).

2011-09-21 17:07 VZ, revision 69170

No changes, just extract wxCreateHiddenWindow() declaration in a header. Add wx/msw/private/hiddenwin.h with wxCreateHiddenWindow() declaration instead of declaring it manually in all the files using it.

2011-09-20 22:03 JS, revision 69168

Remove pointless case insensitivity

2011-09-20 22:03 JS, revision 69167

Remove pointless case insensitivity

2011-09-20 20:37 VZ, revision 69166

Add GetExpanderColumnOrFirstOne() to avoid code duplication in generic wxDVC. There were two strictly identical code snippets setting the expander column to be the first one if it hadn't been set before, replace both of them with a call to GetExpanderColumnOrFirstOne() function. Also use this function instead of just GetExpanderColumn() (which might return NULL) in a couple of places. Notice that there are still a lot of places in the code where the column 0 is hard coded as being the expander column, this would need to be fixed to really support non-first expander column.

2011-09-20 20:37 VZ, revision 69165

Reset the expander column when clearing columns in generic wxDVC. The expander column becomes invalid when all columns are cleared, don't keep a dangling pointer.

2011-09-20 19:25 MW, revision 69162

Move ravnsgaards build to brandt32 while its down.

2011-09-18 22:28 VZ, revision 69149

Minor fixes to code examples in wxPropertyGrid documentation. Fix typo in wxPGProperty name and add missing parameter of GetVIterator() call. Closes #13486.

2011-09-18 22:26 VZ, revision 69148

Fix test for wxUSE_TREELISTCTRL in configure. wxUSE_TREECTRL was wrongly used instead. Closes #13470.

2011-09-18 06:38 RD, revision 69135

FIx broken or missing interface items for Phoenix

2011-09-17 13:06 VZ, revision 69113

Fix format specifiers used for "unsigned long" in wxPG code. "unsigned long" quantities must be formatted using "%l[xou]" and not just "%[xou]" as the latter doesn't work correctly on 64 bit platforms. Closes #13447.

2011-09-17 13:06 VZ, revision 69112

Change wxDIALOG_NO_PARENT to avoid clash with wxICON_EXCLAMATION. Use 0x20 (wxAPPLY) instead of 0x100 (wxICON_EXCLAMATION) for wxDIALOG_NO_PARENT as otherwise using wxICON_EXCLAMATION with wxMessageBox in wxGTK (and possibly other ports, although not wxMSW which doesn't honour wxDIALOG_NO_PARENT for message boxes at all) resulted in not using the specified parent for the message box and, as a side effect, not centering it on its parent neither. Closes #13464.

2011-09-17 13:06 VZ, revision 69111

Add wxUSE_TREELISTCTRL checks to treelist.cpp itself. The contents of this file was still compiled even when wxUSE_TREELISTCTRL was turned off. Fix this by adding the missing "#if wxUSE_TREELISTCTRL" check around it. Closes #13470.

2011-09-17 13:06 VZ, revision 69110

Fix the library of wxGenericDirCtrl in the documentation. Closes #13482.

2011-09-17 00:44 VZ, revision 69108

Only define wxUSE_WEBVIEW if wxWebView is really available. Don't define wxUSE_WEBVIEW in configure if WebKit is not available under Unix (we should also check for wxUSE_WEBVIEW_IE under Windows later) and add the check that either wxUSE_WEBVIEW_WEBKIT or wxUSE_WEBVIEW_IE is defined if wxUSE_WEBVIEW is to wx/chkconf.h. This makes it possible to just check for wxUSE_WEBVIEW instead of checking for wxUSE_WEBVIEW && (wxUSE_WEBVIEW_IE || wxUSE_WEBVIEW_WEBKIT) as the code did previously which was ugly and error-prone. Also, define wxUSE_WEBVIEW_IE in configure under MSW. Currently this supposes that the required IE headers/libraries are available which is probably wrong, we should add checks for them later.

2011-09-17 00:44 VZ, revision 69107

Check for wxUSE_WEBVIEW being defined. All wxUSE_XXX options must be always defined as we test for them with #if and not #ifdef, so check for this one too for consistency.

2011-09-17 00:44 VZ, revision 69106

Fix wxFont::GetFaceName() for not realized yet fonts in wxMSW. GetFaceName() could be called for a font that hadn't been really used yet and hence its wxFontRefData::m_hFont could be 0 and couldn't be used in GetMSWFaceName(). Fix this by using GetHFONT() accessor instead of m_hFont directly to create the font if necessary.

2011-09-16 19:03 RD, revision 69102

fixes for missing or broken interface items for Phoenix

2011-09-16 15:23 VZ, revision 69101

Fix int field of wxCommandEvents generated by menu items in wxMSW. Set the int field of wxCommandEvent generated by clicking on the menu items correctly for not checkable items: it is supposed to be -1 and not 0 (which is the value for checkable but currently unchecked items). This was already the case for wxGTK and wxOSX and implied by the comments in the code. Make wxMSW behave like this too and clearly document this behaviour.

2011-09-16 15:23 VZ, revision 69100

Fix int field of wxCommandEvent generated by popup menu items in wxMSW. The intention of the code generating the event for popup menu items was to pass false (0) or true (1) in the int field of wxCommandEvent to indicate whether the item was checked or not but, because wxMenu::SendEvent() takes int as second argument and not book, we passed either 0 or MF_CHECKED (== 8). Fix this by correctly passing a boolean for checkable items. See #11644.

2011-09-16 15:23 VZ, revision 69099

Fix checked state for the popup menu items in the events generated by them. We incorrectly passed the sign-extended int id to ::GetMenuState() function that expects an unsigned WORD id, so it never found the item if the WORD id had the high bit set. Fix this by correctly passing the unsigned id to it. Closes #11644.

2011-09-15 21:05 SC, revision 69096

reverting change, for precompiled headers, unfortunately this means that WXROOT must not contain spaces unless properly escaped

2011-09-15 16:25 JJ, revision 69089

Repair compile sequenze for wxGTK on OpenVMS

2011-09-15 00:33 LV, revision 69088

Added iOS src files to Xcode project

2011-09-14 18:45 SJL, revision 69085

Use integral value for OLECMDID_OPTICAL_ZOOM as we cannot tell if an enum value is already defined or not. Fixes #13475

2011-09-14 16:03 SJL, revision 69084

Update configure to only define wxUSE_WEBVIEW_WEBKIT if all the required components are available. Fixes #13474

2011-09-14 14:39 SJL, revision 69083

Cause a compile time error in the wxWebView sample if no backend exists.

2011-09-14 10:24 SJL, revision 69082

Make wxBookCtrlBase::GetSelection virtual, as per the documentation.

2011-09-14 09:39 SJL, revision 69081

Only build the wxWebView tests if there is an available backend.

2011-09-13 23:26 SJL, revision 69079

Correctly disable webkit backend if the appropriate headers cannot be found.

2011-09-13 21:39 SJL, revision 69078

Correct a typo in the wxWebView tests.

2011-09-13 14:06 SJL, revision 69077

Disable webkit backend if the appropriate headers cannot be found.

2011-09-12 20:35 SJL, revision 69074

Update wxWebView guards to stop backend compilation when wxUSE_WEBVIEW is 0.

2011-09-12 15:42 SJL, revision 69073

Ensure that we have an available backend for wxWebView compilation.

2011-09-12 13:13 JJ, revision 69072

Update setup for OpenVMS

2011-09-12 12:57 JJ, revision 69071

add compile support for thread sample on OpenVMS

2011-09-12 11:23 VS, revision 69070

Fix appending of non-leaf node to wxGTK's wxDataViewCtrl. This was accidentally broken in r68965: appending a branch node after all others node resulted in corruption of m_nodes, as the node was never added to the list. Fixes #13467.

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

supporting spaces

2011-09-11 23:55 VZ, revision 69066

Fix best size computation for wxTextCtrl without borders in wxMSW. wxTextCtrl with wxBORDER_NONE (and possibly wxTE_READONLY) style is often used instead of a wxStaticText to allow copying the text, so make the size of such control the same as size of the label. This ensures that it aligns correctly with the label vertically while before the baselines were not aligned because a border-less text control was rendered by MSW as a label but had a too big size.

2011-09-11 15:26 SJL, revision 69060

Ensure that we have an available backend for wxWebView compilation.

2011-09-11 13:27 VZ, revision 69059

Still resize wxSplitterWindow children even when sash position doesn't change. Since the changes if r68876, the splitter windows were not resized correctly if the splitter size in the direction orthogonal to its own didn't change. This was an unintended side effect of the changes in that commit as it only wanted to avoid calling SetSashPositionAndNotify() in this case, but SizeWindows() should still be called. Ensure that we do call it always from wxSplitterWindow::OnSize() to fix this.

2011-09-11 12:55 VZ, revision 69058

Regenerate configure after webview branch merge.

2011-09-11 12:15 SJL, revision 69057

Update setup files

2011-09-11 12:12 SJL, revision 69056

Rebake trunk after wxWebView merge and add missing project files for the wxWebView library.

2011-09-11 02:35 RD, revision 69051

Fix missing and broken interface items for Phoenix

2011-09-10 20:09 SJL, revision 69049

Merge the new wxWebView classes from the SOC2011_WEBVIEW branch.

2011-09-10 18:02 PC, revision 69048

update WarpPointer for GTK3

2011-09-10 17:09 SJL, revision 69047

Merge in from trunk r68684 - r69046

2011-09-10 05:26 RD, revision 69041

Enable the HWND of the task dialog to be fetched with GetHandle if it is being used.

2011-09-08 23:15 VZ, revision 69028

Allow setting colours and font of wxTreeListCtrl. Use wxCompositeWindow<> to propagate changes of colours and font to wxDataViewCtrl that wxTreeListCtrl uses internally.

2011-09-07 18:57 PC, revision 69021

non-pch build fix

2011-09-07 18:56 PC, revision 69020

remove unnecessary GTK declarations from defs.h, move things only used once to the place that needs them

2011-09-06 18:35 PC, revision 69015

move addition of -lX11 to better place

2011-09-06 18:24 PC, revision 69013

don't disable cast checks in debug builds

2011-09-06 18:09 PC, revision 69012

remove unused __WXGTK12__ symbol

2011-09-06 17:54 PC, revision 69011

remove (very) obsolete GTK version check

2011-09-06 06:17 RD, revision 69007

fix for non-pch builds

2011-09-05 22:08 RD, revision 69005

Avoid infinite recursion on Mac in comboctrl, and fix an uninitialized pointer in propgrid

2011-09-05 17:40 VS, revision 69003

Fix crash in wxDataViewCtrl::UpdateColWidths().

2011-09-05 16:25 VS, revision 69002

wxDataViewCtrl: enable F2 editing with multiple selection too. This matches the native (and thus expected) behavior of Windows Explorer: edit the first item in selection. It's also better than ignoring user's key presses.

2011-09-05 01:01 VZ, revision 69001

Add persistence support for wxSplitterWindow. New wxPersistentSplitter class allows to easily save and restore the splitter position in config.

2011-09-03 18:19 SC, revision 68997

setting the image position after the label is set, otherwise image_only will have the potential label over the image

2011-09-03 15:14 VS, revision 68996

Use ProcessWindowEvent() in generic wxDataViewCtrl code.

2011-09-03 15:14 VS, revision 68995

Extracted wxDataViewMainWindow left/right keys handling into separate methods.

2011-09-03 15:14 VS, revision 68994

Rename wxDataViewMainWindow::OnArrowChar to OnVerticalNavigation. The method handled much more than just arrow characters and it didn't handle all arrow characters.

2011-09-03 15:14 VS, revision 68993

Slightly more efficient wxDataViewCtrl::StartEditor(). Don't compute item rect until we know for sure that the item actually is editable.

2011-09-03 15:14 VS, revision 68992

Fix generic wxDataViewCtrl Enter handling to conform to Windows UI. Spacebar is used to activate columns (e.g. toggle a checkbox). Enter activates the item, i.e. sends wxEVT_COMMAND_ITEM_ACTIVATED. If that event isn't handled, Enter acts the same as Space.

2011-09-03 03:39 RD, revision 68973

Fix some broken or add some missing interface declarations for Phoenix

2011-09-01 20:43 VZ, revision 68969

Don't warn about wxMetaFile in configure by default. Only warn if an explicit --enable-metafile was given, otherwise just turn it on only for the platforms that do support it, similarly to what was done for --enable-hotkey in the previous commit.

2011-09-01 20:43 VZ, revision 68968

Add wxUSE_HOTKEY support to configure. Add --enable-hotkey switch to allow enabling hot keys support and enable it by default under MSW and OS X that do support them but disable it elsewhere to avoid unnecessary warnings about them being unsupported. See #12354.

2011-09-01 18:20 SC, revision 68967

fixes #13443, thanks :-)

2011-08-31 19:22 VZ, revision 68966

Fix deleting and clearing wxTreeListCtrl columns. The model columns were not updated before, resulting in a mismatch between view and model columns if ClearColumns() followed by AppendColumn() was called.

2011-08-31 11:36 VS, revision 68965

Add items to correct position in wxDataViewCtrl:ItemAdded. In both the generic and GTK+ versions, ItemAdded() always appended the new item, regardless of its position among its siblings in the model.

2011-08-31 11:04 VS, revision 68964

Generic wxDataViewCtrl: resize autosized columns at idle time. This is much more efficient than doing it immediately when adding large number of items into a control with lots of them.

2011-08-30 17:20 DS, revision 68962

Fixed dlmsw.cpp compilation with older SDKs and at run-time for systems prior to XP SP1. Kernel32's SetDllDirectory is only available since XP SP1 and as such also not available in the SDK that comes by default with for example VS6. Attempt to retrieve the function from the DLL at run-time instead. Regression since r68935.

2011-08-30 15:40 VZ, revision 68961

Better support for flat lists in wxTreeListCtrl. Override wxDataViewModel::IsListModel() to return true if wxTreeListCtrl doesn't have any depth. This results in better display when using the generic implementation of wxDataViewCtrl as no space is reserved for the (unnecessary) expanders in this case.

2011-08-30 15:40 VZ, revision 68960

Fix computation of the item offset in generic wxDataViewCtrl code. We need to account for the expander even for the items that don't have children when computing their offset as their parent still does have it, contributing to the total offset. This corrects the fixes of r68836 to also work for the leaf items. Also rename expanderOffset variable to more clear itemOffset.

2011-08-30 11:51 JJ, revision 68959

Update makefiles for OpenVMS

2011-08-30 11:02 SC, revision 68958

fixes #13438 (building OSX min >= 10.6), thanks :-)

2011-08-30 09:01 SC, revision 68957

adding command - comma as shortcut of stockitem wxID_PRERENCES on OSX - and make sure it's working by adapting ToString()

2011-08-29 21:09 DS, revision 68956

Regenerated Xcode projects. Updated the Xcode projects to include latest source additions and newer settings from template *_in.xcodeproj project files.

2011-08-29 19:25 VS, revision 68954

Send wxEVT_COMMAND_DATAVIEW_ITEM_ACTIVATED if WXOnActivate() returned false too. This is consistent with wxGTK implementation and generally makes sense: when the renderer cannot handle activation, whole-item activation should be tried next.

2011-08-29 19:25 VS, revision 68953

Make generic wxDataViewToggleRenderer react to activation. Previously it only responded to single-clicks, which was to avoid the need to double-click checkboxes. Fixed to react to activation via double-click or keyboard too.

2011-08-29 19:25 VS, revision 68952

Activate cells from keyboard too in generic wxDataViewCtrl. wxDataViewCtrl only called WXOnActivate() in reaction to double-click. When Enter/Spacebar was pressed, only wxEVT_COMMAND_DATAVIEW_ITEM_ACTIVATED was sent, without calling OnActivate() even if it was possible. Fixed to handle both kinds of input identically. Because there's currently no way to change current focus to a particular column (as GtkTreeView can do), call WXOnActivate() on the first activatable column.

2011-08-29 18:06 DS, revision 68951

Fixed drawing a check box in the undetermined state for non-themed MSW apps. wxRendererMSW::DoDrawFrameControl (used for systems prior to XP or when theming is disabled) didn't check for the wxCONTROL_UNDETERMINED flag yet. Set the appropriate styles when the flag is used to fix drawing check boxes in their third state (as used in for example the treelist sample).

2011-08-29 16:46 VZ, revision 68950

Make it possible to TAB to wxTreeListCtrl contents. Even though wxTreeListCtrl contains just one child window it still needs to derive from wxNavigationEnabled<> to allow focus getting to its sole child.

2011-08-29 14:33 VZ, revision 68949

Fix spelling error in an error message in wxObjectXmlReader. No other changes.

2011-08-29 03:13 DS, revision 68948

Added alpha saving support to TIFF image handler. Added support for saving alpha with RGB, greyscale, and black and white images.

2011-08-29 01:45 DS, revision 68947

Fixed loading greyscale with alpha TIFF images. The alpha channel was not detected because of wrong hasAlpha determination. Also TIFFReadRGBAImage[Oriented] doesn't appear to decode an alpha channel for images that are greyscale so decode greyscale with alpha images using TIFFReadScanline.

2011-08-29 00:44 DS, revision 68946

Fixed copying only 1/3 of scanline when saving TIFF image in rare cases. If our calculated image pitch is not equal to what TIFFScanlineSize returns a scanline buffer would be used. In that case the number of bytes being copied was equal to the image's width instead of pitch (width times 3).

2011-08-29 00:17 DS, revision 68945

Added support for loading black and white TIFF images with alpha. As TIFFReadRGBAImage[Oriented] can't deal with all images make use of TIFFReadScanline to decode per scanline. Currently only the case of a black and white image with alpha (for a total of 2 bits per pixel) is handled.

2011-08-29 00:06 DS, revision 68944

Updated manual regarding image alpha support for TGA handler. TGA was not mentioned in the list of formats supporting loading of alpha, but alpha loading support has been available since r42644.

2011-08-28 23:59 DS, revision 68943

Read TIFF images from top to bottom instead of bottom to top. Use TIFFReadRGBAImageOriented with a parameter of ORIENTATION_TOPLEFT instead of using TIFFReadRGBAImage (which uses ORIENTATION_BOTTOMLEFT) to read images in a more logical order and simplify code.

2011-08-28 23:49 DS, revision 68942

Fixed accessing out-of-bounds image coordinates while writing a black and white TIFF image. The code assumed that the image's width is a multiple of 8, and attempted to always write per 8 pixels instead of sometimes having to write fewer pixels for the last column. Also fixed compilo from previous commit due to not removing old code.

2011-08-28 23:38 DS, revision 68941

Fixed calculated image pitch being off-by-one in some cases. The variable linebytes sometimes counted one extra byte, which is OK for allocating but not when accessing the image later on. Calculate the value in a slightly different way and made the variable const.

2011-08-28 23:31 DS, revision 68940

Removed double TIFFSetField call for setting TIFFTAG_ORIENTATION. Setting the same TIFF tag with the same value once is enough.

2011-08-28 23:27 DS, revision 68939

Call GetAlpha() to get a pointer instead of checking for alpha first. It's safe to call GetAlpha() even if there's no alpha because in that case NULL will be returned.

2011-08-28 15:00 SC, revision 68938

make sure svn info for an already existing .xcodeproj folder is not deleted, replace project file itself in place

2011-08-28 09:11 SC, revision 68937

adding missing doc string for BACKSPACE

2011-08-28 08:54 SC, revision 68936

routing keys like ESC etc, fixes #13429

2011-08-28 01:26 RD, revision 68935

* Implement dynamic loading of the Cairo DLL on Windows similar to how it was done for GDI+. * Enable the use of the wxCairoContext on MSW. * Enable creating a wxGCDC from an exisiting wxGraphicsContext. * Since it's possible for a DLL that is using wx to not be on the PATH nor in the same location as the .exe, change the wxDynamicLibrary::RawLoad method to explicitly look first in the same place as the main wx-using binary. This way it will find DLLs that are in the same folder as the wx-using binary even if that would not be in the normal DLL search path. * Change wxDCImpl and wxDC::GetLogicalScale to be const methods.

2011-08-27 18:44 VS, revision 68932

More understandable symbolic constants in generic wxDVC's DoJob class.

2011-08-27 18:44 VS, revision 68931

Use spacebar to activate items in generic wxDataViewCtrl too. Pressing Spacebar now behaves the same as Enter in the generic control, for consistency with the GTK+ control and native Windows list controls.

2011-08-27 18:44 VS, revision 68930

Remove DestroyTreeHelper(), make GetChildNodes() const, add RemoveChild(). There's no reason for DestroyTreeHelper() code, that's what destructors are for. On a related note, make removal of children from a node more explicit too.

2011-08-27 18:44 VS, revision 68929

Add wxDataViewMainWindow::GetModel() helper. It's slightly less verbose than GetOwner()->GetModel() used all over the place.

2011-08-27 18:44 VS, revision 68928

Better names in wxDataViewTreeNode. GetChildNodes() instead of GetNodes(), AddChild() instead of AddNode().

2011-08-27 17:23 VS, revision 68927

Use wxTE_PROCESS_ENTER with wxDataViewCtrl text controls. wxDVC code depends on wxEVT_COMMAND_TEXT_ENTER to hide the inline editing controls. Fixes #13412.

2011-08-27 16:58 VZ, revision 68926

No real changes, minor corrections to the docs. Don't leave a line break inside a @code block as it's preserved in the HTML output, making it appear ugly.

2011-08-27 16:56 VZ, revision 68925

Copy generic images when building the documentation too. The images used by @genericAppearance Doxygen macro were not copied to the output directory.

2011-08-27 16:50 VZ, revision 68924

Compilation fix for wxTreeListCtrl when not using PCH. Include wx/dc.h normally included from wx/wxprec.h.

2011-08-27 16:11 VZ, revision 68923

No changes, just fix the file name in the header comment of wxDVC test. s/tree/dataview/

2011-08-27 16:11 VZ, revision 68922

Make wxBU_EXACTFIT fir the button text more exactly. Too big margins were added for the buttons with wxBU_EXACTFIT style making them larger than strictly necessary. Reduce the margins to make them really as small as possible.

2011-08-27 16:11 VZ, revision 68921

Added wxFLP_SMALL and wxDIRP_SMALL styles for wx{File,Dir}PickerCtrl. These styles allow to use a smaller browse button as the standard one takes too much space, often leaving too little of it for the more important text control part. Notice that both styles are, in fact, equal to wxPB_SMALL but only file and directory pickers currently use it as it doesn't make sense for the colour and font pickers.

2011-08-27 16:11 VZ, revision 68920

Auto complete file names in the text controls of wx{File,Dir}PickerCtrl. There doesn't seem to be any reason not to do this in the controls which we know are meant for entering file or directory names into them.

2011-08-27 16:11 VZ, revision 68919

Make the file and dir picket controls expand in widgets sample. The controls were too small to see long paths in them comfortably while there was plenty of space in the page, use wxEXPAND flag for them.

2011-08-27 16:11 VZ, revision 68918

Add wxTextEntry::AutoCompleteDirectories(). As we already had MSW-specific AutoCompleteFileNames(), we can just as well also add the also useful AutoCompleteDirectories() to be used with the text controls used for path entry.

2011-08-27 16:11 VZ, revision 68917

No changes, just fix a typo in wxBannerWindow documentation.

2011-08-27 16:11 VZ, revision 68916

Add new wxTreeListCtrl class. This is a facade for wxDataViewCtrl allowing to easily work with multi-column trees, possibly with an optional checkbox in the first column. Its API is very similar to wxTreeListCtrl and it provides a simple migration path from the latter. Add the class itself, documentation for it and minimal unit tests.

2011-08-27 15:24 VS, revision 68915

Notify GtkTreeView if a node stops being a parent. GtkTreeView requires the row-has-child-toggled signal to be emitted in this situation, so do it from ItemDeleted handler. Curiously, it handles adding the first child automatically. That's good, because detecting this situation when adding the first child wouldn't be trivial and so not having to do it is a plus. (Emitting it on every node addition doesn't sound like a terribly bright idea.)

2011-08-27 15:24 VS, revision 68914

Save memory in wxDataViewTreeNode. Put data that are meaningful only for non-leaf nodes into a separate struct that is only allocated for branch nodes. This makes branch nodes larger by sizeof(void*), but leaf nodes save >50% of memory.

2011-08-27 15:24 VS, revision 68913

Simplified generic wxDataViewCtrl's tree structure. Use just one type, wxDataViewTreeNode, to represent any kind of node. Previously a complicated structure that represented leaves and non-leaf nodes differently was used. This make the code way too complicated and caused some smaller bugs (see e.g. #13256). As a side effect, this change makes the control react correctly to changes in IsContainer() return values. Also fixes #13256.