Changelogs

Overview

These changelogs reflect the history of all files in the Subversion repository. The changelog has been generated at 2014-04-16 10:00:03

Select Changelog:

FileZilla 3, FileZilla,
FileZilla Server, wxWidgets

Changes per page:

25 50 100 250 500 1000 2000

Changelog for wxWidgets (68395 changes):

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

2012-01-03 11:53 SC, revision 70252

fixes #13695

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

adapting to new raw_control constants, see #13695

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

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

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

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

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

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

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

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

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

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

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

Added a box style definition name to the box attribute.

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

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

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

Fixed javascript errors in CHM version of the manual.

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

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

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

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

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

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

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

Interface fixes and tweaks for Phoenix

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

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

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

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

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

Document wxAuiManager styles and flags. Closes #13689.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Include some more declarations & defines.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Added missing ScrollIntoView call

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

remove improper use of paste operator

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Fix typo in ADD_RAW_IID macro.

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

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

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

don't use deprecated function

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

fix tests for WXWIN_COMPATIBILITY_2_8, closes #13800

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Interface fixes for Phoenix

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

rebaked Xcode proj for cocoa after date & timectrls were added

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Ukrainian translations update from Yuri Chornoivan.

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

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

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

Brazilian Portuguese translations update from Felipe.

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

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

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

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

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

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

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

Interface tweaks and fixes for Phoenix

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Tagging 2.9.3 for the third and final time.

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

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

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

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

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

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

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

Re-tagging 2.9.3.

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

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

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

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

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

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

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

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

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

2.9.3 version

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

Tag 2.9.3 release.

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

Add the release date of 2.9.3 to the change log.

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

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

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

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

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

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

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

adding defaults for Xcode builds

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

reverting r69387 and r69389, fixes #13737

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Use default values for some parameters of wxSizerItem and wxGBSizerItem ctors

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

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

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

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

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

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

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

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

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

fixing copy size

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

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

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

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

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

copied from old cocoa code from David, fixes #13732

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

add dot to path

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

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

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

Update Make-files for OpenVMS

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

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

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

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

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

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

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

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

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

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

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

Applied patch #13698 to fix wrong border test

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

add docs to name

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

rc1

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

Tag 2.9.3 RC1.

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

fixing build

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

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

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

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

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

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

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

Handle OpenBSD in wxDialUpManager code. Closes #13716.

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

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

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

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

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

adapting Xcode projects for r69898

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

fix warning about missing return statement, closes #13713

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

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

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

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

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

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

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

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

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

remove unused variables

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

add test for bug fixed in r69878

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

update _GOptionGroup check

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

build fixes for Universal

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

don't warn about gnomeprint if we already have gtkprint

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Bitlist comparison correction

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

merged libpng 1.5.6 to trunk

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

tagged libpng 1.5.6

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

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

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

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

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

fixing iPhone build

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

check for self-assignment in operator=

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

copy array with memcpy rather than a loop

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

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

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

IsNull --> IsEmpty

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

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

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

OnSysRead is pure virtual

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

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

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

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

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

remove redundant GTK-specific code

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

Italian translation corrections from Roberto Boriotti.

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

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

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

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

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

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

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

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

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

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

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

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

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

fixes #13684

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

Italian translation update from Stefano and Roberto Boriotti.

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

Czech translations update from Zbyn?k Schwarz.

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

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

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

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

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

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

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

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

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

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

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

define Popup and Dismiss for wxComboBox in wxMOTIF

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

fix missing and broken interface items for Phoenix

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

Add arg default values for the Create method

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

Don't include webkit headers from wx headers

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

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

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

Another Chinese translations update from Jiawei Huang.

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

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

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

porting back r69689

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

default encoding fix

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

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

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