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-03-10 15:26 VZ, revision 70864

Fix wxDataObject::GetFormatCount() signature in the documentation. It should be const but wasn't. Closes #14080.

2012-03-10 14:13 SC, revision 70863

using 10.5 API for cursor updates as well

2012-03-10 13:37 SC, revision 70862

removing NSWindow based mouse tracking in favour of 10.5+ trackingArea implementation

2012-03-10 01:01 RD, revision 70855

Document the non-deprecated version of InsertTool, and some other tweaks.

2012-03-10 01:01 RD, revision 70854

Make the CreateTool factories be public so they can be used from application code

2012-03-10 01:01 RD, revision 70853

Add wxToolBarToolBase, missing flags, etc.

2012-03-09 16:26 JS, revision 70852

Added wxRIBBON_PANEL_STRETCH to allow a single panel to stretch to fill the parent page.

2012-03-09 13:49 SC, revision 70851

reflect correct position for native toolbar, fixes #14049

2012-03-09 11:12 VZ, revision 70850

Correct the test for wxHAS_IMAGES_IN_RESOURCES in listctrl sample. wxHAS_XXX symbols need to be checked with #ifdef, not #if. See #1614 (as this change was part of the patch submitted there, even if the ticket itself is unrelated).

2012-03-09 11:12 VZ, revision 70849

Exclude wxMSW-only code from wxUniversal build under Windows. wxListCtrl::EndEditLabel() isn't available in wxUniv, it's wxMSW-only. This fixes the sample compilation in wxUniv/MSW build.

2012-03-09 06:50 PC, revision 70848

add the usual default parameter for Show()

2012-03-09 02:09 VZ, revision 70847

Check for iterator validity when parsing "%%" in wxDateTime::Format() too. This is similar to the previous commit and adds another missed check for the iterator not being at the end of string.

2012-03-09 02:09 VZ, revision 70846

Check for end of string when parsing "%z" in wxDateTime::Format(). We could dereference an invalid iterator when parsing "%z", check for this in the code and add a unit test for this case. Closes #14075.

2012-03-08 18:06 PC, revision 70844

adjust Blit destination rect if source rect is clipped

2012-03-08 17:45 PC, revision 70843

fix incorrect tests of wxUSE_ macros

2012-03-08 16:48 SC, revision 70842

removing unnecessary hook

2012-03-08 16:37 SC, revision 70841

removing 10.4 code, adding webkit trick for showing dynamic tooltips

2012-03-08 14:23 VZ, revision 70840

Added wxSplitterWindow::SetSashInvisible() and IsSashInvisible(). Also fix handling of wxSP_NOSASH. Closes #14074.

2012-03-08 14:23 VZ, revision 70839

Revert the zoom direction on Ctrl-mouse wheel in wxStyledTextCtrl. The direction of the zoom in wxSTC didn't correspond to the usual conventions which is to zoom in on Ctrl-Wheel-Up and zoom out on Ctrl-Wheel-Down, while wxSTC did exactly the converse. Change it to behave as everybody else. Closes #14031.

2012-03-08 00:50 VZ, revision 70838

Deprecate wxWindow::MakeModal(). Using this function was never the right way to show a modal window and it didn't really work correctly. Instead of futilely trying to fix it, just deprecate it. Closes #1561.

2012-03-07 17:15 VS, revision 70835

Don't eat unhandled events in wxHtmlWindow::OnKeyUp().

2012-03-07 13:21 JS, revision 70834

When SetSplitterLeft measures all pages, it should also set the splitter for all pages.

2012-03-06 17:59 JS, revision 70828

wxCB_SORT not currently supported on OSX/Cocoa

2012-03-06 15:19 VZ, revision 70827

Mention the limitations of wxDC::GetPixel() and FloodFill() in wxGTK. These methods can't be used directly on wxPaintDC in wxGTK and it doesn't seem possible to fix this so just document this limitation. Closes #14067.

2012-03-06 14:18 SC, revision 70826

catching veto AND handled events

2012-03-06 11:23 SC, revision 70825

adapting grid-cell dragging according to discussion on wx-dev along the behaviour of treecontrolg

2012-03-06 05:51 PC, revision 70824

fix test for transparent pen broken in r65820

2012-03-06 05:26 PC, revision 70823

avoid using wxDC::Blit() and wxDC::GetPixel() on window that is being painted, results are unpredictable on wxGTK see #14067

2012-03-05 19:26 JS, revision 70815

It should be possible to set a null bitmap without asserting due to change of size

2012-03-05 19:00 JS, revision 70814

Restored correct RTTI for wxNotebook

2012-03-05 14:00 VZ, revision 70813

Override InheritAttributes() to do nothing in wxNonOwnedWindow. Non owner windows shouldn't inherit attributes from their parent. This wasn't a problem in wxMSW where InheritAttributes() was never called for them but was in wxGTK (and possibly other ports) where dialogs inherited font from their parent. Closes #2766.

2012-03-05 14:00 VZ, revision 70812

Override AdjustForParentClientOrigin() in wxNonOwnedWindow to do nothing. No real changes, just replace an IsTopLevel() check in the base class implementation of AdjustForParentClientOrigin() and override it for all top level windows in wxNonOwnedWindow instead.

2012-03-05 14:00 VZ, revision 70811

Remove the wrong "std::" scope prefix before ceil() call. Fix compilation errors with VC6 (and possibly other compilers) introduced in r70797 (see #13383): as we only include <math.h> and not <cmath> we don't necessarily have std::ceil() available, only the extern "C" ceil(). Just use the latter instead of the former.

2012-03-05 07:10 SC, revision 70810

coordinate conversion was the wrong way round

2012-03-05 00:50 PC, revision 70809

remove unnecessary includes

2012-03-04 21:31 VZ, revision 70808

Use __WINDOWS__ for OS checks and __WXMSW__ for GUI checks (round 2). This is continuation of r70796 and serves the same purpose. Closes #14065, #14066.

2012-03-04 21:31 VZ, revision 70807

Add wxEVT_AUI_PANE_ACTIVATED event. This event is sent when an AUI pane becomes active. Closes #14026.

2012-03-04 21:31 VZ, revision 70806

No changes, just make wxAUI SetActivePane() a member function. Make a global function a member one as it uses member variables and it's easier to use them directly instead of passing the object pointer to it all the time. See #14026.

2012-03-04 10:42 SC, revision 70805

we have to export every virtual method in this template class for clang, next attempt to get a vc++ compatible solution

2012-03-04 01:43 VZ, revision 70804

Revert the addition of WXDLLIMPEXP_CORE to all wxNavigationEnabled methods. This reverts commit r70787 as it broke DLL build with MSVC.

2012-03-04 01:31 VZ, revision 70803

Turkish translations update from Kaya Zeren.

2012-03-04 01:29 VZ, revision 70802

Use standard IDC_CROSS cursor in wxMSW. There doesn't seem to be any reason to prefer our own WXCURSOR_CROSS to it. Closes #13035.

2012-03-04 01:29 VZ, revision 70801

Always provide wxMenuItem bitmap-related methods in wxMSW. Define these methods even when wxUSE_OWNER_DRAWN is turned off for some reason. This allows to avoid ugly tests for !defined(__WXMSW__) || wxUSE_OWNER_DRAWN in the code that just wants to set a bitmap for a menu item. Closes #12664.

2012-03-04 01:29 VZ, revision 70800

Don't set value unnecessarily in wxSpinCtrl::Create() in wxMSW. This is not only unnecessary but also results in an unexpected event (which could be avoided by using ChangeValue() but why bother calling it at all if we don't need to). Closes #13589.

2012-03-04 01:29 VZ, revision 70799

No changes, just add wxSpinCtrl::Init() to wxMSW. Remove a "TODO" comment about adding it and initialize all member variables there instead of doing it only in Create().

2012-03-04 01:29 VZ, revision 70798

Fix stretchable spaces in wxToolBar after tool removal in wxMSW. The stretchable spaces need to be manually updated after removing a tool from the toolbar. Closes #13577.

2012-03-04 01:29 VZ, revision 70797

Correct mouse event coordinates in wxMSW wxUIActionSimulator. The rounding of the floating point division was not done quite correctly. Closes #13383.

2012-03-04 01:29 VZ, revision 70796

Use __WINDOWS__ for OS kind checks and reserve __WXMSW__ for GUI toolkit. This change prepares the way for using wxGTK under Windows as this would still define __WINDOWS__ but use __WXGTK__ instead of __WXMSW__. Closes #14064.

2012-03-04 01:29 VZ, revision 70795

Fix assert when editing an item in multi-selection wxTreeCtrl. Don't use GetSelection() in wxTreeCtrl EVT_CHAR_HOOK handler as it can only be used with single selection controls and results in an assert when used with multi-selection ones. Simply use GetFocusedItem() instead. Closes #14062.

2012-03-04 01:29 VZ, revision 70794

Take disabled windows into account in wxFindWindowAtPoint() in wxMSW. Use ChildWindowFromPointEx(CWP_SKIPINVISIBLE) to ensure that we find the disabled children (by not using CWP_SKIPDISABLED). Add a unit test to check for the correct behaviour in all cases and document it. Closes #2942.

2012-03-04 01:29 VZ, revision 70793

No changes, just cleanup TopLevelWindowTestCase unit test a little. Remove the unnecessary overrides of setUp() and tearDown(). Also get rid of trailing whitespace.

2012-03-04 01:29 VZ, revision 70792

Add documentation of wxFileSelectorEx() and wx{Load,Save}FileSelector(). Document all wxFileDialog-related functions and not just wxFileSelector(). See #14051.

2012-03-04 01:29 VZ, revision 70791

Better documentation for the default parameters values. Use symbolic names for them and document them separately. Closes #14051.

2012-03-04 01:29 VZ, revision 70790

Fix showing MDI child from wxDocManager::ActivateDocument(). This fix has 2 components: first, call Raise() instead of simple SetFocus() from ActivateDocument() as this corresponds better to what we want to do here. And second, override Raise() to call Activate() in wxMDIChildFrame to ensure that it works as expected as raising an MDI child doesn't work otherwise in most ports (with the exceptions for wxOSX which, on the contrary, needs a small fix to preserve the existing working Raise() behaviour). Closes #13946.

2012-03-04 01:28 VZ, revision 70789

Use wxHAS_IMAGES_IN_RESOURCES instead of explicit platform checks. Add a special symbol which is defined only if the icons and other images (e.g. cursor) are in the separate resource files and don't need to be embedded as XPMs in the main program. This makes the checks more clear and more customizable as it's enough to change wxHAS_IMAGES_IN_RESOURCES definition instead of changing many platform checks. Closes #14050.

2012-03-03 21:23 VZ, revision 70788

Czech translations update from Zbynek Schwarz.

2012-03-03 18:30 SC, revision 70787

we have to export every virtual method in this template class for clang

2012-03-03 14:09 SC, revision 70786

just in case we have an erroneous character on the server as well at the end of this file

2012-03-03 11:36 SC, revision 70785

testing another implementation for avoiding WakeUp Problems within tracking loops

2012-03-02 23:26 VZ, revision 70784

Add Tamil translations by DINAKAR T.D.

2012-03-02 22:51 RD, revision 70774

fix missing and broken items in the datetime interface

2012-03-02 13:43 JS, revision 70773

Darker border for wxComboCtrl on Mac

2012-03-02 13:43 JS, revision 70772

Small improvements to wxComboCtrl appearance on Mac: darker border and no white button border

2012-03-02 09:55 JS, revision 70771

Use a non-native toolbar on Mac so small buttons aren't stretched horribly. The style combo control also appears now that the toolbar is non-native.

2012-03-02 08:17 SC, revision 70770

adding translation of NSDragOperationGeneric to wxDragCopy fixes #14059

2012-03-01 19:52 JS, revision 70769

Improved the appearance of the property grid checkbox on Mac and GTK+

2012-03-01 17:44 PC, revision 70768

remove signal-blocking variable, instead just connect to signal when ready

2012-03-01 17:36 PC, revision 70767

use m_ prefix for web_view member, and make it a WebKitWebView* to eliminate many casts

2012-03-01 17:14 PC, revision 70766

remove extra g_object_ref() on web view widget

2012-03-01 16:04 JS, revision 70765

Added MacInternalOnSize() to allow windows to resize themselves independently of size events

2012-03-01 08:09 PC, revision 70764

Fixes to allow running with 64-bit wxGTK - use correct printf format specifiers - don't perform operations requiring a window until the window has been created

2012-03-01 08:09 SC, revision 70763

applying Andrew's patch, closes #13440, fine now that we have raised the minimum deployment to 10.5

2012-03-01 02:05 VZ, revision 70759

Add wxGCDC benchmarks to graphics benchmark for comparison with wxDC. Also benchmark rectangles and bitmaps in addition to lines drawing.

2012-03-01 02:05 VZ, revision 70758

Correct wxCOMPILER_PREFIX definition when wxMSVC_VERSION is predefined. Fix the wrong concatenation macro name that was used as using wxMSVC_VERSION could not work as expected before (which also shows that nobody ever used it).

2012-02-29 23:40 VZ, revision 70757

Recognize MSVC 11 instead of warning about unknown MSVC version. Define __VISUALC11__ for it.

2012-02-29 19:29 PC, revision 70756

remove unnecessary gtk_widget_show(m_widget) calls, PostCreation() takes care of that

2012-02-29 19:13 PC, revision 70755

small includes cleanup

2012-02-29 19:05 PC, revision 70754

remove unnecessary gtk_widget_show() calls, PostCreation() takes care of that

2012-02-29 16:06 JS, revision 70753

Always send wxEVT_COMMAND_RICHTEXT_DELETE event if delete or back key pressed

2012-02-29 15:45 VZ, revision 70752

Ignore setting empty path in wxGTK wxFileDialog. wxGenericFileButton calls wxFileDialog::SetPath() with empty path if no initial path is explicitly specified and this clearly shouldn't do anything -- but it did, as it set the file dialog path to the initial directory (cwd by default), and so opened it in the parent of that directory which was completely unexpected and not useful at all. Simply don't do anything when SetPath("") is called.

2012-02-29 14:59 VZ, revision 70751

Remove redundant assignment in wxDialUpManagerMSW code. No real changes, just remove a redundant assignment flagged by a static code analysis tool.

2012-02-29 14:58 VZ, revision 70750

Replace incorrect uses of wxString::empty() with the intended clear(). empty() doesn't empty the string but just checks for its emptiness, clear() was supposed to be used here instead. Thanks to PVS-Studio for finding these problems.

2012-02-29 14:58 VZ, revision 70749

Initialize m_isShown correctly in wxGenericDragImage::BeginDrag(). The code initialized m_isDirty twice which was clearly wrong. The original intention was probably to set both m_isDirty and m_isShown to false. Thanks to PVS-Studio for finding this bug.

2012-02-29 14:58 VZ, revision 70748

Move checks for m_art != NULL before code using m_art in wxAuiToolBar. It doesn't make sense to check whether a pointer is NULL after using it, so do the checks first. In fact the m_art pointer probably can never be NULL at all as other code uses it without checking and so these checks could probably be removed completely, but keep them for now as I'm not totally sure if having NULL art provider is really impossible.

2012-02-28 23:48 VZ, revision 70744

Use /bin/echo for creation of Mac OS X PkgInfo files. The built-in of /bin/sh doesn't handle "-n" option that we use (at least not under OS X 10.6), so we were getting "-n APPL????" in the generated files. Fix this by using /bin/echo which does support this option.

2012-02-28 19:23 PC, revision 70741

avoid deprecated gdk_net_wm_supports()

2012-02-28 19:06 PC, revision 70740

remove run-time check for now-required GTK 2.4

2012-02-28 18:25 PC, revision 70739

remove unnecessary override of AddChildGTK

2012-02-28 18:06 PC, revision 70738

fix virtual override broken in r58875

2012-02-28 17:30 SC, revision 70737

removing Quickdraw call

2012-02-28 15:41 VZ, revision 70736

Fix unused parameter warning in wxOSX build. No real changes.

2012-02-28 15:39 SC, revision 70735

making sure TextMatrix is always identity, there were strange artifacts sometimes, maybe due to interference with cocoa text system, adding debug method CheckInvariants

2012-02-28 06:29 PC, revision 70734

Remove code to query GDK window origin from DoGetPosition(), it should not be necessary, and was probably wrong anyway. This allows removing unnecessary assertions on m_widget (see #14052). Also, avoid setting initial position to (-1,-1)

2012-02-28 05:40 PC, revision 70733

avoid crash if IsMaximized() is called before native widget is created, fixes #14052

2012-02-28 03:05 VZ, revision 70732

Fix setting default file name in wxGenericFileDirButton in wxGTK. Set the default directory first, if it's specified, and the file name later to ensure that it's interpreted relatively to this directory. Otherwise we could have a mismatch between the directory shown in the dialog and its initial path.

2012-02-28 03:04 VZ, revision 70731

Interpret default file name relatively to initial dir in wxGTK wxFileDialog. Use the initial dialog directory to build the absolute path required by GTK+ in wxFileDialog instead of the current working directory. This makes more sense and makes specifying the default directory and (just) the default file name work correctly and avoids GTK+ warnings like Gtk-CRITICAL **: gtk_file_folder_unix_get_info: assertion `strcmp (dirname, folder_unix->filename) == 0' failed (and in some older versions of GTK+ -- 2.10? -- this even results in a crash).

2012-02-28 00:51 RD, revision 70722

Add a bit of docs for the FS Handlers

2012-02-28 00:50 RD, revision 70721

Phoenix needs to see the implementation of pure virtuals so it knows that this class is not abstract.

2012-02-28 00:50 RD, revision 70720

Add missing RemoveHandler

2012-02-28 00:50 RD, revision 70719

Add interface declarations for stock file system handlers.

2012-02-28 00:50 RD, revision 70718

Change the background style in the template file too.

2012-02-27 19:54 VZ, revision 70717

Return an invalid item from wxDataViewCtrl::GetItemByRow() for invalid rows. This function is called in many places in the code with possibly invalid (i.e. out of range) row, so handle it gracefully inside it in virtual list control case. This is consistent with the behaviour in non-virtual case and with that of GetRowByItem().

2012-02-27 19:53 VZ, revision 70716

No changes, just make wxDataViewMainWindow::GetRowCount() const. This is clearly an accessor function, so make it const, even if it requires a const_cast<> inside it.

2012-02-27 19:07 PC, revision 70715

remove redundant GTK check

2012-02-27 18:49 PC, revision 70714

use 0 (== GTK_STATE_NORMAL) for state parameter default

2012-02-27 17:40 PC, revision 70713

avoid making copy of font description

2012-02-27 16:41 SC, revision 70712

no 10.4 support anymore

2012-02-27 16:38 SC, revision 70711

no 10.4 support anymore

2012-02-27 16:37 SC, revision 70710

no 10.4 support anymore

2012-02-27 16:35 SC, revision 70709

no 10.4 support anymore

2012-02-27 16:26 VZ, revision 70708

Document more events in wxAuiNotebookEvent documentation. This is the second part of r70691. Closes #14040.

2012-02-27 16:20 SC, revision 70707

no 10.4 support anymore

2012-02-27 15:27 VS, revision 70706

Improve default wxDVC line height on Windows >= Vista. Explorer in Vista/Win7 uses slightly larger rows, so mimic it.

2012-02-27 02:47 VZ, revision 70705

Allow passing the list of architectures to --enable-universal_binary. Interpret --enable-universal_binary argument as a comma-separated list of architectures to use. By default still use all the supported ones.

2012-02-27 01:40 VZ, revision 70704

Only include <unistd.h> under Unix in wxGTK code. Also remove the inclusions of some Unix-specific headers that were not needed at all. Closes #14048.

2012-02-26 21:24 VZ, revision 70703

Add minimal support for building non-GUI parts of wxWidgets for Android. Recognize __ANDROID__ in wx/platform.h and include the appropriate headers from wx/android. Also fix a couple of compilation errors (in filename.cpp) and warnings (in event.h) which only appear when building for Android.

2012-02-26 19:36 SJL, revision 70702

Update configure.in to use pkg_config to find the webkit hearers and libraries. Regenerate configure.in Fixes #14015

2012-02-26 18:18 VZ, revision 70701

Fix wxGTK compilation when using non X11-based GDK. Only use X11-specific GDK functions inside "#ifdef GDK_WINDOWING_X11" checks. Closes #14044.

2012-02-26 18:18 VZ, revision 70700

Retrieve paper size from page setup dialog in wxOSX/Cocoa. Call PMGetPageFormatPaper() when retrieving data from the native dialog. Closes #14047.

2012-02-26 16:44 JS, revision 70698

Fixed enabling/disabling for wxSpinCtrl

2012-02-26 14:30 SC, revision 70695

also a dialog needs the current events set up correctly

2012-02-26 11:21 SC, revision 70694

setting up current event also when mouse is captured ...

2012-02-26 00:49 VZ, revision 70693

Ensure that combobox editor used by wxGrid is tall enough. Set the rectangle of wxGridCellChoiceEditor to be at least as tall as the best (i.e. minimal) wxComboBox size because otherwise the control can be unusable. Closes #13818.

2012-02-26 00:49 VZ, revision 70692

Suppress harmless MSVC warnings about int to bool conversions. Convert int to bool explicitly to avoid MSVC warning C4800.

2012-02-26 00:49 VZ, revision 70691

Document more wxAuiNotebook events. Add descriptions of several previously undocumented wxEVT_COMMAND_AUINOTEBOOK_XXX events and the corresponding event table entries. Closes #14040.

2012-02-26 00:49 VZ, revision 70690

Dispatch unknown messages immediately in wxMSW YieldFor(). Failure to do this can have catastrophic consequences, e.g. embedded ActiveX IE controls may stop working -- even after resuming the normal message dispatching. Closes #14027.

2012-02-26 00:49 VZ, revision 70689

Minor fixes to wxMessageBox() documentation. Correct the default parameters values. Closes #14043.

2012-02-26 00:49 VZ, revision 70688

Don't assert in wxLocale::IsAvailable() if language is not supported. We can fail to find language information if we're called with wxLANGUAGE_DEFAULT and we don't support the current system language. Closes #14039.

2012-02-26 00:49 VZ, revision 70687

Compare file inodes if possible in wxFileName::SameAs(). This allows to correctly return when the two files with different names actually refer to the same file system object. Closes #910.

2012-02-26 00:49 VZ, revision 70686

Remove temporary files created by wxFileName unit test case. Don't leave temporary files created by wxFileName::CreateTempFileName() lying around.

2012-02-25 23:29 JS, revision 70685

Add borders if none specified

2012-02-25 19:30 SC, revision 70684

adding a app-defined event seems to quit inner eventloops like eg the popup of the combobox, therefore use the cf api in this case

2012-02-25 16:03 VZ, revision 70683

Use Doxygen comments for wxVisualAttributes members. Fix documentation of wxVisualAttributes by simply turning the normal comments into Doxygen ones.

2012-02-25 16:03 VZ, revision 70682

No changes, just remove functions bodies from interface docs. Omit the implementations, even trivial ones, from the documentation.

2012-02-25 16:03 VZ, revision 70681

Don't use _T() in the documentation. This is mainly necessary in order to be able to commit the subsequent changes to this file as otherwise the commit is refused by the svn post-commit hook that checks for _T() presence.

2012-02-25 13:55 VS, revision 70680

Fix r70318 to skip unhandled events.

2012-02-25 12:08 JS, revision 70679

More reasonable font size for rich text dialogs.

2012-02-23 20:43 VZ, revision 70677

Dutch translations update from Gideon van Melle.

2012-02-23 18:01 JS, revision 70676

Added functionality for disabling the vertical scrollbar.

2012-02-23 17:33 VZ, revision 70675

Remove duplicate wxFileKind definition from documentation. Also move wxSeekMode from interface/wx/ffile.h to filefn.h to be consistent with the header in which this enum is really defined. And document it better.

2012-02-23 14:56 VZ, revision 70674

Use wxStrnicmp() instead of strncasecmp() in wxGTK code. This fixes compilation under Windows where strncasecmp() is not available -- but portable wxStrnicmp() always is. Closes #14036.

2012-02-23 14:56 VZ, revision 70673

No real changes, just fix spelling errors in the documentation. Closes #14038.

2012-02-23 08:07 JS, revision 70672

Removed unused variable warning

2012-02-22 18:35 JS, revision 70671

Compile fixes for wxUSE_COLLPANE=0

2012-02-22 14:41 VZ, revision 70670

Mention event type corresponding to EVT_CLOSE in wxFrame documentation. Closes #14030.

2012-02-22 14:41 VZ, revision 70669

Don't crash when using wxPrintDialog with NULL parent under GTK. Check that we have a valid parent before using it. Also simplify the code a little. Closes #14033.

2012-02-22 14:41 VZ, revision 70668

Fix spelling in the documentation. Closes #14034.

2012-02-22 09:24 SC, revision 70667

catching default button handling also in password fields

2012-02-21 23:02 VZ, revision 70666

Correct wxWinCE port name in @onlyfor in the documentation. The name used here should be the same as the label used for the corresponding port in docs/doxygen/mainpages/platdetails.h

2012-02-21 21:22 SC, revision 70663

making sure eventual borders get updated when windows are shown

2012-02-21 21:11 MW, revision 70662

Remove testing against zip in a pipeline as it no longer supports it.

2012-02-21 17:23 SC, revision 70661

making sure eventual borders get updated when windows are hidden

2012-02-21 10:24 JS, revision 70660

The tree only sets the focus in response to a TVN_SELCHANGINGW event if the tree is not being deleted. TVN_SELCHANGINGW is generated when the tree items are deleted. Without this change, if a tree control is in a dialog being closed, the newly active window will become inactive momentarily when tree items are deleted and you will see a flicker.

2012-02-21 06:39 RD, revision 70659

Rewrite DoPaint, FullPaint and add FullPaintDC to help deal with flicker problems and to be more like how the other Scintilla ports are working now.

2012-02-21 06:38 RD, revision 70658

If WXWIDGETS is not set and if on cygwin then set it to a DOS style path. (This assumes that it is not a cygwin oxygen that is being run, if that's not the case then set WXWIDGETS before running regen.sh)

2012-02-20 22:57 VZ, revision 70656

Don't crash in wxImage::SaveFile() if MIME type is not recognized. Insert a missing "return false" whose lack resulted in a crash if the handler for the given MIME type wasn't found. Closes #14028.

2012-02-20 22:57 VZ, revision 70655

Minor fixes to wxDateTime documentation. Use @onlyfor{wxmsw} for MSW-specific methods; fix the return type of operator+=(). Closes #14024.

2012-02-20 22:57 VZ, revision 70654

No changes, just simplify some code in wxX11. Don't use redundantly weird flags tests. Closes #14020.

2012-02-20 22:57 VZ, revision 70653

No changes, just remove a redundant wxGROW. Closes #14018.

2012-02-20 22:56 VZ, revision 70652

Remove documentation of inexistent wxEvtHandler::TryThis(). This method existed only briefly and was replaced by Try{Before,After}(). Closes #14012.

2012-02-20 22:56 VZ, revision 70651

Allow handling EVT_UPDATE_UI for wxID_UNDO/REDO at wxDocument level. Don't require using wxCommandProcessor for this, only use it if it exists. Closes #14011.

2012-02-20 22:56 VZ, revision 70650

Document wxNotificationMessage::Timeout_XXX values. Closes #14009.

2012-02-20 22:56 VZ, revision 70649

Fix typos in wxRibbonButtonBar documentation. Closes #14008.

2012-02-20 22:56 VZ, revision 70648

Minor documentation fixes to wxHelpController. Fix the methods signatures to match the real ones. Closes #14007.

2012-02-20 22:56 VZ, revision 70647

Add skeleton documentation for wxMessageDialog::ButtonLabel. This class shouldn't be really used directly but document it just to make the interface header valid C++ as this class was used as parameter type but never defined. Closes #14006.

2012-02-20 22:56 VZ, revision 70646

Fix wxRichTextBuffer::InsertParagraphsWithUndo() documentation. Use the same parameters order as in the real header file. Closes #14005.

2012-02-20 22:56 VZ, revision 70645

Add @onlyfor tag to wxToolBar::SetBitmapResource() documentation. Closes #14004.

2012-02-20 22:56 VZ, revision 70644

Add @onlyfor tags for Unix-specific wxStandardPaths methods. Closes #14003.

2012-02-20 22:56 VZ, revision 70643

Add @onlyfor tag for wxSound::IsPlaying() documentation. This is not totally precise as the method is available in all Unix-based ports but currently there doesn't seem to be any way to specify this so just mention its availability in wxGTK which is what counts. Closes #14002.

2012-02-20 22:56 VZ, revision 70642

Make wxSingleChoiceDialog::GetSelectionData() const. Also restore const-ness of GetSelectionClientData() lost in r70514. Closes #14001.

2012-02-20 22:56 VZ, revision 70641

Fix wrong spelling of wxRegKey::HasSubkeys() in the documentation. This method is currently called HasSubkeys() and not HasSubKeys() even though the latter would have been more consistent with HasSubKey() so we might consider renaming it in the future. But for now just fix the documentation. Closes #13998.

2012-02-20 22:56 VZ, revision 70640

Remove inexistent wxPropertySheetDialog::SetInnerSizer() from documentation. Closes #13997.

2012-02-20 22:56 VZ, revision 70639

Synchronize wxPropertyGridManager documentation with the real API. Fix GetSelection() return type; remove SetStringSelection() which doesn't seem to exist any more; other minor fixes. Closes #13996.

2012-02-20 22:56 VZ, revision 70638

Synchronize wxPropertyGrid documentation with the real API. Document DoRegisterEditorClass() (even though it's not really clear whether it should be documented); remove the inexistent SetButtonShortcut() documentation and other minor fixes. Closes #13995.

2012-02-20 22:55 VZ, revision 70637

Don't initialize wxFileDialog::m_filterIndex to 1 in wxMotif. This makes it consistent with all the other ports. Closes #1129.

2012-02-20 22:55 VZ, revision 70636

Use wxPageSetupDialogData instead of old wxPageSetupData everywhere. No real changes, just don't use the old and kept for compatibility only wxPageSetupData name. Closes #13992.

2012-02-20 22:55 VZ, revision 70635

Remove wxDialog::OnSysColourChanged() documentation. This event handler is a private implementation detail and shouldn't be documented. Closes #13964.

2012-02-20 19:02 JS, revision 70633

Removed unnecessary newlines.

2012-02-20 18:58 JS, revision 70632

Minor fixes

2012-02-20 18:57 JS, revision 70631

Corrected missing angled bracket

2012-02-20 12:38 JS, revision 70630

Added wxEVT_WIZARD_BEFORE_PAGE_CHANGED event to allow the application to influence the return value of GetNext after Next is clicked.

2012-02-20 11:59 VZ, revision 70629

Fix unit test French locate checks for glibc >= 2.8. Until 2.7 glibc wrongly used periods instead of slashes as separators for the French date format and the test accounted for this, breaking it with recent glibc versions in which this bug was fixed. Fix this by limiting the workaround to the old glibc versions only.

2012-02-19 16:50 VZ, revision 70628

Don't apply svn commit hook checks to 2.8 branch. Some of the files in 2.8 still use the old conventions, allow doing changes in them without completely updating them to follow the rules checked by the hook.

2012-02-19 16:50 VZ, revision 70627

Don't exclude message catalog files from UTF-8 checks in svn hook. The message catalogs do use UTF-8 now, so check that no non-UTF-8 ones are checked in in the future.

2012-02-19 16:04 SN, revision 70626

Spelling fixes, backport of r70625. Additionally changed _T to wxT in updated files to make pre-commit check happy.

2012-02-19 15:49 SN, revision 70625

Spelling fixed for comments and a wxASSERT_MSG. Fixes #14022.

2012-02-18 20:59 SN, revision 70624

Fixed spelling errors, fixes #14021.

2012-02-18 20:46 SN, revision 70623

Backported spelling fixes from r70622.

2012-02-18 20:43 SN, revision 70622

Spelling fixes to comments, fixes #13994.

2012-02-18 20:37 SN, revision 70621

Backport of spelling fixes from r70620.

2012-02-18 20:31 SN, revision 70620

Fixed miss-spelling in output messages (enviroment -> environment, occured -> occurred), fixing 13993.

2012-02-18 18:12 VZ, revision 70619

Update the main translation template and all the message catalogs. This was done mostly to ensure that updating works correctly after the last round of manually fixing the catalogs.

2012-02-18 18:12 VZ, revision 70618

Remove duplicate "About" entries from message catalogs. Somehow we had duplicate entries for "About" string in almost all the message catalogs. This prevented them from compiling correctly.

2012-02-18 15:24 JS, revision 70617

Removed OnSelect

2012-02-18 15:22 JS, revision 70616

Fixed name of GetCombinedStyleForLevel

2012-02-18 15:20 JS, revision 70615

Applied #14000 (wxRichTextXMLHandler interface fixes)

2012-02-15 17:41 PC, revision 70611

modification to fix in r70597, has-window check is unnecessary and perhaps incorrect

2012-02-15 16:40 VZ, revision 70610

Add forward declarations to fix wx/propgrid/editors.h compilation. This header resulted in compilation errors if it was included as the first propgrid header. Fix this by adding the required forward declarations. Closes #13989.

2012-02-15 16:40 VZ, revision 70609

Remove wrong "const" from wxPosition::operator{+,-}=() documentation. Closes #13991.

2012-02-15 16:40 VZ, revision 70608

Fix the name of wxPersistentTreeBookCtrl in the documentation. It was misspelt as wxPersistentTreeBook. Closes #13990.

2012-02-15 16:40 VZ, revision 70607

Remove non-existent wxPGChoices methods from the documentation. wxPGProperty::Add(wxArrayString, ValArrItem), GetItemAtY() and HasValue() were documented but don't actually exist, remove them. Also correct wxPGProperty::Empty() scope: it's protected and not public. Closes #13988.

2012-02-15 16:40 VZ, revision 70606

Fix typo in wxOwnerDrawnComboBox ctor documentation. "[]" was in the wrong place. Closes #13987.

2012-02-15 16:40 VZ, revision 70605

Fix typo in wxMultiChoiceDialog::GetSelections() name in the documentation. Closes #13986.

2012-02-15 16:40 VZ, revision 70604

Mark Mac-specific wxMenuBar methods with @onlyfor{wxosx}. Closes #13985.

2012-02-15 16:39 VZ, revision 70603

Document the default size of new wxMemoryBuffer correctly. Documenting it as DefBufSize wasn't really helpful, so just use its value instead (an alternative would be to document DefBufSize -- with its value -- but it doesn't seem very useful to make it part of the public API). Closes #13984.

2012-02-15 16:39 VZ, revision 70602

Fix wxMediaCtrl::GetPlaybackRate() method name in the documentation. Closes #13983.

2012-02-15 16:39 VZ, revision 70601

Document wxConvFileName variable, not wxMBConvFile class. The class doesn't exist (and the documentation even says that much) but the global variable does exist, so document it instead. Closes #13982.

2012-02-15 16:39 VZ, revision 70600

Added wxFileName::Exists(). This function checks for existence of anything with the given name, not necessarily just a file or a directory. Extend the unit test to verify that it returns true for /dev/null on Unix systems. Closes #953.

2012-02-15 16:39 VZ, revision 70599

Refactor wxFileName existence checking code. Merge FileExists() and DirExists() together in a single wxFileSystemObjectExists() helper in preparation for adding a function checking for the existence of any kind of file system object. There should be no changes for MSW/Unix but OS/2 file detection was changed slightly to always use DosQueryPathInfo() instead of using it only for the directories and stat() for files. Not sure if this is the right thing to do there but it seems like the code should work. Also add a simple unit test for these functions. See #953.

2012-02-15 16:39 VZ, revision 70598

Explicitly document that hidden windows get wxEVT_IDLE events. This wasn't always the case and could be unexpected so document this behaviour clearly, also explain the rationale for it.

2012-02-15 08:04 PC, revision 70597

avoid sending mouse events to the wrong window, fixes #2917

2012-02-15 01:36 VZ, revision 70594

Document wxLogGui::DoShow{Single,Multiple}LogMessage() as private. These methods should be documented because they can be overridden but they're private so document them as such. Closes #13981.

2012-02-15 01:35 VZ, revision 70593

Don't document wxListCtrl::SetColumnsOrder() as being const. Because it isn't. Closes #13980.

2012-02-15 01:35 VZ, revision 70592

Clean up wxListBox documentation. Remove the methods inherited from the base class, there is no need to re-document them here, especially as this was done incorrectly for Set(). Do document EnsureVisible() and IsSorted(). Closes #13979.

2012-02-15 01:35 VZ, revision 70591

Make documentation of wxIcon::ConvertToDisabled() more explicit. Use @onlyfor{wxmsw} and explain how can the same task be done under the other platforms. Closes #13977.

2012-02-15 01:35 VZ, revision 70590

Document wxFTP::TransferMode enum in the correct scope. It's declared inside wxFTP class and not in global scope. Closes #13976.

2012-02-15 01:35 VZ, revision 70589

Document wxGB{Position,Size}::operator!=(), remove operator!(). The latter doesn't exist (any more?), the former does. Closes #13975.

2012-02-15 01:35 VZ, revision 70588

Remove documentation of non-existent wxFontMapper::SetConfig(). Closes #13974.

2012-02-15 01:35 VZ, revision 70587

Document Mac-only wxFileName methods as being Mac-only. Use @onlyfor for them for consistency and to help the automated code generators. Closes #13971.

2012-02-15 01:35 VZ, revision 70586

Document wxFileType::MessageParameters class. Documentation is not really very helpful but better than nothing. Closes #13972.

2012-02-15 01:35 VZ, revision 70585

Fix wrong type of wild card parameter in wxFileCtrl documentation. It is a string, not a point. Closes #13970.

2012-02-15 01:35 VZ, revision 70584

Make wxDragImage ctors taking hot spot point really deprecated in wxMSW. They were documented as deprecated and deprecated in the generic version (and actually not even available there any more without WXWIN_COMPATIBILITY_2_6) but not in wxMSW, where we just had the weird wxLogDebug() statements that were inconsistent with our handling of deprecation everywhere else. Do deprecate them now, remove wxLogDebug() and also remove the deprecated ctors and Create() overloads from the documentation. Finally, remove the documentation of deprecated and available in the generic version only ctor taking only wxCursor (closes #13967).

2012-02-15 01:35 VZ, revision 70583

Document wxDocManager::CreatePreviewFrame() as being protected, not public. Simply move the function documentation to the correct class section. Closes #13966.

2012-02-15 01:35 VZ, revision 70582

Don't document private event handlers in doc/view frame classes. wxDoc[MDI]ParentFrame::OnCloseWindow(), wxDoc[MDI]ChildFrame::OnActivate() and OnCloseWindow() are all private, don't document them as public. Just mention that the wxEVT_CLOSE_WINDOW and wxEVT_ACTIVATE should be left for the processing in the frame classes to let the default handling take place. Closes #13965.

2012-02-15 00:14 VZ, revision 70581

Mention __WIN64__ in the preprocessor defines documentation.

2012-02-15 00:09 VZ, revision 70580

Remove the mention of non-existing wxPrintf_l() from the documentation. This function doesn't exist (yet), so don't advise people to use it.

2012-02-13 16:23 SC, revision 70579

adding missing initializer to raw_control, fixes #13963

2012-02-13 16:22 SC, revision 70578

adapting comparison to raw_control, see #13963

2012-02-12 23:19 VZ, revision 70577

Don't document deprecated wxComboCtrl::SetValueWithEvent(). This method shouldn't be used at all, either SetValue() or ChangeValue() should be used instead, so don't document it. Closes #13961.

2012-02-12 23:19 VZ, revision 70576

Implement wxDV_ROW_LINES for generic wxDataViewCtrl. Provide wxDataViewCtrl::SetAlternateRowColour() to specify the colour to use for odd rows explicitly but determine it automatically from the background colour if no explicit colour was specified. Closes #12834.

2012-02-12 23:18 VZ, revision 70575

Don't use deprecated wxDataViewCtrl::StartEditor() in the sample. Also document this deprecation in the change log and explain how to update the existing code.

2012-02-11 21:32 RD, revision 70573

remove some wxPython-only methods that were accidentally added to the interface file

2012-02-11 20:39 PC, revision 70572

remove wxGraphicsContext dependency for transparent background support

2012-02-11 19:36 VZ, revision 70571

Document wxDateTime::GregorianAdoption enum and TimeZone class. These types are referenced by the other documented functions so should be documented themselves. Closes #13959.

2012-02-11 19:36 VZ, revision 70570

Fix "wxEmptyStr" typo in wxChoicebook and wxToolbook documentation. It should be "wxEmptyString". Closes #13955.

2012-02-11 17:26 VZ, revision 70569

Implement wxBG_STYLE_TRANSPARENT support for wxGTK. Use composited windows if supported by GTK+ for wxWindows with this background style. Also add wxWindow::IsTransparentBackgroundSupported() and show how to use it in the sample.

2012-02-11 17:26 VZ, revision 70568

Update marks in non-current months shown in wxMSW wxCalendarCtrl. Native wxMSW calendar control can show more than just the current month. When other months are shown, ensure that they don't have marks for the days marked in the current month as this doesn't make sense. See #13934.

2012-02-11 17:26 VZ, revision 70567

Set marks used in wxMSW wxCalendarCtrl unconditionally. This fixes wrong display (random days could have been shown marked) when not using wxCAL_SHOW_HOLIDAYS style. Apparently we need to set the marks unconditionally as they are not turned off by default, so ensure we call UpdateMarks() even without wxCAL_SHOW_HOLIDAYS. See #13934.

2012-02-11 17:26 VZ, revision 70566

Also add wxNativeFontInfo::SetStrikethrough() stub for wxGTK2. This should have been done in r70563 which added the stub to wxGTK1 part only.

2012-02-11 00:34 VZ, revision 70565

Added a test for wxUSE_DATAOBJ to wxDFB which doesn't support it. This is just one of many, many things not supported by wxDFB but check for at least this one as it prevents even the precompiled header from being created.

2012-02-11 00:34 VZ, revision 70564

Fix compilation ofr ports without native font info, such as wxDFB. Don't use wxString::ToLong() with short variable.

2012-02-11 00:34 VZ, revision 70563

Add stubs for wxNativeFontInfo::{Get,Set}Strikethrough() to wxGTK. These functions are not implemented currently (just as their {Get,Set}Underlined() counterparts) but should still be defined to allow the code using wxNativeFontInfo to link.

2012-02-10 19:30 RD, revision 70557

Don't include the terminating NUL

2012-02-10 11:22 VZ, revision 70556

Fix wxHash{Set,Map} compilation with g++ 4.7 in C++11 mode. Fully qualify the hasher and comparator classes used with WX_DECLARE_HASH_{SET,MAP} macros as they're used as base classes by the standard library implementation in g++ 4.7 and using them without the scope operator results in compilation errors because they're interpreted as being (inaccessible) base classes and not the global ones.

2012-02-09 17:22 VZ, revision 70554

Document MSW-only wxEVT_MOVING event. As we documented EVT_MOVE_{START,END}, we should do it for this one as well.

2012-02-09 14:24 VZ, revision 70553

Fix typo in wxSlider XRC format documentation. "pagesize" was documented as line size, fix this. Closes #13949.

2012-02-09 00:45 VZ, revision 70545

Fix wrong signature of wxBitmap(bits) ctor in the documentation. This ctor takes just a "char* bits" (spelt as "char bits[]" for some reason), not "char* bits[]". Closes #13947.

2012-02-08 13:59 VZ, revision 70544

Restrict button size restrictions documentation to OSX/Carbon only. OSX/Cocoa doesn't have these restrictions. Closes #13122.

2012-02-08 03:09 VZ, revision 70543

Document that wxStandardPaths::GetUserConfigDir() doesn't use app info. Explicitly mention this instead of just relying on the examples to convey it. Closes #11275.

2012-02-08 03:09 VZ, revision 70542

Use wxSTC_INVALID_POSITION in wxStyledTextCtrl documentation. Comments -- copied from the generated header file -- used INVALID_POSITION which is not actually defined, replace it with wxSTC_INVALID_POSITION that is defined. Closes #11454.

2012-02-08 03:09 VZ, revision 70541

Document wxAUI_NB_MIDDLE_CLICK_CLOSE. Also mention that it's part of wxAUI_NB_DEFAULT_STYLE. Closes #13382.

2012-02-08 01:22 RD, revision 70538

Interface fixes changing fiction into truth.

2012-02-08 01:20 RD, revision 70537

Following the theory that something lame is better than nothing at all, provide a very generic implementation of the ctor wxRegion::wxRegion(size_t n, const wxPoint *points, wxPolygonFillMode fillStyle) by drawing the polygon into a bitmap and using that to create the region.

2012-02-08 01:16 RD, revision 70536

Add an empty implementation of the OSXGenerateEvent() pure virtual so the generic date picker ctrl can be used in the cocoa build.

2012-02-08 00:57 RD, revision 70535

Don't assume that XCode is in /Developer. Use "xcode-select -print-path" instead.

2012-02-08 00:55 RD, revision 70534

use buf.length() instead of strlen()

2012-02-08 00:55 RD, revision 70533

Add length parameter to AddTextRaw and AppendTextRaw. Closes #1358

2012-02-07 22:38 VZ, revision 70532

Avoid CRT deprecation warnings for MSVC build using makefiles too. Define _CRT_SECURE_NO_DEPRECATE, _CRT_NON_CONFORMING_SWPRINTFS and _SCL_SECURE_NO_WARNINGS when using makefiles to build the library too for consistency with the project files. These defines are only needed for VC8 and later but should do no harm for the previous versions. See #11009.

2012-02-07 22:38 VZ, revision 70531

Rebake all project files to reflect MSVC deprecation warnings defines. Rebake all the projects after the changes of r70182, even if they're only really needed for the library itself, the other project files should correspond to the bakefiles contents too.

2012-02-07 17:40 SC, revision 70530

forwarding mouse moved events to the view under the mouse, not the firstResponder

2012-02-07 14:48 VZ, revision 70529

Fix wxAboutDialogInfo::GetName() return type in the documentation. wxString is returned by value, not const reference. Closes #13941.

2012-02-07 14:02 VZ, revision 70528

Fix infinite loop in wxHtmlEasyPrinting page break code. The code didn't handle cells higher than the page height correctly and entered an infinite loop when trying to adjust page breaks in their presence, e.g. when trying to print a very tall image. Closes #13935.

2012-02-07 14:02 VZ, revision 70527

No real changes, just pass const wxArrayInt to wxHtmlCell::AdjustPagebreak(). AdjustPagebreak() never modifies the array passed to it, so pass it as const reference. See #13935.

2012-02-07 11:33 JJ, revision 70526

Update setup for OpenVMS to make wxX11 work again

2012-02-06 14:28 VZ, revision 70525

Return NULL from wxAuiNotebook::GetCurrentPage() if there is no selection. Make it behave as wxBookCtrlBase::GetCurrentPage() and just silently return NULL instead of asserting if there is no selection. Closes #13932.

2012-02-06 14:28 VZ, revision 70524

Fix typo in an event type constant in wxTreeListCtrl documentation. s/CHeCKED/CHECKED/g Closes #13931.

2012-02-06 14:28 VZ, revision 70523

Fix handling of positional parameters in wxPrintf() and related. Handle positional parameter specifications in wxFormatConverter to ensure that e.g. "%N$s" are correctly transformed to "%N$S" if needed. This fixes the use of positional parameters under OS X. Closes #10965.

2012-02-05 23:54 SN, revision 70521

Reverted bogus fix for bogus bug report #13402.

2012-02-05 23:53 SN, revision 70520

Reverted bogus fix for bogus bug report #13402.

2012-02-05 23:20 SN, revision 70519

Mark unused parameter as such, fixes #13402.

2012-02-05 23:20 SN, revision 70518

Mark unused parameter as such, fixes #13402.

2012-02-05 18:43 PC, revision 70517

remove code ifdef-ed on __X__, it is never defined for wxGTK

2012-02-05 16:45 VZ, revision 70516

Don't set PAGESETUPDLG::hDevNames and hDevMode when using PSD_RETURNDEFAULT. If the page setup dialog is used to retrieve the default information, hDevMode and hDevNames fields must not be set, otherwise PageSetupDlg() function simply fails because of incorrect parameters passed to it. Closes #13928.

2012-02-05 15:18 VZ, revision 70515

Fix huge performance problem in wxStdInputStream when using MSVC8/9. Our overridden xsgetn() method was never called when using these compilers because they used their own, non-standard, _Xsgetn_s() instead. Because of this the stream was always read character by character which was very inefficient. Fix the problem by overriding _Xsgetn_s() for these compilers and explicitly forwarding it to xsgetn(). Closes #13926.

2012-02-05 15:18 VZ, revision 70514

Take void** client data in wxSingleChoiceDialog ctor and not char**. The client data is supposed to be untyped, there is really no reason (other than compatibility with C conventions of 40 years ago) to use char** here. So don't do it and provide the versions taking "void**" keeping "char**" ones for backwards compatibility only. Also deprecate GetSelectionClientData() that returned char* and add a new GetSelectionData() returning void* instead. Closes #13876.

2012-02-05 15:18 VZ, revision 70513

Preserve focus when window is minimized and restored in wxMSW. Add specific code to save and restore the focus when the window is minimized and restored in wxMSW as the existing code in WM_ACTIVATE handler wasn't enough because this event was generated too late when minimizing the window (when it was already minimized and so the focus had been already lost) and too early when restoring it (so the window was still minimized and restoring focus failed). This is still not perfect as we do in our code something Windows would be expected to do automatically but for whatever reason, it doesn't do it for wxWidgets programs, and this manual workaround at least prevents the annoying total focus loss. Closes #1599.

2012-02-05 15:18 VZ, revision 70512

Ensure that the progress dialog parent is activated at the end under MSW. The progress dialog parent was supposed to become the new foreground window when the progress dialog was closed, but this didn't happen because m_parentTop was never set when the native progress dialog implementation was used under MSW. Fix this by explicitly calling the new SetTopParent() from its ctor.

2012-02-05 15:18 VZ, revision 70511

No changes, just implement Raise() in wxTopLevelWindow in wxMSW. Get rid of two identical implementations in wxFrame and wxDialog and only override this function once in wxTopLevelWindow.

2012-02-05 02:20 VZ, revision 70510

Fix initial state of radio toolbar tools in wxGTK. The last radio group item was initially checked under wxGTK instead of the first one, as under the other platforms. Fix this by correcting the check for the first radio group item which was inversed in wxToolBar::DoInsertTool().

2012-02-05 02:20 VZ, revision 70509

Never refresh controls from EVT_PAINT handler in wxPropertyGrid. Refreshing the controls after finishing repainting the grid results in an infinite stream of paint events, so don't do this, especially as this doesn't seem to have any bad consequences under wxGTK which was the only major platform where this behaviour was enabled. Also rename wxPG_REFRESH_CONTROLS_AFTER_REPAINT to just wxPG_REFRESH_CONTROLS and keep the control refreshing code for wxGTK only in a couple of places outside of EVT_PAINT handler to be on the safe side.

2012-02-04 13:22 VZ, revision 70508

Fix the URL generated by Doxygen @sampledir macro. "samples/" part of the URL was missing, add it. Closes #13925.

2012-02-04 12:45 VZ, revision 70507

Document wxNO_3D as being obsolete. This style doesn't do anything any more, so replace it documentation with a deprecation notice.

2012-02-03 18:57 VZ, revision 70506

Fix typo in EVT_TREE_END_LABEL_EDIT documentation. Wrong event type was used, correct it. Closes #13922.

2012-02-03 18:27 VZ, revision 70505

Check string length correctly in wxFileSystem::URLToFileName(). Check that the string is long enough before accessing its first and second characters to fix a crash when an empty or one-character string was passed to wxFileSystem::URLToFileName(). Closes #13920.

2012-02-03 18:27 VZ, revision 70504

Enable callbacks for wxFileSystemWatcher FD under OS X. We need to enable callbacks to get them initially, otherwise no events are ever detected. Closes #13919.

2012-02-03 18:27 VZ, revision 70503

Fix speed regression in wxFileHistory::AddFileToHistory(). Avoid full normalization including wxPATH_NORM_LONG when adding files to wxFileHistory as this can take a very long time when using network paths under Windows. Closes #13915.

2012-02-03 15:15 VZ, revision 70502

Turkish translations update from Kaya Zeren.

2012-02-03 01:24 VZ, revision 70501

Fix the type of global font constants in the documentation. wxNORMAL_FONT, wxSMALL_FONT &c were documented as wxFont objects but they are really wxFont pointers. Closes #13917.

2012-02-03 01:21 VZ, revision 70500

Fix bug with mouse wheel scrolling wxStyledTextCtrl in long running programs. In long running programs the wxEvent time stamp could wrap around resulting in all mouse wheel events being ignored in wxStyledTextCtrl as the comparison of the (positive) time until which all the subsequent events were supposed to be blocked and the (now negative) current event time stamp would be always false. Fix this by using wxStopWatch::TimeInMicro() to avoid wraparound instead of wxEvent::GetTimestamp(). Also rename the variable to have a more clear name as the original code wasn't easy to understand. Closes #9057.

2012-02-02 21:32 SJL, revision 70499

Disable navigation sounds in wxWebViewIE. This brings the backend into line with the other backends. Also add a general method for changing INTERNETFEATURELIST settings. See #13694

2012-02-02 15:26 VZ, revision 70498

Fix initial wxRadioBox buttons positions in wxMSW. We only updated the button positions when the radio box was moved or resized after being created but didn't do it initially, so a radio box created with fixed position and size didn't lay out its buttons correctly. Do lay them out immediately after creating the radio box to fix this. Closes #13912.

2012-02-02 15:19 VZ, revision 70497

Add wxFontDialog ctor not taking wxFontData to wxOSX. wxFontDialog should have ctor and Create() overload taking just wxWindow parent in addition to the one taking parent and wxFontData used to initialize the dialog but it didn't have them in wxOSX, do add them now. Closes #13908.

2012-02-02 15:19 VZ, revision 70496

Fix wxDataViewCtrl::GetItemRect() signature in wxOSX and document it better. The second parameter of this method should be optional, so make it so in wxOSX. Also document what this method does exactly and the platforms under which it's implemented. Closes #13914.

2012-02-01 14:25 SC, revision 70494

should not bring to front upon focussing

2012-01-31 20:39 VZ, revision 70493

Remove duplicate wxPoint2DInt operator declarations. No real changes, just remove the redundant declarations. Closes #13900.

2012-01-31 20:38 VZ, revision 70492

Set the file name for temporary wxFFile objects. Pass the name of the temporary file to wxFFile::Attach(). This allows to give more useful error messages if any operation on this file fails later. Closes #13903.

2012-01-31 20:38 VZ, revision 70491

Document wxFFile::GetName(). Somehow this method was not documented. See #13903.

2012-01-31 18:44 PC, revision 70490

remove virtual override that just calls base

2012-01-31 18:41 PC, revision 70489

implement wxGetMousePosition without using X-specific code

2012-01-31 18:39 SC, revision 70488

guarding Update() on OSX not to be issued faster than 1/30 later than the last redraw

2012-01-31 18:37 SC, revision 70487

revert to using Update()

2012-01-31 16:00 SC, revision 70486

reenabling an Update where necessary

2012-01-31 14:09 VZ, revision 70485

Fix wxHTTP::SetPostBuffer() compilation in ANSI build. wxString::mb_str() returns a raw pointer and not wxScopedCharBuffer when wxUSE_UNICODE==0 so fix the code to do it differently in this case.

2012-01-31 14:09 VZ, revision 70484

Don't document wxVector<>::reverse_iterator. Documenting just this class but not iterator (and const_iterator) is inconsistent but documenting all of them is too much mostly useless work as all iterators (of the same category) have the same interface anyhow. So just remove the documentation of reverse_iterator for now. See #2585.

2012-01-31 14:09 VZ, revision 70483

Remove dummy Lithuanian translations. All non-translated strings were "translated" as their English originals in lt.po. This was just a artefact of the software used for translation and wrong, so remove all these dummy translations.

2012-01-31 08:30 PC, revision 70482

handle theme change which changes window border width

2012-01-30 17:30 SC, revision 70481

attempt to isolate which Update() calls are necessary at all, as they cause performance issues under OSX

2012-01-30 17:25 SC, revision 70480

always setting the event object to the menu, see #1595

2012-01-30 17:05 SC, revision 70479

fixing the routing of UpdateUI to the window by just passing NULL as source

2012-01-29 09:49 PC, revision 70478

move SetPangoAttrsForFont to wxFont, should have been part of r70475

2012-01-29 09:35 PC, revision 70477

use GTKSetPangoAttrs in wxCairoContext

2012-01-29 09:14 PC, revision 70476

move Pango underline workaround into wxFont::GTKSetPangoAttrs

2012-01-29 09:00 PC, revision 70475

move SetPangoAttrsForFont to wxFont

2012-01-28 14:37 SC, revision 70474

use translatable strings as format template for menu lines

2012-01-28 14:31 SC, revision 70473

adding OSX to the platforms which do the ui update upon menu open

2012-01-25 16:10 JS, revision 70465

Added further API for intercepting deletion and content insertion Added simple implementation of locked objects to sample

2012-01-25 11:33 SC, revision 70464

structure code to Cocoa's possibilities, allows tool windows with just a caption and no buttons

2012-01-25 07:39 BP, revision 70463

Added more conveniently placed 'List of All Members' link on all class doc pages in the header summary (using JS).

2012-01-25 01:10 VZ, revision 70462

Fix return value of wxMBConvUTF8::FromWChar(). Apply the same fix as was done in r68694 for ToWChar() to FromWChar(): it also returned an off by 1 value when not using MAP_INVALID_UTF8_NOT. Closes #13400.

2012-01-25 01:05 VZ, revision 70461

Update wxCommandProcessor after saving wxDocument. Surprisingly, wxCommandProcessor::MarkAsSaved() method was never called by wxDocument so saving the document didn't update wxCommandProcessor dirty status. Do add a call to MarkAsSaved() now, this allows wxCommandProcessor to track its status correctly (and actually more correctly than the dirty status of the document which becomes "dirty" after doing and undoing an operation after saving it, unlike wxCommandProcessor::IsDirty() which correctly returns false in this case).

2012-01-25 01:05 VZ, revision 70460

Fix wxCommandProcessor::IsDirty() result after undoing everything after save. IsDirty() returned false when all commands were undone after saving even though it clearly should have returned true in this case. Fix this and add comments explaining what happens in this method. Closes #2862.

2012-01-25 01:05 VZ, revision 70459

Don't compare invalid iterators in wxCommandProcessor::IsDirty(). Check that m_lastSavedCommand is valid before comparing it with m_currentCommand as comparing invalid iterators results in an assert in STL build (and probably should also result in an assert in non-STL build too for consistency). Also move IsDirty() implementation out of line to make it easier to modify it further in the future and because there is no real reason to keep it inline. Closes #13465.

2012-01-25 01:05 VZ, revision 70458

Forward declare wxFont in wx/gtk/private.h. This fixes compilation in STL build (for some strange reason it doesn't affect the default build however).

2012-01-25 01:05 VZ, revision 70457

Minor fixes to wxDataViewCtrl::HitTest() in wxGTK. Initialize the return parameters with invalid values and use const_cast<>. See #12582.

2012-01-25 01:04 VZ, revision 70456

Set the initial size of the expanded ribbon panel correctly. We need to set the client size of the frame showing the panel to the panel size and not the full frame size. Closes #13850.

2012-01-24 23:17 VZ, revision 70455

Fix setting frame icon when using non-standard icon sizes in wxMSW. Set the closest (and larger, if possible) icon if the icon of exactly the system icon size is not available. This fixes setting the icons when using custom DPI settings under MSW as the standard icon size may be different from the standard 32*32 in this case. This also improves wxIconBundle::GetIcon() to make its behaviour when the icon with exactly the given size is not found more flexible as a side effect. Closes #13891.

2012-01-24 22:50 VZ, revision 70454

Append all items at once during wxChoice creation in wxMSW. Appending all items at once is more efficient than doing it one by one in the loop 9probably because of CB_INITSTORAGE that we send in this case). Closes #13899.

2012-01-24 19:07 PC, revision 70453

add strike-through font support to wxGraphicsContext on GTK

2012-01-23 22:06 SC, revision 70452

adding missing stubs

2012-01-23 15:42 VZ, revision 70451

Add unit test verifying compilation of various wxFont ctors. Check that various invocations of wxFont ctor at least compile to avoid problems like the ones fixed by r70450.

2012-01-23 15:42 VZ, revision 70450

Fix wxButtonToolBar compilation after adding new wxFont ctor overload. The new wxFont ctor added in r70445 resulted in ambiguity when using wxFont(int, wxFontFamily, wxFontStyle, int) ctor mixing the type-safe values for the 2nd and 3rd arguments with "untyped" int for the 4th one. Fix this by avoiding the use of this ctor as it seems impossible to do it in any other way.

2012-01-23 14:59 VZ, revision 70449

Add a property to configure file property dialog kind. Add wxPG_FILE_DIALOG_STYLE allowing to pass wxFileDialog style that should be used by the given wxFileProperty. This notably allows to have file properties accepting not yet existing files, as is needed when using them for the file names to be saved, not opened. Closes #13894.

2012-01-23 13:33 VZ, revision 70448

Fix wxTextAttr::m_fontStrikethrough initialization. The code added in r70447 didn't initialize m_fontStrikethrough correctly. This fixes unit test failures for wxRichTextCtrl that appeared since this change. See #9907.

2012-01-23 12:28 VZ, revision 70447

Implement support for stricken-through fonts in markup parser. Now that we have strike-through support in wxFont, implement support for <s> tag in the markup parser. See #9907.

2012-01-23 12:28 VZ, revision 70446

Add support for stricken-through fonts. Support stricken-through fonts in wxMSW and wxGTK (including special support in wxStaticText and wxTextCtrl). Closes #9907.

2012-01-23 12:28 VZ, revision 70445

Add wxFont ctor taking a single flags argument instead of style/weight/... Currently this ctor just does the same thing as the existing ctors in a different way but it will be extended to support wxFONTFLAG_STRIKETHROUGH in the next commits. See #9907.

2012-01-23 12:28 VZ, revision 70444

Fix wxAffineMatrix2D::Translate() to multiply on the left. The affine transform was previously multiplied by the translation matrix on the right but this was incompatible with both the MSW version of the same method and all the other methods of the generic version. So multiply the transform by the translation on the left, as everywhere else. Closes #13875.

2012-01-23 12:28 VZ, revision 70443

Fix incorrect scroll positions used in SetScrollbars(). SetScrollbars() passed its input positions expressed in scroll units to CalcUnscrolledPosition() which takes positions in pixels. This was definitely wrong so don't do this and perform the conversion from scroll units to pixels in SetScrollbars() itself for clarity instead. It's not clear what concrete bugs, if any, does this fix as the calculated positions are almost never used anyhow but the old code was obviously incorrect and the new version has a chance of not being wrong so it's already an improvement. Closes #9988.

2012-01-23 12:28 VZ, revision 70442

Add check for wxFileCtrl dependency on wxDateTime to wx/chkconf.h. Enable wxDateTime if it's disabled but wxFileCtrl is enabled as the latter needs the former, at least in the generic version. Closes #12821.

2012-01-23 12:28 VZ, revision 70441

Fix incorrect cast resulting in a warning in wxMSW wxMenu code. Menu id is a 32 bit UINT value, even in 64 bit builds, so don't cast it to UINT_PTR. Closes #13815.

2012-01-23 12:28 VZ, revision 70440

Avoid warnings about mismatched format string in wxMSW wxClipboard code. Cast the string offsets to "unsigned" explicitly, even though they can be 64 bit (whereas unsigned is 32 bits) under Win64, the strings we operate with here shouldn't be more than 4GiB long. See #13815.

2012-01-23 12:27 VZ, revision 70439

Update OS X toolkit names list in wxwin.m4. There is no more "mac" toolkit in 2.9, we have "osx_carbon" and "osx_cocoa" instead (and also "osx_iphone" but it's not used with configure so far). Closes #13817.

2012-01-23 12:15 SC, revision 70438

using existing member

2012-01-22 18:31 SN, revision 70437

Fixed typo in variable name, fixing #13872.

2012-01-22 18:27 SN, revision 70436

Fixed typo in variable name, fixing #13872.

2012-01-22 01:58 VZ, revision 70434

Added a simple benchmark of wxLogDebug() and wxLogTrace(). Measure time taken by these calls when the debug/trace messages are not enabled. See #11829.

2012-01-22 01:58 VZ, revision 70433

Create wxStaticText with correct label directly in wxTextSizerWrapper. This is shorter and arguably more clear than doing it in two steps as we did before and also works in wxUniv, unlike creating wxStaticText with empty label and setting it later. Closes #13858.

2012-01-21 18:03 VZ, revision 70432

Fix reparenting generic wxSpinCtrl. The existing Reparent() implementation was wrong as it reparented spin control subwindows under the new parent but left the main window itself under the old one. Fix this by just not overriding Reparent() at all, the inherited version works just fine for this control. Closes #13849.

2012-01-21 01:53 DS, revision 70430
  • D /wxWidgets/trunk/demos/forty/makemac6.mcp
  • D /wxWidgets/trunk/samples/dnd/dndM7.mcp
  • D /wxWidgets/trunk/samples/docview/docviewM7.mcp
  • D /wxWidgets/trunk/samples/erase/makemac6.mcp
  • D /wxWidgets/trunk/samples/grid/griddemoM7.mcp
  • D /wxWidgets/trunk/samples/html/about/aboutmac6.mcp
  • D /wxWidgets/trunk/samples/html/help/makemac6.mcp
  • D /wxWidgets/trunk/samples/html/test/makemac6.mcp
  • D /wxWidgets/trunk/samples/html/virtual/virtualmac6.mcp
  • D /wxWidgets/trunk/samples/image/makemac6.mcp
  • D /wxWidgets/trunk/samples/internat/makemac6.mcp
  • D /wxWidgets/trunk/utils/helpview/src/HelpviewM7.mcp

deleted CodeWarrior project files

2012-01-21 01:01 DS, revision 70429

Fixed mismatch in amount of format specifiers in Japanese translation for i18n sample. The translation was missing a %s, copied the translation from the same string at samples/internat/ja/internat.po.

2012-01-21 00:18 VZ, revision 70419

Update the message catalog charset expected by the unit test. The charset of the message catalog files changed to UTF-8 in r70411 but the unit test still expected ISO-8859-1. Update the unit test too to make it pass again.

2012-01-20 23:11 VZ, revision 70418

Fix time zone in wxDateTime::UNow(). The internal wxDateTime representation is in the UTC, so use wxGetUTCTimeMillis() in UNow(), using wxGetLocalTimeMillis() made it inconsistent with Now() and wrong. Really closes #13862.

2012-01-20 23:11 VZ, revision 70417

Ensure wxCharTypeBuffer data is NUL-terminated after extend() call. As wxCharTypeBuffer ctor taking the length NUL-terminates the buffer, it may be expected that extend() does the same but it did not. Do add the NUL at the end for consistency, even though it's not really needed for the existing code using extend() in wxWidgets itself. Closes #13885.

2012-01-20 23:11 VZ, revision 70416

Fix documentation of wxConfig::Read(float*) overload. Grouping methods using "//@{" and "//@}" apparently doesn't work and completely wrong documentation is used in this case, so document the two overloads separately, as it's done for the other methods. Closes #13884.

2012-01-20 23:11 VZ, revision 70415

Add error checking when retrieving client data from wxMSW wxListBox. Verify if retrieving client data failed which might happen if the index is invalid for example. This makes code more robust and also consistent with wxChoice. Closes #13883.

2012-01-20 23:11 VZ, revision 70414

Check that an error really occurred when getting wxChoice data in wxMSW. We could wrongly return NULL client data if -1 was stored as client data in wxChoice because it's the same value as CB_ERR and we always interpreted it as an error, while it may not be one if GetLastError() doesn't indicate it. See #13883.

2012-01-20 23:11 VZ, revision 70413

Destroy modeless wxGenericAboutDialog when it is closed. Don't leave the wxGenericAboutDialog object alive when non-modal about dialog (as can be used under GTK and OS X) is closed. This is wasteful and, worse, resulted in the program not exiting after such a dialog was shown because it counted as a remaining open top level window. This also fixes the same bug in wxGTK when using GTK+ 2.4.

2012-01-20 17:51 DS, revision 70412

Removed ellipsis from "About..." occurrences. MS and Apple guidelines mention ellipses should generally be used when a command needs additional information from the user before the operation can execute. This is not the case for showing an about dialog so the ellipses have been removed.

2012-01-20 17:33 DS, revision 70411

Changed .po files to use UTF-8 charset. Changing the localisation files to be in UTF-8 allows them to be committed by the pre-commit hook script. Also regenerated relevant .mo files.

2012-01-20 13:35 VZ, revision 70410

Reset next wxMenu event handler in wxUniv when detaching it from wxMenuBar. A detached menu must not send its events to the menu bar that it isn't part of any longer. Closes #2620.

2012-01-20 13:30 VZ, revision 70409

Try to avoid truncation of the message in wxMSW wxMessageDialog. Use (documented but undefined) TDF_SIZE_TO_CONTENT flag under Windows Vista/7 to reduce the chance that Windows truncates or ellipsizes the message text if it can't wrap it. Truncation can still happen for very long words but there doesn't seem to be any drawbacks to using TDF_SIZE_TO_CONTENT and it does avoid truncation in at least some cases. This also improves the situation for wxRichMessageDialog and wxProgressDialog. Closes #13843.

2012-01-20 13:22 VZ, revision 70408

Add SetPostBuffer(wxMemoryBuffer) and SetPostText() to wxHTTP. This allows to post binary data or text data in e.g. UTF-8 encoding (which is by far the most common case) easily. Deprecate the existing SetPostBuffer(wxString) as it didn't explicitly specify the encoding to use for the data to be posted. Closes #13870.

2012-01-20 13:22 VZ, revision 70407

Added wxMemoryBuffer::Clear() and IsEmpty() methods. Add two convenient methods which may be used instead of testing or setting the buffer length.

2012-01-19 23:17 VZ, revision 70406

Respect image mask in the docview sample. Draw images with transparency, if any. See #13881.

2012-01-19 16:09 SC, revision 70405

adapting to new raw_control

2012-01-19 16:06 SC, revision 70404

fixing m_axe access indices

2012-01-19 16:01 SC, revision 70403

guard against invalid color ref

2012-01-19 16:01 SC, revision 70402

solving include order problems for stl and xti

2012-01-19 15:59 SC, revision 70401

use better backward compatibility for menu_open, don't autoenable

2012-01-19 15:06 SC, revision 70400

guard against invalid color ref

2012-01-19 15:04 SC, revision 70399

solving include order problems for stl and xti

2012-01-19 10:50 SC, revision 70398

attempt for workaround for stl forward declaration problems

2012-01-19 10:45 SC, revision 70397

gcc 4.3 issues warning if type attributes are given again - even if they are identical - therefore comment them out

2012-01-19 10:00 SC, revision 70396

gcc 4.3 issues warning if type attributes are given again - even if they are identical - therefore comment them out

2012-01-19 09:55 SC, revision 70395

adding unix defaults

2012-01-19 00:12 VZ, revision 70394

Skip EVT_RIGHT_UP event in wxHtmlWindow if it wasn't handled. This fixes generation of EVT_CONTEXT_MENU for mouse clicks in wxHtmlWindow under MSW: it wasn't generated before because we always ate the right mouse clicks. Closes #2465.

2012-01-19 00:10 DS, revision 70393

replaced _T() usage with wxT()

2012-01-18 20:42 VZ, revision 70392

Avoid needless second string conversion when adding files to memory FS. Create the buffer holding the result of conversion instead of converting twice, once to only get the length of the result and the second time to get the data. Closes #13877.

2012-01-18 20:14 BP, revision 70391

Gave proper spacing to header include sections.

2012-01-18 19:00 DS, revision 70390

Synchronised svn:eol-style and svn:executable properties of some file types. Changed the properties of the following file types: .am .m4: LF .plist .plist.in: native .guess .sh .sh.in .sub: LF, executable

2012-01-18 18:55 DS, revision 70389

merged libpng 1.5.7 to trunk

2012-01-18 18:39 DS, revision 70388

tagged libpng 1.5.7

2012-01-18 18:37 DS, revision 70387

Upgraded to libpng 1.5.7 (without contrib subdirectory). Also re-added some files that went missing while updating to 1.5.6 (that update was based on the .zip release which contains different files compared to the .tar.gz release).

2012-01-18 18:26 VZ, revision 70386

Don't auto-link with 3rd party libraries in DLL build using MSVC. It's unnecessary to link with these libraries as they're already embedded inside our DLLs and the functions from them can't be used anyhow as they're not declared as DLL-exported in the libraries headers.

2012-01-18 15:19 SC, revision 70385

fixing RTTI

2012-01-18 15:05 SC, revision 70384

adding conversion for stl

2012-01-18 11:05 VZ, revision 70383

No changes, just minor wxMSW code cleanup: use WinStruct<>. Use WinStruct instead of the usual ZeroMemory() + cbSize setting fragment to initialize Win32 structs that need to be initialized in this way. No real changes.

2012-01-18 10:51 VZ, revision 70382

Fix header formatting problem in wxMessageBox() documentation. @header macro must be preceded by a new line.

2012-01-18 01:25 JTN, revision 70381
  • D /wxWidgets/trunk/build/buildbot/config/JTN.xml

Removed wxQt build slave

2012-01-18 00:48 VZ, revision 70380

Consistently use "checked" in wxRadioButton documentation. We used "depressed" or "selected"; replace both of them with hopefully more clear "checked".

2012-01-17 22:54 SC, revision 70379

missing commit, see #10269

2012-01-17 21:03 JS, revision 70378

Added drawing context to allow 'virtual' (dynamic) attributes, for e.g. showing bookmarks without affecting the content

2012-01-17 15:05 VS, revision 70377

Replace wxDataViewCtrl::StartEditor() with EditItem(). This is more consistent with other wxDVC methods (taking column pointer as its argument) and other DVC-like classes where the name EditLabel() is used for similar purposes.

2012-01-17 15:05 VS, revision 70376

Removed unused, wrong wxDataViewCtrl code.

2012-01-17 15:05 VS, revision 70375

Add wxDataViewCtrl::GetCurrentColumn().

2012-01-17 13:56 JS, revision 70374

Support for undoable application of custom properties, and customisation of properties menu label

2012-01-17 07:18 DS, revision 70373
  • D /wxWidgets/trunk/docs/osx/SetTypeFromExtension.sea.hqx

Deleted SetTypeFromExtension.sea.hqx. The script or application in this file was used to set the file type for CodeWarrior projects on the Mac. Since that IDE is not supported anymore and OS X is moving away from file and creator types the file can be deleted.

2012-01-17 07:12 DS, revision 70372
  • D /wxWidgets/trunk/samples/dialogs/makefile.mgl

Deleted makefile.mgl. The makefile referred to a file in src/mgl/, wxMGL has been removed since r70353 so this makefile can be deleted.

2012-01-17 07:06 DS, revision 70371

Fixed keyboard navigation in generic tree control. Under MSW any cursor key presses would not be handled by the generic tree control (and it would lose focus). Added the style wxWANTS_CHARS to the creation of wxGenericTreeCtrl to fix keyboard navigation.

2012-01-16 20:02 JS, revision 70369

Fixed duplicate comment #13871

2012-01-16 14:37 VZ, revision 70368

Only return the requested data from generic wxListCtrl::GetItem(). For compatibility with MSW, only return the data that was requested by the item mask from wxListCtrl::GetItem(). This harmonizes the behaviour between all ports. Closes #1621.

2012-01-16 14:37 VZ, revision 70367

Set all event fields correctly for drag events in generic wxListCtrl. Call SendNotify() instead of (ponly partially) duplicating it in the code generating wxEVT_COMMAND_LIST_BEGIN_[R]DRAG. Closes #1582.

2012-01-16 13:56 VZ, revision 70366

Remove more non-standard keywords from wxWebView MSW header. Complete the changes of r70365 by removing the rest of __out, __in and __nullterminated occurrences.

2012-01-16 09:21 SJL, revision 70365

Remove MSVC specific specifiers from wxWebView code.

2012-01-16 00:39 VZ, revision 70364

Fix another typo in section names in the XRC overview. Replace triple "t" with just a double one in "button". See #13868.

2012-01-16 00:28 VZ, revision 70363

Fix wxBitmapToggleButton section name in XRC format overview. It mistakenly had the same name as wxToggleButton section.

2012-01-15 20:19 SJL, revision 70362

Implement IDocHostUIHandler in wxWebViewIE to improve the default behaviour. Disable built-in keyboard handlers, remove the 3D border and enable themes.

2012-01-15 20:05 SJL, revision 70361

Add wxActiveXContainer::QueryClientSiteInterface to allow customisation of ActiveX controls. Closes #13784.

2012-01-15 19:54 VZ, revision 70360

Fix minor errors in XRC format overview. Correct the tag in an example and a section name.

2012-01-15 19:50 VZ, revision 70359

Remove __WXMGL__ tests from the samples too. __WXMGL__ is not used any longer, remove it from the samples too.

2012-01-15 19:26 JS, revision 70358

Added min and max size to box attributes; made property editing more customisable

2012-01-15 18:45 VS, revision 70357

Don't crash if XRC file contains '_' at the end of a string. Parsing code for translating between '_' and '&' didn't properly handle the case when the input was malformed and '_' wasn't followed by either another '_' or another character. Added a check to guard against this.

2012-01-15 16:55 SC, revision 70356

native maxlength support, fixes #10269 (for osx_cocoa)

2012-01-15 16:54 SC, revision 70355

removing duplicated method, wiring native maxlength support, see #10269

2012-01-15 16:53 SC, revision 70354

allow native max length support, see #10269

2012-01-15 15:46 VZ, revision 70353

Remove wxMGL port. The company behind MGL toolkit (SciTech) doesn't exist since several years and this port is not used by anybody, so remove it to ease maintenance burden.

2012-01-15 14:46 VZ, revision 70352
  • D /wxWidgets/trunk/build/palmos
  • D /wxWidgets/trunk/build/wince/missing/PalmOS.h
  • D /wxWidgets/trunk/docs/palmos
  • D /wxWidgets/trunk/include/wx/palmos
  • D /wxWidgets/trunk/src/palmos

Remove empty PalmOS-related directories. And one file (in build/wince/missing).

2012-01-15 14:43 VZ, revision 70351
  • D /wxWidgets/trunk/build/palmos/.cdtproject
  • D /wxWidgets/trunk/build/palmos/.project
  • D /wxWidgets/trunk/build/palmos/auto-generated.mk
  • D /wxWidgets/trunk/build/palmos/makefile
  • D /wxWidgets/trunk/build/palmos/makefile-engine.mk
  • M /wxWidgets/trunk/samples/widgets/widgets.cpp

Remove more Palm OS left overs. Remove the build files and the mentions of Palm OS in the widgets sample.

2012-01-15 14:41 VZ, revision 70350

Implement wxMenuBar::EnableTop() for wxMSW and wxGTK. This method was only available in wxUniv before and just always returned true in the other ports. Implement it for wxMSW and wxGTK too now and document it. Also add a unit test. Closes #795.

2012-01-15 13:28 VZ, revision 70349

Fix unit test build with wxUSE_ZIPSTREAM or wxUSE_TARSTREAM == 0. Disable the tests using wxZipEntry when it's unavailable. Also do the same for wxTarEntry.

2012-01-15 13:28 VZ, revision 70348

Fix variable name in wxFTP example in the documentation. The variable should be called "in", not "i".

2012-01-15 13:28 VZ, revision 70347

Document wxFileCtrl as being in the core library, not in the base one. Closes #13866.

2012-01-15 12:18 SC, revision 70346

patch applied with thanks, fixes #13865

2012-01-15 02:05 VZ, revision 70345

Remove Palm OS port. The platform targeted by this port doesn't exist any more and the port never achieved really working state so remove the code to avoid having to maintain it.

2012-01-15 02:05 VZ, revision 70344

Remove the documentation of non-existent wxNO_T macro. Don't document wxNO_T as it doesn't exist.

2012-01-15 02:01 VZ, revision 70343

Correct wrong checks for wxUSE_OWNER_DRAWN. Fix the checks added in r70316, wxUSE_OWNER_DRAWN should have been used instead of inexistent and undefined wxUSE_OWNER_DRAW. See #13851.

2012-01-14 20:54 PC, revision 70342

in addition to key events, also prevent unhandled mouse events from propagating up parent chain

2012-01-14 18:57 VZ, revision 70341

Fix the size of the font returned from wxTextCtrl::GetStyle() in wxMSW. Due to a typo the size was expressed in 1/10th of a point and not in points. Fix this and add a unit test checking that GetStyle() returns the same font as was set by SetStyle(). Closes #2120.

2012-01-14 18:57 VZ, revision 70340

Update wxNotebook selection when user changes the page in wxOSX. wxNotebook::m_selection was only updated if the selected page was changed programmatically but not if it was done by the user. Do update it in this case as well, it fixes generation of the events which was broken before because of comparison of the new selection with the incorrect current selection value in m_selection.

2012-01-14 17:52 VS, revision 70339

Fix wxDataViewCtrl::GetMainWindow() signature on OS X. Return wxWindow* as other ports do, not wxControl*.

2012-01-14 17:51 VS, revision 70338

Make column width calculations in wxDataViewCtrl and wxHeaderCtrl consistent.

2012-01-13 20:03 RD, revision 70334

add post-commit to svn too

2012-01-13 19:57 RD, revision 70333

Also exclude generated wxPython html files from pre-commit checks

2012-01-13 12:36 VZ, revision 70332

Call tzset() for all compilers before using time zone variable. Changes of r66245 shouldn't have been specific to MSVC, we must call tzset() when using any other compiler as well, otherwise time zone information can be initially incorrect. Closes #13862.

2012-01-13 12:32 VZ, revision 70331

Correct handle passed to DocumentProperties() in MSW printing code. We were passing a pointer to our wrapper struct instead of the pointer stored inside it (as a HANDLE). Closes #13861.

2012-01-13 12:29 VZ, revision 70330

Update broken link to manifest documentation on MSDN. Closes #13860.

2012-01-13 09:00 JJ, revision 70329

Update makefiles for OpenVMS

2012-01-12 19:15 VZ, revision 70326

Correct wxDropSource constructors documentation. The types of the arguments (wxCursor vs wxIcon) were inversed. Even though the description correctly said that wxCursor version was used by MSW and wxIcon -- by wxGTK the converse was actually documented. Fix this and also mention OS X. Finally remove the unnecessary and useless destructor documentation. Closes #13856.

2012-01-12 19:06 PC, revision 70325

revert r70315, key event propagation should be fixed by r70324

2012-01-12 19:06 PC, revision 70324

prevent unhandled key events from propagating up parent chain

2012-01-12 15:19 VZ, revision 70322

Added Lithuanian translations. Initial translations into Lithuanian from bricsys.com.

2012-01-12 11:26 SJL, revision 70321

Add missing aui dependencies to the notebook sample.

2012-01-11 14:42 VS, revision 70318

Don't react to Enter/Space/F2 with modifiers in generic wxDataViewCtrl. Doing so was in conflict with system shortcuts; Alt+Space in particular is used by Windows.

2012-01-11 14:42 VZ, revision 70317

Only declare wxDialog::SetWindowStyleFlag() when wxUSE_DIALOG_SIZEGRIP. This method was only defined when wxUSE_DIALOG_SIZEGRIP==1 so avoid declaring it when wxUSE_DIALOG_SIZEGRIP==0 to fix compilation in this case (i.e. under Windows CE). Closes #13852.

2012-01-11 14:42 VZ, revision 70316

Add wxUSE_OWNER_DRAW checks to wxMSW wxMenu code. Allow compiling with wxUSE_OWNER_DRAW==0. This fixes another problem in Windows CE build where owner drawn menus are not supported. Closes #13851.

2012-01-11 00:11 VZ, revision 70315

Fix UI in generic wxListCtrl when pressing cursor arrows while editing. Pressing Up/Down keys while editing an item changed the selection but left the in-place editing control on the previously selected item which was just wrong. Ignore these keys to avoid it. Notice that there is an underlying bug somewhere in wxGTK because we shouldn't be getting these events in the first place while the in-place editing text control has focus but it doesn't seem easy to fix so work around it here.

2012-01-10 18:09 DS, revision 70314

Fixed clicking on MSW slider not changing value with small ranges. If the range was 9 or less the SetPageSize call would pass a page size of 0, resulting in the value not being changed when clicking on the slider area (outside the thumb). Fix this by at least passing a page size of 1 to SetPageSize. Closes #1608.

2012-01-10 18:01 VZ, revision 70313

Fix wxFrame::AttachMenuBar() compilation under Windows CE. There was a typo in GetHwnd() call. Closes #13848.

2012-01-10 18:01 VZ, revision 70312

Use wxAbort() instead of abort() to fix Windows CE build. abort() is not defined under CE. Closes #13847.

2012-01-10 18:01 VZ, revision 70311

Added wxAbort() which can also be used under Windows CE. Windows CE doesn't have abort() so provide a wrapper which can be used even there (see #13847).

2012-01-10 18:01 VZ, revision 70310

Add missing wxUSE_TOOLTIPS and wxUSE_UXTHEME checks to wxMSW. Allow compiling wxStatusBar without tooltips and theme support. Closes #13846.

2012-01-09 19:59 VS, revision 70308

Don't crash in generic wxDataViewCtrl if selected column is removed.

2012-01-09 19:48 VZ, revision 70307

Add check for _T() to svn pre-commit hook. _T() shouldn't be used in any new code so don't allow committing it. We could have used "svnlook diff" instead of "svnlook cat" and check only for _T() not being added but in practice there shouldn't be any difference and using "cat" is simpler.

2012-01-09 19:48 VZ, revision 70306

Use wxT() instead of _T() in XTI code. _T() is deprecated and doesn't work with Solaris compiler, use wxT() instead. Also change one occurrence of _T() inside a comment in wx/debug.h.

2012-01-09 19:48 VZ, revision 70305

Use wxT(), not _T(), in wxRichText code. _T() doesn't compile with Sun CC and is deprecated, please don't use it.

2012-01-09 19:48 VZ, revision 70304

Resolve ambiguity between two wxAuiNotebook overloads. wxAuiNotebook-specific InsertPage() and the version inherited from wxBookCtrlBase were ambiguous if used with default values for their 2 last arguments. Resolve this by removing defaults from the inherited version.

2012-01-09 15:19 JS, revision 70303

Improved layout, in particular passed a container size in order to allow relative size calculation

2012-01-09 15:04 DS, revision 70302

no code changes, fixed some typos

2012-01-09 08:18 JJ, revision 70301

Correction for the #define wxUSE_DRAG_AND_DROP 0 case

2012-01-09 07:31 PC, revision 70300

move render params out of wxDataViewCustomRenderer they only need to exist for the duration of the render() call

2012-01-08 19:27 JS, revision 70299

Fixed default style setting to take into account text boxes; fixed AddBoxStyle

2012-01-08 15:52 VZ, revision 70298

Fix menu creation in wxOSX/Carbon when using wx in a plugin. In this case the host application may have its own menu so we need to avoid conflicting with its menu elements. Closes #13832.

2012-01-08 15:52 VZ, revision 70297

Enhance wxRibbonToolBar functionality to wxRibbonButtonBar level. Allow inserting and deleting tools and not only appending them. Add possibility to enable/disable and toggle tools. Send wxUpdateUIEvent for the tools. Add various properties accessors. Closes #13835.

2012-01-08 15:52 VZ, revision 70296

Don't generate drag events without valid item in wxGenericListCtrl. Dragging the mouse from the empty area of the control must not generate any drag events as there is nothing to drag there. Also, MSW version doesn't do it. So fix the generic version to avoid generating such invalid drag events too by checking that we have a valid item before checking that we're dragging. Closes #1619.

2012-01-08 15:52 VZ, revision 70295

Add wxTopLevelWindow::SetRepresentedFilename(). This currently is only implemented under OS X and sets the proxy icon there but could be implemented to do something useful under the other platforms too in the future. Closes #13797.

2012-01-08 11:54 VZ, revision 70294

Another wxOSX/Carbon compilation fix after wxListCtrlBase changes. Fix DoInsertColumn() parameter const-ness too.

2012-01-08 08:12 PC, revision 70293

use correct signature for init functions

2012-01-08 07:40 PC, revision 70292

remove unnecessary class definitions and variables

2012-01-08 07:30 PC, revision 70291

remove unnecessary finalize overrides

2012-01-08 01:55 VZ, revision 70290

Fix wxOSX/Carbon compilation after wxListCtrlBase introduction. Make wxListCtrl::SetColumn() item parameter const reference.

2012-01-07 17:35 VZ, revision 70287

Compilation fixes to joystick sample after r70279.

2012-01-07 17:11 VZ, revision 70286

Compilation fix for PCH-less build after wxListCtrlBase changes. Include the base class declaration from wx/listbase.h.

2012-01-07 16:09 VZ, revision 70285

Improve column auto-sizing code in generic wxListCtrl. Take the width of the header itself into account when setting width to wxLIST_AUTOSIZE. Also refactor the code to reuse the code used in wxLIST_AUTOSIZE_USEHEADER case in SetColumnWidth() when inserting or updating the column width to this value.

2012-01-07 16:09 VZ, revision 70284

Add support for wxLIST_AUTOSIZE_USEHEADER to InsertColumn(). Use the fixed default width in InsertColumn() by default for compatibility but allow more useful behaviour in it by supporting wxLIST_AUTOSIZE_USEHEADER as well.

2012-01-07 16:09 VZ, revision 70283

Add convenient wxListCtrl::AppendColumn() wrapper. In the vast majority of cases, columns are just appended to the end and not inserted at arbitrary positions in wxListCtrl so provide a convenient wrapper to do this, especially as it's really trivial to do it now when it can be done only once at wxListCtrlBase level.

2012-01-07 16:09 VZ, revision 70282

Implement best size calculation for report mode wxListCtrl. Use the column labels to determine the minimal width required by the control to show them all in full. Also declare all image list and column-related wxListCtrl methods in wxListCtrlBase now as we need some of them in DoGetBestClientSize() implementation.

2012-01-07 16:09 VZ, revision 70281

Replace 3 copies of wxListCtrl mode tests with a single one in wxListCtrlBase. Move InReportView() and IsVirtual() into the base class as they were the same in all the implementations.

2012-01-07 16:09 VZ, revision 70280

Add wxListCtrlBase common base class for port-specific wxListCtrl. This base class is currently trivial, more methods will be moved to it from the derived classes later.

2012-01-07 16:09 VZ, revision 70279

Set Z-position correctly for wxEVT_JOY_ZMOVE events. Z-move events don't have (x, y) position, but they do have Z-position which needs to be set. Also don't use (x, y) position for these events in the sample. See #748.

2012-01-07 16:09 VZ, revision 70278

Joystick messages coordinates are unsigned, treat them as such. Apparently the joystick messages (x, y) coordinates are unsigned, so use LOWORD/HIWORD to extract them from LPARAM. See #748.

2012-01-05 16:48 JS, revision 70275

Removed compilation ambiguity between different forms of ...WithUndo functions.

2012-01-05 15:10 JS, revision 70274

Fixed box style application.

2012-01-05 15:08 JS, revision 70273

Fixed #13833: wxRichTextCtrl: 'Copy' can grab an extra character

2012-01-05 13:51 VZ, revision 70272

Ensure that wxListEvent::m_itemIndex and m_item.m_itemId are in sync. Unfortunately we have two ways to get the item affected by wxListEvent: via its m_itemIndex (or GetIndex()) and m_item.m_itemId (or GetItem()). This can't be changed for the usual backwards compatibility reasons but at least make sure that both contain the same values in the events sent by the generic version (MSW one already did it).

2012-01-05 13:51 VZ, revision 70271

Don't fill wxListEvent::m_item when using virtual list control in wxMSW. When using virtual list control the main program already has the items data so it's completely useless to call GetItem() when preparing an event for it. It is also inefficient to call GetItem() for potentially many items. For both of these reasons the generic version already didn't fill the item contents for virtual list controls events. Now modify wxMSW to not do it neither.

2012-01-05 13:51 VZ, revision 70270

Initialize wxListItem::m_itemId to -1, not 0. Currently we have two redundant pieces of data in wxListEvent: m_itemIndex and m_item.m_itemId. The former is initialized to -1 by default which makes sense as it means "no item". But the latter was 0 by default which not only didn't make sense but also made it inconsistent with m_itemIndex for the events which really didn't have any associated item. Fix this by initializing m_itemId to -1 as well.

2012-01-05 11:21 VZ, revision 70269

Fix wxDateTime unit test compilation without PCH. Include wx/time.h to get wxGetTimeZone() declaration.

2012-01-05 01:47 VZ, revision 70268

Implement support for "%z" in wxDateTime::Format() and Parse(). "%z" specifier can now be used when printing the dates out to specify the time zone and is also recognized when parsing dates. Closes #1215.

2012-01-04 20:38 JS, revision 70267

Added box style functionality to style manager dialog

2012-01-04 17:32 JS, revision 70266

Implement missing wxTextBoxAttr::IsDefault function

2012-01-04 16:53 VZ, revision 70265

More pt_BR translations from Felipe. All the messages are now translated.

2012-01-04 15:41 JS, revision 70264

Possible fix for #13821: wxRichTextCtrl using 100% CPU

2012-01-04 15:00 JS, revision 70263

Background now drawn within the border instead of beyond the margin

2012-01-04 14:39 VZ, revision 70262

Fix wxRibbon compilation when wxUSE_TOOLTIPS==0. Add wxUSE_TOOLTIPS tests after the changes of r70175. Closes #13827.

2012-01-04 13:50 JS, revision 70261

Fixed border drawing bug when width is more than 1

2012-01-04 11:42 JJ, revision 70260

Update makefile for OpenVMS

2012-01-04 08:54 SC, revision 70259

fixes #13826

2012-01-04 00:27 VZ, revision 70256

Fix wxEncodingConverter::Convert(wchar_t) documentation. This method mistakenly "inherited" the same documentation as 2 argument Convert() overloads. Closes #13825.

2012-01-03 16:24 JS, revision 70254

Disable drag and drop if the control is not editable

2012-01-03 15:09 JS, revision 70253

Applied #13819: wxRTC drag and drop, by dghart, with tweaks