Changelogs

Overview

These changelogs reflect the history of all files in the Subversion repository. The changelog has been generated at 2016-05-09 08:38:04

Changes per page:

25 50 100 250 500 1000 2000

Changelog for wxWidgets (70435 changes):

2010-08-11 18:46 SJL, revision 65263

Tidy GaugeTestCase so no unspecified behaviour is tested.

2010-08-11 18:45 SJL, revision 65262

Remove the negative focus call as this is unspecified behaviour.

2010-08-11 18:04 VZ, revision 65261

Handle wxDefaultSize correctly in wxNonOwnedWindow under wxOSX. Creating a wxNonOwnedWindow with default size created tiny, practically invisible windows because the default size was only taken care of at wxTopLevelWindow level but not in wxNonOwnedWindow itself. In particular, this broke creation of wxMDIChildFrames with the default size as this class only derived from wxNonOwnedWindow and not from wxTopLevelWindow under OS X. It also probably wasn't intentional as the code did use {Width,Height}Default() functions but they were wxWindow methods and not the wxTopLevelWindow (confusingly and error-pronely) named the same. Fix this, remove the now redundant checks for the default size in wxTopLevelWindow itself and also rationalize and condense the checks for the default position and size components in wxNonOwnedWindow::Create().

2010-08-11 18:03 VZ, revision 65260

Make wxTopLevelWindow::GetDefaultSize() public and document it. This method is/will be needed by wxNonOwnedWindow in wxOSX but couldn't be used as long as it was protected, so make it public. And as it seems that it might be useful outside of wx itself, document it as well.

2010-08-11 18:03 VZ, revision 65259

Add wxPoint::IsFullySpecified() and SetDefaults(). These methods do the same thing as wxSize methods with the same names and are useful for the same reasons.

2010-08-11 18:03 VZ, revision 65258

Fix handling of help buttons with non-empty label under OS X. Creating a button with wxID_HELP and a non-empty label used to always show this label, even if it was just a standard "Help" or "&Help". This didn't work at all as the help buttons under OS X are too small to show any label. To fix this, use normal buttons, not help ones, if a really custom label is used to ensure that it can be seen. And to still use the correct help buttons in as many cases as possible, ignore the standard "Help" label and its variants and don't show it at all.

2010-08-11 18:03 VZ, revision 65257

Use correct format specifiers in wxString::Printf(). Using %d with size_t argument resulted in asserts, fix it.

2010-08-11 17:50 JTN, revision 65256

Fix non-PCH build

2010-08-11 14:04 SJL, revision 65255

Don't assume a default selection or lack of it in wxRadioButton as it is not specified.

2010-08-11 13:58 SJL, revision 65254

Set first group member explicitly in group test.

2010-08-11 13:52 SJL, revision 65253

Test against basic style rather than a constant as text colour can vary by platform.

2010-08-11 11:08 SJL, revision 65252

Compilation fixes for non-MSW configurations.

2010-08-11 02:27 RAW, revision 65243

Native MSW wxHyperlinkCtrl using SysLinks

2010-08-11 00:39 VZ, revision 65242

Fix line indices translation in wxGrid::DoEndDragResizeLine(). We used the translation in wrong direction, i.e. interpreted x coordinates as rows and y coordinates as columns. This could result in passing invalid cell indices to GetCellSize() and was generally completely wrong. Closes #12311.

2010-08-11 00:39 VZ, revision 65241

WIP

2010-08-11 00:38 VZ, revision 65240

Don't set Unicode key code in key events to non-Unicode values in wxGTK. Only assign the wx key code wxKeyEvent::m_uniChar if it's a key corresponding to an ASCII symbol, don't do it for the values outside of ASCII range such as all the special WXK_ constants. It doesn't make sense to generate Unicode key codes for e.g. cursor key presses.

2010-08-10 23:48 VZ, revision 65239

Use wxPanel as controls parent in wrapsizer sample. Follow our own advice about never creating controls directly on the frame and using an intermediate wxPanel in our own sample. This is better style and makes it look better under Windows.

2010-08-10 23:48 VZ, revision 65238

Inherit notebook background recursively under wxMSW. With MSWSetTransparentBackground() hack only the panel which was the immediate child of wxNotebook (i.e. its page) inherited the notebook background but not its children. This resulted in jarring background discontinuities when nested panels were used. Fix this by inheriting notebook background in all child panels by testing for the return value of the parents MSWHasInheritableBackground() method in wxPanel::HasTransparentBackground() recursively. Closes #12317.

2010-08-10 20:58 VZ, revision 65236

Fix wxBitmapButton initial best size determination in wxMSW. This was broken during wxButton/wxBitmapButton merge and wxBitmapButton was not created with the correct initial size if the default size was specified when creating it any longer. Fix this by calling SetInitialSize() once again after setting the bitmap. See #12323.

2010-08-10 20:58 VZ, revision 65235

Keep the button bitmap centered if the button has no label in wxMSW. We should only honour the bitmap alignment if the button shows both the bitmap and the label. If only the bitmap is shown (e.g. when wxBitmapButton is used), it should always be centered as it used to be done in 2.8. Closes #12323.

2010-08-10 20:57 VZ, revision 65234
  • D /wxWidgets/trunk/src/wxWindows.xcodeproj/project.pbxproj

Remove obsolete and out of date Xcode project file. The project files under build/osx should now be used, this Xcode project file was out of date and couldn't be updated automatically.

2010-08-10 20:57 VZ, revision 65233

Revert MSW window classes uniquification patch. Making the class names unique doesn't seem to be necessary so revert the patch which appended unique pointer value to their names (r57030). See #9031.

2010-08-10 20:57 VZ, revision 65232

Don't use bitmap still selected in wxMemoryDC in image sample. The bitmap must be deselected from wxMemoryDC before being used in any other way but the sample didn't do this. Fix this by simply destroying the DC as soon as we don't need it, this makes bitmap available for other use as well. Closes #12310.

2010-08-10 20:57 VZ, revision 65231

Use window position in screen coordinates in wxDisplay::GetFromWindow(). To determine the display to which the window belongs we must use the window position in screen coordinates returned by wxWindow::GetScreenRect() and not the positioned returned by GetRect() which is the same only for the top level windows but not for the child ones. Closes #12318.

2010-08-10 20:57 VZ, revision 65230

Correct documentation of majorDimension in wxRadioBox ctor. The default value of this parameter is 0, not 1. Also add the explanation of what using 0 actually means. Closes #12325.

2010-08-10 20:57 VZ, revision 65229
  • D /wxWidgets/trunk/src/stc/Makefile.in

Remove obsolete stc makefile. This makefile is not used any more since stc was integrated into wx core.

2010-08-10 14:53 VZ, revision 65228

Add wxDataViewCtrl::{Set,Get}CurrentItem(). Current item is the same as the selected item in single selection mode but in multiple selection mode there was no way to neither get this item nor change it before so add the new functions to allow doing this now. The new methods are implemented for the generic, GTK and OS X/Cocoa versions but only stubs are provided for OS X/Carbon.

2010-08-09 23:17 VZ, revision 65226

Don't lose selection in wxDataViewCtrl::Select() under Mac. Calling Select() for an item should not deselect the other selected items in multiple selection mode. This is consistent with the GTK and generic versions behaviour and also just makes more sense but also document that this is indeed the desired behaviour just in case.

2010-08-09 15:47 SJL, revision 65225

Add wxUSE_* checks to better allow building on minimal configurations.

2010-08-09 14:20 SJL, revision 65224

Fix ShowHideEvent as the window is initially shown.

2010-08-09 12:34 SJL, revision 65223

Test against the basic style rather than the default style.

2010-08-09 12:27 SJL, revision 65222

Fix a pair of typos in RichTextCtrlTestCase, also test against the defaults correctly.

2010-08-09 11:54 SJL, revision 65221

Fix a typo in RadioBoxTestCase that caused the test to incorrectly fail.

2010-08-09 10:36 SJL, revision 65220

Note in the docs that wxComboBox::SetString() is case insensitive and fix the unit test.

2010-08-09 10:35 SJL, revision 65219

Minor formatting fix to pickertest.cpp.

2010-08-08 14:22 JMS, revision 65218

Moved wxPGProperty::SetFlag() to protected API since it does not have any side-effects that are usually desired in the user code. Added wxPGProperty::SetAutoUnspecified() since wxPG_PROP_AUTO_UNSPECIFIED can no longer be set (conveniently) with SetFlag().

2010-08-08 13:59 JMS, revision 65217

Removed spurious semicolon that prevented compilation

2010-08-08 13:41 JMS, revision 65216

Added wxPGProperty::Enable() for conveniency. Refactored related code and improved related documentation.

2010-08-08 13:37 VZ, revision 65215

Add name argument to wxDataViewCtrl ctor for consistency. As all the other wxWidgets controls take the parameter in their ctor/Create() it's unexpected that wxDataViewCtrl does not. Add the name parameter and pass it to wxWindowBase::CreateBase() as usual.

2010-08-08 13:37 VZ, revision 65214

Don't export wxDataViewCtrlInternal unnecessarily. wxDataViewCtrlInternal is a private class used only inside wxWidgets itself and doesn't need to be exported from the shared library, so remove the unnecessary WXDLLIMPEXP_ADV from its declaration.

2010-08-08 13:37 VZ, revision 65213

Fix dataview sample compilation with wxUSE_DRAG_AND_DROP==0. This allows to build it under wxX11. Unfortunately it still doesn't work at all there.

2010-08-08 13:37 VZ, revision 65212

Use helper class instead of manually calling gtk_tree_path_free(). No real changes, just simplify the code and make it more obviously correct by ensuring that all temporary tree paths are always destroyed because they are assigned to a wxGtkTreePath object which does it in its dtor instead of calling gtk_tree_path_free() manually every time.

2010-08-08 13:37 VZ, revision 65211

Add wxDataViewCtrl::GTKPathToItem() function and use it. No real changes, just refactor the code to use a function mapping GtkTreeIter to our wxDataViewItem and use it instead of duplicating its code everywhere.

2010-08-08 13:35 VZ, revision 65210

Include wx/defs.h before testing for wxUSE_CHECKLISTBOX. We need to include wx/defs.h that (indirectly) defines wxUSE_CHECKLISTBOX before testing for it in wx/checklst.h, otherwise the test may fail if the latter header is the first wx header included by the user code. Closes #12306.

2010-08-08 13:35 VZ, revision 65209

Correct a print format specifier mismatch in wxFileConfig::Parse(). Pass an int and not a size_t to a %d.

2010-08-08 03:46 MYA, revision 65208

Offset works and fix multiple issues 1. Draw floats correctly 2. Changing a float back to nomral image works 3. A correct line height calculation way 4. Offset works 5. Move image to previous/next paragraph in progress

2010-08-07 22:04 SJL, revision 65206

Add a new suite of tests for wxPicker base and related classes.

2010-08-06 22:14 BP, revision 65205

Added the documentation for wxMemoryBuffer::AppendData(), it was lost in the Doxygen conversion.

2010-08-06 18:28 VS, revision 65203

Fix DnD in generic wxDataViewCtrl when scrolled. wxDataViewMainWindow drag and drop code incorrectly used Y coordinate where X axis should be used to check whether the mouse is inside columns area. This manifested itself as refusing to accept drops once the control was sufficiently scrolled down.

2010-08-06 13:09 SJL, revision 65201

Add new wxWindow tests for children, focusing, positioning, showing / hiding, enabling / disabling and the static findwindowby functions. Also adds a helper function for wxPoint.

2010-08-05 12:04 SJL, revision 65199

Add a set of tests for wxHyperLinkCtrl. This adds tests for colour and url getters and setters and click events.

2010-08-04 18:34 SJL, revision 65194

A series of new wxWindow tests for cursor and caret, property, tooltip, help, parent and sibling functions.

2010-08-04 16:57 VS, revision 65192

Fix attributes escaping when writing XML. wxXmlDocument didn't correctly escape some characters that the spec says must be escaped. Behaves correctly now. Fixes #12275.

2010-08-04 16:49 SJL, revision 65191

Many new tests for wxRichTextCtrl.

2010-08-04 16:48 SJL, revision 65190

Remove a few un-needed calls to Clear in the existing wxItemContainer tests. Add a new test for the SetString function.

2010-08-04 16:46 SJL, revision 65189

Add a set of new wxListBox tests for item click events, hit testing and a specific test for bug #12143.

2010-08-04 16:45 SJL, revision 65188

Add a basic test for RowCount to NotebookTestCase in wxMSW.

2010-08-04 16:45 SJL, revision 65187

Add tests for item tooltip support, selection, count and setstring to RadioBoxTest.

2010-08-04 16:43 SJL, revision 65186

Add missing radiobutton entry to the bakefile.

2010-08-04 16:42 SJL, revision 65185

Add a new set of tests for wxRadioButton. This adds tests for events, Get/SetValue and button grouping.

2010-08-04 16:37 SJL, revision 65184

Add a test for thumb events to the wxSlider tests.

2010-08-04 16:36 SJL, revision 65183

Tidy up the wxUIActionSimulator documentation, remove the out of date note, improve some formatting and update the keyboard functions.

2010-08-04 16:35 SJL, revision 65182

Clarify a few parts of the wxHtmlWindow documentation, especially for LoadFile and SetPage. Also tidy a few grammatical errors.

2010-08-04 16:34 SJL, revision 65181

Add tests for correctly parsing the page title, correct events for clicking cells and links and a test for AppendToPage for wxHtmlWindow.

2010-08-04 16:33 SJL, revision 65180

Add new tests to GridTestCase for various selection modes, cell formatting options, editability and read only status. Also use the various existing column tests to check the correct functionality under native column labels as well as native column headers.

2010-08-04 16:29 SJL, revision 65179

Add an extra check to ensure that GetBitmapSize returns the correct value.

2010-08-04 16:27 SJL, revision 65178

Add tests to ensure that the various two part wxBookCtrl implementations return a correct sub-control, for example wxListBook returns a valid wxListView.

2010-08-04 16:26 SJL, revision 65177

Expand the ButtonTestCase example to include tests for Set/GetAuthNeeded, bitmap margins and bitmap setting.

2010-08-04 16:08 SJL, revision 65176

Add extras tests for menu popup and dismissal under wxMSW and recent wxGTK, item sorting and correct handling of readonly to ComboBoxTestCase.

2010-08-04 16:05 SJL, revision 65175

Add new ListBaseTestCase tests for label edit events, image list assigning and item sorting.

2010-08-04 15:44 SJL, revision 65174

Add new wxTreeCtrl tests for item focus, bold, visibility, sorting and keyboard navigation.

2010-08-04 15:38 SJL, revision 65173

Move wxSize helper function to asserthelper and add the missing entry to bakefile.

2010-08-04 01:41 RAW, revision 65172

Native MSW wxProgressDialog implementation using task dialogs.

2010-08-03 21:31 JTN, revision 65171

Changes to wxDC: - Implemented raster operations - Moved QImage buffer from wxDC to wxWindow. This allows multiple wxPaintDC's to be used in the same paint event - Fixed GetFont/Brush/Pen... - Take into account pen width when drawing rectangles and the like

2010-08-03 19:15 JS, revision 65170

Don't reset bullet number and outline number when applying style sheet.

2010-08-03 19:14 JS, revision 65169

Don't reset bullet number and outline number when applying style sheet.

2010-08-03 15:37 JTN, revision 65168

wxDC: Blitting support (Implemented painting to a QImage first, then to the actual device)

2010-08-03 14:59 VS, revision 65167

Fix MSVC warning about int->bool conversion.

2010-08-03 13:28 JTN, revision 65166

wxDC: useMask implemented

2010-08-02 23:14 RAW, revision 65162

Removed use of a compatibility header.

2010-08-02 15:26 JS, revision 65157

Don't create a font when converting to wxTextAttrEx unless one exists in the wxRichTextAttr

2010-08-01 21:48 JTN, revision 65156

Window styles for wxWindow, wxTopLevelWindow, wxFrame, wxMessageDialog. Changed wxWindow implementation to QFrame (to allow for borders)

2010-08-01 15:40 PMO, revision 65155

Minimum implementation for wxCheckList, wxRadioButton, wxTextCtrl, wxButton, wxNotebook, wxBitmapButton, wxComboBox, wxStaticBitmap, wxSlider, wxStaticText, wxListBox, wxCheckBox, wxGauge, wxChoice

2010-08-01 12:11 VS, revision 65154

Fix Tab navigation when focused control is disabled.

2010-08-01 01:51 RAW, revision 65153

Fully filled out configure.in with the settings for wxCommandLinkButton and wxRichMessageDialog.

2010-08-01 01:31 RAW, revision 65152

Added wxRTTI information to platforms using generic wrappers for wxCommandLinkButton and wxRichMessageDialog.

2010-08-01 01:22 RAW, revision 65151

HasNativeTaskDialog() always returns false when task dialogs are not available at compile-time and moved to the wxMSWMessageDialog namespace.

2010-07-31 21:53 JTN, revision 65150

Dialog fixes (crashed when exiting by clicking on top-right X)

2010-07-31 20:43 JTN, revision 65149

Accelerator implementation. Documented in wx/qt/accel.h

2010-07-30 12:15 JWE, revision 65142

add F formatCodes and remove printf

2010-07-30 11:19 JWE, revision 65141

add docs and sample doc

2010-07-29 22:54 VS, revision 65140

Fix wxDataViewCtrl to omit expander space for all kinds of lists. List-only models don't have expanders and so the control shouldn't reserve any space for them; the notion of expander column doesn't make sense here. Previously, this was done correctly only for wxDataViewVirtualListModel; "ordinary" list models, such as the one used by wxDataViewListCtrl, were treated as generic tree models and 0th column had ugly empty space reserved for (never used) expander. This patch fixes it by adding IsListModel() helper function in addition to existing IsVirtualListModel(). Some of the IsVirtualListModel() tests were changed into IsListModel() checks as appropriate.

2010-07-29 18:57 RR, revision 65139

Add ability to render checkbox in undeterminate state, fixes #12290: wxRendererGTK does not support wx.CONTROL_UNDETERMINED for checkboxes

2010-07-29 17:30 VS, revision 65138

Fix gcc warning in wxDataViewListCtrl::ItemToRow().

2010-07-28 20:22 VZ, revision 65131

Fix wxOSX wxTextCtrl refactoring of r65129. Add the Init() calls in wxNSTextFieldControl ctors forgotten the last time. Closes #12284.

2010-07-28 20:22 VZ, revision 65130

Allow non-modal windows shown from modal dialogs to work in wxOSX. Use kCGUtilityWindowLevel for such windows instead of kCGFloatingWindowLevel and also call setWorksWhenModal:YES. Closes #12187.

2010-07-28 13:27 VZ, revision 65129

Add association between wxOSX wxTextWidgetImpl and wxTextEntry. This allows to always find the correct wxTextEntry to use in the implementation of text-related widgets without using any casts. Notably, the wrong up-cast of wxWindow to wxTextCtrl in wxNSTextFieldControl::controlAction() which resulted in a crash when the window was actually a wxComboBox can now be fixed. Closes #12284.

2010-07-28 13:26 VZ, revision 65128

Correct the check for MRU menu items range. The last id of the range if offset by the first one by the number of items in the menu, not the base id of the file history menu. Closes #12141.

2010-07-28 13:26 VZ, revision 65127

Correct id in the wxRichTextCtrl::OnUndo() documentation. wxID_PASTE was wrongly used instead of wxID_UNDO. Closes #12278.

2010-07-28 13:26 VZ, revision 65126

Return after activating already opened document in wxDocManager. Add accidentally omitted "return" in wxDocManager::CreateDocument() to prevent recreating already opened documents. Closes #12277.

2010-07-28 13:26 VZ, revision 65125

Fix harmless float to int conversion warnings in wxOSX build. Add casts to truncate the values as the code intended anyhow.

2010-07-28 13:26 VZ, revision 65124

Correct format specifiers used to show wxIPV4address. wxIPV4address::IPAddress() used %lu to show each of (byte-sized) IPv4 address components for some reason, which resulted in asserts about format specifier mismatch. Fix this by just using %u. Closes #12272.

2010-07-28 12:31 JWE, revision 65123

finished the code. Now juste finished the documentation

2010-07-27 23:45 VS, revision 65122

Add index-based selection functions to wxDataViewListCtrl. These are convenience functions for work working with indexes, for consistency with other wxDataViewListCtrl methods.

2010-07-27 23:45 VS, revision 65121

Add item<->row mapping helpers to wxDataViewListCtrl. These are commonly needed when using wxDataViewListCtrl, yet they were only available in wxDataViewIndexListModel.

2010-07-27 23:45 VS, revision 65120

Created the model in wxDataViewListCtrl::Create(). It was totally unexpected that construction through the ctor behaved differently from Create(). Also, the behavior now actually matches documentation.

2010-07-27 23:45 VS, revision 65119

Allow empty message in wxRearrangeDialog. If the message is empty, don't reserve space for it at the top; instead, just make the dialog a bit smaller.

2010-07-27 19:53 JWE, revision 65118

add a sample for auto completon. Work not

2010-07-27 19:04 RR, revision 65117

Let wxMSW report wxDataViewCustomRenderer::LeftClick() report the click position relative to the inner cell, not the window - as in wxGTK, fixes #12270: wxDataViewCustomRenderer::LeftClick behaves differently under wxGTK and wxMSW

2010-07-27 12:15 JWE, revision 65116

add some const and update autoSelection methods

2010-07-27 11:21 FM, revision 65115

mention wxSystemSettings::GetColour() in wxWindow::SetBackgroundColour() docs

2010-07-26 12:28 FM, revision 65114

add a spacer in case the progress dialog is built without labels (elapsed/estimated/remaining) time nor buttons

2010-07-26 12:08 VZ, revision 65113

No changes, just use traditional English name for Mozart's work. In English, this work (K. 525) is always referred to with its indefinite article included and its appearance without it is jarring.

2010-07-26 05:51 MYA, revision 65112

HitTest and Image dialog works well with floating images

2010-07-25 21:45 RR, revision 65111

Minor correction to smart pointer docs

2010-07-25 21:27 RR, revision 65110

Tried to make wxDataViewModel docs clearer

2010-07-25 20:39 VZ, revision 65109

Only define WXUSINGDLL in multilib builds for wxscintilla.lib. In monolithic builds wxscintilla is linked directly into the one and only wx DLL and doesn't need to import anything from it, WXUSINGDLL is only needed in multilib case when wxscintilla is part of wxCore DLL and does need to import symbols (e.g. wxQsort() used by wxVector) from wxBase one.

2010-07-25 20:39 VZ, revision 65108

No real changes, just rearrange wxCursor::InitFromImage() in wxGTK. Make it more clear that the function deals with two cases by using if/else instead of if+return. Also use smart wxGtkObject pointer instead of calling g_object_unref() manually.

2010-07-25 20:39 VZ, revision 65107

Correct creation of the mask for wxImage cursors in wxGTK. The code created the monochrome bitmap used by wxCursor(wxImage) ctor incorrectly resulting in bad cursor appearance. Use the right values for foreground and background pixels (which are inversed compared to naive expectations) to fix this. Closes #11989.

2010-07-25 15:55 FM, revision 65106

make POSIX and Windows implementation of wxThread::Run() coherently assert when trying to Run() a thread twice; add a test for it.

2010-07-25 15:34 JS, revision 65105

Fix VC++ compile error

2010-07-25 15:23 FM, revision 65104

fix double documentation for the same wxLogTrace() functions

2010-07-25 13:53 FM, revision 65103

refactor wxLog documentation moving verbose parts to the wxLog overview and grouping similar wxLog functions together

2010-07-25 13:42 VZ, revision 65102

Build fix: don't test for __WXMSW__ using #if in wx/defs.h. __WXMSW__ should be tested using #ifdef but in fact there doesn't seem to be any need to test for it at all here as __CYGWIN__ implies __WXMSW__ anyhow. Closes #12266.

2010-07-25 13:26 FM, revision 65101

do not add files in wxDebugReport::AddFile if copy failed

2010-07-25 13:24 FM, revision 65100

small doxygen warning fixes

2010-07-25 13:05 FM, revision 65099

preserve doxygen 1.6.x look also with doxygen 1.7.x: it produces more readable navigation tabs

2010-07-25 12:36 JMS, revision 65098

Refactored validation of numeric properties (wxIntProperty, wxUIntProperty and wxFloatProperty). They now use (basically) a single template function instead of three separate ones.

2010-07-25 11:54 FM, revision 65097

wxGraphics* classes are all ref-counted

2010-07-25 11:54 FM, revision 65096

add tables of events related to wxAuiManagerEvent

2010-07-25 11:52 FM, revision 65095

no real change: just follow wx typical commenting style and separe // from the following characters with a space

2010-07-25 11:30 JMS, revision 65094

Added wxVariant::Convert() implementations for wx(U)LongLong_t, so that wxVariant can be converted to native 64-bit integer types on the same terms as it is converted to other numeric types (useful in e.g. template functions)

2010-07-25 11:23 JMS, revision 65093

Set 'Min' attribute for the sample wxFloatProperty

2010-07-25 11:19 JMS, revision 65092

Use default wxPropertyGrid validation failure behavior in the sample

2010-07-25 09:39 JMS, revision 65091

Make SetFont() public (fixes #9641)

2010-07-25 02:19 VZ, revision 65090

Only define WXUSINGDLL in DLL configurations when building wxscintilla. WXUSINGDLL shouldn't be defined in static build configurations, this results in warnings and might explain errors in MinGW build. Closes #11966.

2010-07-25 02:18 VZ, revision 65089

No real changes in makefile but avoid repetitious in bakefile. Collect all preprocessor options needed for Scintilla compilation in wxscintilla_cppflags template and use for both Scintilla compilation itself and for the wx libraries using it. The order of flags in the makefiles has changed but they are still the same except for Borland makefile which now includes Borland-specific warning suppression option everywhere it's needed and not just in multilib targets.

2010-07-25 02:18 VZ, revision 65088

No changes, just remove hard TABs and fix a typo. Separate trivial changes from subsequent commits.

2010-07-25 02:18 VZ, revision 65087

Update the version tech note to remind to rebake. Insist on the fact that version.bkl (which is not updated by the script) must be updated and makefiles rebaked after any version change.

2010-07-25 02:18 VZ, revision 65086

Upgrade version in the bakefiles to 2.9.2 as well and rebake. Rebake makefiles to update the name used for the shared libraries to reflect the new version.

2010-07-25 00:35 JWE, revision 65085

add autoselect feature. To finished connect it in wxTextCtrl and combobox.

2010-07-24 19:43 VZ, revision 65084

Remove asserts in wxMSW::wxTLW::SetIcons() and always set some icon. In practice having the icons of the exact size for all versions of Windows is not always possible, there are just too many of them. So set the icon of the most suitable size if no exact match is found instead of asserting in this case. See #11146.

2010-07-24 17:32 MW, revision 65083

Fix buildbot build 'Linux i386 wxGTK stable STL' building wrong branch.

2010-07-24 17:30 RR, revision 65082

Make calls wxDataViewModel::ItemDeleted() etc. non-virtual as they are not supposed to be overridden

2010-07-24 16:59 PMO, revision 65081

Removed the need to overwrite/implement wxQtEventForwarder::GetEventHandler

2010-07-24 15:09 PMO, revision 65080

Added TODO marker

2010-07-24 14:27 VZ, revision 65079

Don't show empty sizers. Revert the change of r44514 and do hide the empty sizers. Code relying on them being shown/positioned should use wxRESERVE_SPACE_EVEN_IF_HIDDEN flag but assuming it by default results in completely unexpected layouts, e.g. still using margins around a sizer with hidden window if it contains an empty sub-sizer. Closes #11426.

2010-07-24 14:27 VZ, revision 65078

Postpone showing the notebook pages under wxOSX/Cocoa. Showing the selected notebook page immediately when it's selected can result in the top level parent of the notebook being shown prematurely, so don't do this until the notebook itself is shown. Closes #12227.

2010-07-24 14:27 VZ, revision 65077

Add EVT_RIBBONGALLERY_CLICKED event. This event is sent whenever an item is clicked, even if it's already selected, unlike the existing EVT_RIBBONGALLERY_SELECTED. Closes #12128.

2010-07-24 14:27 VZ, revision 65076

Remove hard limit on number of pages in wxHtmlPrintout. This seems to be a leftover from an old version in which the page breaks positions were stored in a fixed size array. As the code uses a dynamic array now there doesn't seem to be any reason to impose any limit on the number of pages and some people did run into the old 999 pages limitation apparently. Closes #11159.

2010-07-24 13:56 VZ, revision 65075

Remove selection showing code from the grid sample. This code is broken as it doesn't always show the selection correctly and doesn't handle rows-or-columns selection mode at all. Until we can fix it properly it's better to not have it at all so that at least people avoid copying the wrong code into their own programs. Closes #12195.

2010-07-24 13:56 VZ, revision 65074

Document wxGridSelectRowsOrColumns selection mode. See #12195.

2010-07-24 13:49 VZ, revision 65073

Add test for a custom cursor to the image sample. Load a cursor from PNG file to check that it appears as expected. See #11989.

2010-07-24 13:23 VZ, revision 65072

Fix AUI compilation without PCH after recent changes. r65061 broke PCH-less compilation as it used wxClientDC without (forward) declaring it. Fix this and also correct wxAuiPaneInfo forward declaration.

2010-07-24 01:44 VZ, revision 65071

Update BUILD and DEBUG_{FLAG,INFO} documentation for wxMSW. The documentation was completely out of date and hence very misleading. Closes #12244.

2010-07-24 01:44 VZ, revision 65070

Remove mentions of wxUSE_ODBC from documentation. This option doesn't exist any more in 2.9. See #12244.

2010-07-24 01:33 VZ, revision 65069

Implement wxAuiDefaultTabArt::Clone() using its copy ctor. Compiler-generated copy ctor works just fine for this class, there is really no reason to reimplement it, especially wrongly (as it loses many and even most of the fields), in Clone(). Closes #11388.

2010-07-24 01:33 VZ, revision 65068

Ensure that wxAuiNotebook::SetArtProvider() always does set it. It used to only set the provider if the height of the tabs defined by the new provider was different from the one used by the old one, otherwise the call was optimized away. Fix this by explicitly setting the art provider for all tabs in SetArtProvider() itself if UpdateTabCtrlHeight() didn't do it. Closes #9738.

2010-07-24 01:33 VZ, revision 65067

Fix waiting for IO on UDP sockets. We mistakenly considered them closed because they were not connected but UDP sockets don't have to be -- unlike TCP ones. Closes #11384.

2010-07-24 01:33 VZ, revision 65066

Fix MSW compilation with wxUSE_DEFERRED_SIZING==0. Add checks for wxUSE_DEFERRED_SIZING around the code using wxWindow::m_pending{Size,Position}. Closes #11348.

2010-07-24 01:33 VZ, revision 65065

Just call wxDocManager::CloseDocument() instead of duplicating it. No real changes but avoid making the document deletion code even more opaque by duplicating the code already existing as a function elsewhere. Closes #11364.

2010-07-24 01:33 VZ, revision 65064

No changes, just slightly improve docview sample code. Call the base class version of OnClose() in the derived classes instead of duplicating it. Closes #11363.

2010-07-24 01:33 VZ, revision 65063

Propagate wxHtmlWindow layout direction to the wxDC it uses. While wxHtmlWindow doesn't support mixing LTR and RTL contents we can indeed try to make it render pure RTL stuff correctly by setting up the wxDC used for drawing accordingly. Closes #1988.

2010-07-24 01:33 VZ, revision 65062

Add support for CP-866 encoding to wxEncodingConverter. Recognize yet another Cyrillic encoding, a DOS OEM one. Closes #2318.

2010-07-24 01:33 VZ, revision 65061

Add support for auto-orientable toolbars to AUI. Allow wxAUI to change the toolbar orientation depending on where is it docked. It is also now possible to specify wxAUI_TB_VERTICAL or HORIZONTAL to force the toolbar to be always oriented in the given sense and to prevent it from being docked at the sides incompatible with it. Closes #11712.

2010-07-24 01:33 VZ, revision 65060

Don't assert in wxDataViewCtrl::ItemDeleted() if item doesn't exist. It seems that it might be valid to delete the items that the GUI control doesn't know anything about, e.g. this could happen when deleting a child of a collapsed node in a tree model. So remove the asserts which were triggered in this case as there doesn't seem to be any way to avoid them with the current code. Closes #11802.

2010-07-24 01:32 VZ, revision 65059

Store the result of wxWindow::NewControlId() in wxWindowIDRef. The result of calling NewControlId() must be assigned to wxWindowIDRef to be accounted for correctly, otherwise the id was marked as free while a reference to it still existed resulting in asserts in id management code when we attempted to reuse it. Closes #11604.

2010-07-24 01:32 VZ, revision 65058

Allow passing multi-line strings to wxDC::DrawText(), even under MSW. Native wxMSW wxDC::DrawText() implementation doesn't support multi-line strings so use the generic wxDC::DrawLabel() code instead. Drawing multi-line strings now works at least in wxGTK and wxMSW, to be tested for the other platforms. Closes #12239.

2010-07-24 01:32 VZ, revision 65057

Fix Cygwin 1.7 build. Avoid using Cygwin sockets as our code assumes that we use WinSock API under Windows currently (this might change in the future) by defining __USE_W32_SOCKETS. Use new, safer and more efficient cygwin_conv_path() function. Use t_str() instead of fn_str() with Windows API taking file names, under Cygwin they are different and using fn_str() is incorrect. A few other minor fixes.

2010-07-24 01:32 VZ, revision 65056

Added wxFONTENCODING_EUC_KR alias for wxFONTENCODING_CP949. Although CP949 might not be exactly the same as EUC-KR it appears to be similar enough and having a more familiar name for it is helpful for people unfamiliar with Windows nomenclature.

2010-07-24 01:32 VZ, revision 65055

Define colours for all wxSYS_COLOUR_XXX values in wxUniv. Ensure that we have enough elements in the array used by wxSystemSettings::GetColour() in wxUniv to avoid the assert which happened when e.g. wxSYS_COLOUR_LISTBOXTEXT was requested from it. This resulted in an infinite stream of asserts and a crash when trying to use wxTreeCtrl in wxUniv. Closes #11702.

2010-07-24 01:32 VZ, revision 65054

Fix mismatches between format strings and arguments. This corrects the asserts which are now triggered when the actual arguments don't match the format string. Closes #12265.

2010-07-23 13:56 VZ, revision 65053

Replace _T() with wxT() in regex code. This fixes compilation with SunCC for which _T() is not defined by default. Closes #12261.

2010-07-23 12:33 SJL, revision 65052

Update GridTestCase and TextCtrlTestCase to use the wxColour helper functions.

2010-07-23 12:00 SJL, revision 65051

Add test for item formatting in wxListCtrl and wxListView. Also move the helper functions from ColourTestCase to a separate pair of files so they can be reused by other tests that use wxColour.

2010-07-23 08:58 SC, revision 65050

fixes #12258

2010-07-22 22:09 SJL, revision 65049

Add a test to ListBaseTestCase testing that EnsureVisible works correctly.

2010-07-22 21:32 SJL, revision 65048

Add simple test for assigning image lists to wxTreeCtrl.

2010-07-22 16:36 SJL, revision 65047

Add SpinCtrlDoubleTestCase. This is based heavily off the existing wxSpinCtrl tests and adds extra tests for the increment and digit functions.

2010-07-22 15:42 VZ, revision 65046

Fix harmless unused parameter warnings in wxDEBUG_LEVEL==0 build. These warnings were harmless as they concerned the parameters used inside wxASSERTs only but there were hundreds if not thousands of them in wx/strvararg.h alone so all the rest of build output was completely lost in them.

2010-07-22 15:42 VZ, revision 65045

Make --disable-debug[_flag] configure option really work. We never defined wxDEBUG_LEVEL as 0 meaning that debugging code in wxWidgets was always enabled, even if --disable-debug_flag or --disable-debug (which implies it) was given. Fix this now by adding -DwxDEBUG_LEVEL=0 to CPPFLAGS if necessary.

2010-07-22 15:42 VZ, revision 65044

Fix compilation of wxSpinCtrlGenericBase when PCH are not used. This fixes PCH-less compilation broken by r65043. Closes #12259 (again).

2010-07-22 14:16 VZ, revision 65043

Fix explicitly setting focus to generic wxSpinCtrl. The control itself can't accept focus as its window is disabled so set the focus to its text part instead if SetFocus() is explicitly called. Closes #12259.

2010-07-22 14:16 VZ, revision 65042

Update wxSpinCtrlDouble::m_digits in its SetDigits(). We need to update the internally stored information about the number of digits we use and not just update the control appearance accordingly. Also don't do anything at all when the number of digits didn't really change. Closes #12260.

2010-07-22 14:09 VZ, revision 65041

Document wxVector<T>::swap(). Closes #12253.

2010-07-22 14:09 VZ, revision 65040

Add wxItemContainer::DetachClientObject() and use it in wxRearrangeList. Add a method to detach the item from an item control without deleting it and use it in wxRearrangeList to correctly swap object client data without deleting the pointers in the process. Closes #12201.

2010-07-22 14:09 VZ, revision 65039

Remove executable bits from plist files. These files probably don't need to be executable.

2010-07-22 14:09 VZ, revision 65038

Replace 2.9.1 version with 2.9.2. Also update the inc_release script to take src/wxWindows.xcodeproj into account.

2010-07-22 14:08 VZ, revision 65037

Don't mention non-existent setup.exe in wxMSW installation notes. Also expand setup.h section.

2010-07-22 14:08 VZ, revision 65036

Update the tech note about making new releases with more information. Mention other release-related things and not only how to create the release files.

2010-07-22 14:08 VZ, revision 65035

Explain better relationships between various TLW styles. In particular mention that wx{MINIMIZE,MAXIMIZE,CLOSE}_BOX can't be used without wxCAPTION and that wxSYSTEM_MENU ought to be used with it too. Closes #12246.

2010-07-21 16:20 RAW, revision 65034

wxRichMessageDialog implementation.

2010-07-21 16:19 RAW, revision 65033

Made some wxMessageDialog methods non-virtual and a minor fix.

2010-07-21 15:56 CE, revision 65032

script for building chm docs and wxMSW exe

2010-07-21 15:08 RAW, revision 65031

MSW task dialog implementation for wxMessageDialog.

2010-07-21 12:47 SJL, revision 65030

Add SpinCtrlTestCase. Adds tests for arrow key events, wrapping, range setting and value setting.

2010-07-21 11:37 SJL, revision 65029

Add a couple of missing bakefile entries.

2010-07-21 11:35 SJL, revision 65028

Add SliderTestCase. This includes tests for various key events and getting and setting value, range and line and page sizes.

2010-07-20 17:14 SJL, revision 65027

Split out most ListCtrlTestCase tests into a new ListBaseTestCase so they can be used to test wxListCtrl and wxListView. Add the new ListViewTestCase and extra tests for selection and focus.

2010-07-20 15:32 JWE, revision 65026

Correct change fill char bug

2010-07-20 15:08 JTN, revision 65025

Event loop now generates wxIdleEvent's and processes pending events when idle

2010-07-20 13:37 JTN, revision 65024

wxTopLevelWindow::SetIcons()

2010-07-20 13:37 JTN, revision 65023

Use colour-masks when converting images

2010-07-20 13:05 SJL, revision 65022

Remove duplicate test in ListCtrlTestCase.

2010-07-20 11:27 SJL, revision 65021

Update GridTestCase to take account of the fact that double right clicking is not supported with native headers.

2010-07-20 11:11 SJL, revision 65020

Minor tidy of RearrangeListTestCase, by keeping the pointers as wxClientData we remove the need to cast them later.

2010-07-19 21:23 SJL, revision 65019

Add test for wxLogTextCtrl in existing TextCtrlTestCase.

2010-07-19 19:58 JTN, revision 65018

Better argc/argv handling

2010-07-19 14:41 JWE, revision 65016

add combobox common

2010-07-19 14:09 JWE, revision 65015

optimize my code and add unitary tests. correct the "len" bug.

2010-07-19 10:24 VZ, revision 65014

Tag 2.9.1 release.

2010-07-19 05:36 RAW, revision 65013

Changed wxStdDialogButtonSizer to properly layout Yes/No buttons under GTK2.

2010-07-19 05:33 RAW, revision 65012

Missing header from previous commit.

2010-07-18 18:32 PMO, revision 65011

Introducing wxQtSignalForwarder and fixing non-PCH build

2010-07-18 15:39 VZ, revision 65010

Correct printf parameter mismatch in wxWndProc. LPARAM is a 64 bit type in Win64 and doesn't match the size expected by "%l" printf format specifier. Instead of showing it as a 32 bit number in 32 bit build and 64 bit in 64 bits, just truncate it to the lower 32 bits in any case for now, this should be enough for the diagnostic messages. Closes #12242.

2010-07-18 15:39 VZ, revision 65009

Update release notes file for 2.9.1 release. Mention 2.9.1-specific stuff; remove obsolete information; update some URLs.

2010-07-18 13:58 VZ, revision 65008
  • D /wxWidgets/tags/WX_2_9_1

Remove the prematurely made 2.9.1 release tag. It will be recreated to point to the new trunk soon.

2010-07-18 13:55 VZ, revision 65007

Update AUI frame capture when it changes. Set the updated label in wxAuiManager::Update() to ensure the labels stored two places are always in sync.

2010-07-18 13:53 VZ, revision 65006

Ensure that validators work even in presence of pushed event handlers. Call pre-processing hooks for each of the handlers in the chain and not only the first one. This ensures that a validator (which is invoked during the pre-processing stage) of a window is used even if a window has an event handler pushed on top of it. Closes #12177.

2010-07-18 13:53 VZ, revision 65005

Don't reuse the same event object for multiple events in wxGTK. The old code simply called SetEventType() to change the type of the event and called HandleWindowEvent() again with it. This was incorrect as the event was modified after being processed the first time, notably its WasProcessed() flag was set and so wxApp::FilterEvent() wasn't called when it was being processed the second time. In practice this meant that FilterEvent() was never called for wxEVT_CHAR events -- for which it's nevertheless very useful to have as it allows to implement application-wide keyboard processing. Also refactor the code to avoid duplication, exactly the same event sending code was used in gtk_window_key_press_callback() and gtk_wxwindow_commit_cb(). Extract it now in a private SendCharHookAndCharEvents() function.

2010-07-18 13:52 VZ, revision 65004

Don't run printf("%n") tests when _FORTIFY_SOURCE >= 2. This prevents the test from aborting on Linux distributions which ship with "fortified" version of gcc, such as recent Ubuntu, Fedora and Gentoo. Closes #12240.

2010-07-18 10:51 PMO, revision 65003

Renamed 'GetEventReceiver()' to 'GetEventHandler() const' and 'receiver' to 'handler'

2010-07-18 08:16 SC, revision 65002

organizing code, adding offset correction for update region when non native control borders are used, fixes #12229

2010-07-17 20:41 SJL, revision 65001

Rebake project files

2010-07-17 20:29 SJL, revision 65000

Merge in from trunk r64200 to r64999

2010-07-17 18:18 VZ, revision 64999

Add a script for finding all files using native eol style in svn. This is a companion script for build/tools/git-make-release but can also be useful independently.

2010-07-17 18:17 VZ, revision 64998

Add scripts to make releases from a git-svn repository. This can't replace the official release script yet as not everybody uses git but they are much more convenient to use than the old ones for me and also faster so I'm adding them to svn in case they can be useful to others.

2010-07-17 17:24 VZ, revision 64997

Create tag WX_2_9_1

2010-07-17 16:55 VZ, revision 64996

Really set svn:eol-style property. The last commit used incorrect property name, remove the erroneous property and set the correct svn:eol-style one.

2010-07-17 16:44 MYA, revision 64995

Basic floating feature comes

2010-07-17 15:46 VZ, revision 64994

Set EOL style property to "native" for more files. Some files were using CR LF even in Unix checkouts unnecessarily, fix this.

2010-07-17 13:55 VZ, revision 64993

Don't redefine wxNO_EXCEPTIONS in wx/except.h if it's already defined. This symbol can be defined on compiler command line already, don't redefine it in this case to avoid a warning. Closes #12235.

2010-07-17 10:40 RR, revision 64992

Document methods indicating what kind of client data is associated with an item container (HasClientData() etc.)

2010-07-17 08:08 SC, revision 64991

removing early init, fixes #12231

2010-07-16 16:41 MYA, revision 64988

Complete LayoutFloat

2010-07-16 14:23 SJL, revision 64987

Add a pause to the wxBitmapToggleButton tests as the control is not very responsive to rapid successive clicks.

2010-07-16 13:39 VZ, revision 64986

Use -headerpad_max_install_names option for fractal demo under OS X. Without it, changing install name fails which probably makes the demo unrunnable and also prevents the Buildbot build from succeeding.

2010-07-16 12:31 RR, revision 64985

Don't pass NULL to wxDir, rather hop over when trying to find dir with translation

2010-07-15 22:32 JTN, revision 64984

Fixed some destructors. Apps now exit cleanly except for parameters deletion

2010-07-15 21:56 JTN, revision 64983

Destructors for wxWindow and derivates

2010-07-15 20:53 JTN, revision 64982

wxMessageDialog implementation

2010-07-15 20:28 JTN, revision 64981

Split Qt's wxDialog implementation to a separate file (needed for compiling)

2010-07-15 19:37 JTN, revision 64980

wxDialog implementation

2010-07-15 18:37 SJL, revision 64979

Add tests for wxBitmapComboBox. This is especially important as on some platforms it is not a wxComboBox derivative.

2010-07-15 18:36 JTN, revision 64978

Implemented all missing functions in 'utils'. wxGetKeyState still needs a platform-specific implementation as there is no Qt equivalent

2010-07-15 16:54 JTN, revision 64977

wxWindow::DoPopupMenu implementation

2010-07-15 16:06 JTN, revision 64976

More window event handlers

2010-07-15 15:38 SJL, revision 64975

Add tests for wxBitmapToggleButton, based on the wxToggleButton tests.

2010-07-15 15:34 SJL, revision 64974

Use DestroyChildren to properly destroy the wxGauge.

2010-07-15 14:29 SJL, revision 64973

Add set of tests for wxGauge. This includes tests for direction, range and value.

2010-07-15 10:07 JWE, revision 64972

tab behavior is ok, now finished sample verifie unit test, and update sample.

2010-07-15 01:06 VZ, revision 64971

Remove dllexport declaration from a nested struct. Try a blind fix for VC6 linking problems in DLL build related to wxFileTypeInfo ctor. This is unlikely to fix it but DLL-exporting a nested struct which, moreover, has only inline methods, seems unnecessary and it just might help too.

2010-07-15 00:43 VZ, revision 64970

Don't compile platform-specific methods when using wxUniversal. Various wxTextEntry::GetEditXXX() methods shouldn't be used in wxUniv build.

2010-07-14 17:57 SJL, revision 64969

Add set of tests for wxToggleButton.

2010-07-14 17:48 SJL, revision 64968

USe DestroyChildren to properly destroy the wxRadioBox.

2010-07-14 16:59 MYA, revision 64967

Add more helper functions for layout floats

2010-07-14 16:52 VZ, revision 64966

Don't use wxRendererNative::DrawFocusRect() under Mac. This function doesn't do the right thing there, it draws the focus border as it's drawn around controls such as buttons. This border overflows the item rectangle and results in garbage remaining on screen when selection changes. See #12229.

2010-07-14 16:52 VZ, revision 64965

Use correct format specifiers in wxOSX/Carbon font caching code. The specifiers used didn't match the actual argument types resulting in the asserts from the new wxPrintf() code. Correct them to match the real types. Closes #12186.

2010-07-14 16:45 SJL, revision 64964

Update some of the comments in ButtonTestCase and remove an unnecessary include.

2010-07-14 16:38 SJL, revision 64963

Add extra tests to wxTreebook for adding and inserting pages, expanding them and deleting them.

2010-07-14 14:08 JTN, revision 64962

wxTimer implementation (wxQtTimerImpl)

2010-07-14 13:23 SJL, revision 64961

Add set of tests for wxRadioBox.

2010-07-14 13:20 VZ, revision 64960

Suppress warnings about double to int truncation in wxHTML code. Actually it's not totally clear if truncation or rounding was intended here but when in doubt preserve the old code semantics.

2010-07-14 13:18 JTN, revision 64959

Save window style

2010-07-14 13:18 JTN, revision 64958

Emulate enter and leave events while dragging

2010-07-14 13:12 VZ, revision 64957

Generate key events in generic wxDataViewCtrl implementation. Forward wxEVT_CHAR events from wxDataViewMainWindow to the parent window so that they could be processed at wxDataViewCtrl level. Call DisableKeyboardScrolling() to ensure that cursor movement keys are not always eaten by the parent window but can be used for the navigation in the control if they're not processed by user. Add a test keyboard handler to the dataview sample to check that handling keys in wxDataViewCtrl does work.

2010-07-14 13:11 VZ, revision 64956

No changes, just use better names in wxDataViewCtrl sample. ID_DELETE_MUSIC button deleted selected items so use ID_DELETE_SEL and OnDeleteSelected() handler for it instead.

2010-07-14 11:54 SJL, revision 64955

Add set of tests for wxCheckBox.

2010-07-14 11:33 JWE, revision 64954

add doc and remove useless methods.

2010-07-14 10:36 SJL, revision 64953

Also use existing wxGrid tests with native headers where applicable.

2010-07-13 22:11 JTN, revision 64952

wxDC: Draw icons and arcs

2010-07-13 21:01 JTN, revision 64951

wxMemoryDC: Extra check to make sure a bitmap is valid as a painting target

2010-07-13 20:39 JTN, revision 64950

Save which widget has the grab

2010-07-13 20:24 JTN, revision 64949

Use mouse position relative to widget (not global)

2010-07-13 20:22 JTN, revision 64948

Proper wxClientDC implementation (temporary store to a QPicture and paint in the next paintEvent)

2010-07-13 19:00 JTN, revision 64947

Mouse events handling

2010-07-13 17:54 JMS, revision 64946

wxArrayStringProperty::m_delimiter default value was missing. Also cleaned up relevant string formatting.

2010-07-13 16:13 VZ, revision 64945

Really fix interactive output test compilation in ANSI build. Use a temporary wxString to make sure the code compiles in both ANSI and STL versions too.

2010-07-13 16:13 VZ, revision 64944

Compilation fix for wxUSE_FONTENUM==0 case. Fix another error in minimal wxGTK buildbot build.

2010-07-13 15:29 VZ, revision 64943

Fix file paths in the header comments. Consistently use only "wx/foo.h" instead of "include/wx/foo.h" ("include" is always implicit anyhow). Also use "src/osx" instead of "src/mac" for the files in this directory. See #12165.

2010-07-13 15:29 VZ, revision 64942

Fix a few minor typos in comments. See #12165.

2010-07-13 15:29 VZ, revision 64941

Globally rename all occurrences of "XCode" to "Xcode". The official spelling of the Apple IDE doesn't capitalize "C" so neither should we. See #12165.

2010-07-13 15:29 VZ, revision 64940

Globally use "wxWindows licence" consistently. Use "wxWindows licence" and not "wxWidgets licence" (the latter doesn't exist) and consistently spell "licence" using British spelling. See #12165.

2010-07-13 15:27 VZ, revision 64939

Remove hard TABs from 3rd party files in src directory. This is necessary to be able to commit upcoming changes to them.

2010-07-13 14:59 SJL, revision 64938

Add test for wxItemContainer::Set().

2010-07-13 14:38 VZ, revision 64937

Send right and double click events in wxGrid when using native header. Previously only simple left click event was sent in this case, now also generate right and double click ones. Closes #12156.

2010-07-13 14:19 SJL, revision 64936

Stop deriving base test classes from CppUnit::TestCase. This means we can derive actual test classes from multiple bases, for example ComboBoxTestCase from both TextEntryTestCase and ItemContainerTestCase. We do now have to derive every class that actually performs tests from CppUnit::TestCase however.

2010-07-13 13:36 VZ, revision 64935

Initialize wxGrid::m_batchCount before using it. Adjust the initialization order in wxGrid::Init() to avoid using uninitialized variables. Closes #12226.

2010-07-13 13:33 VZ, revision 64934

Fix wxMotif compilation with g++ 4.4. wxMenu::CreateMenu() parameter called "index" was mistakenly wrapped in WXUNUSED() making it invisible inside the function body and the (BSD string function) index() was used instead. This somehow compiled before but not with g++ 4.4. In any case, the code was wrong even when it did compile. Remove WXUNUSED() from the parameter and also rename it to avoid clashes with (semi-)standard function which can also be defined as macro on some systems.

2010-07-13 13:33 VZ, revision 64933

Revert the wxDataObjectComposite checks added by r58549. The checks for data format duplication in wxDataObjectComposite::Add() added by this revision were broken and didn't actually check anything. It also doesn't seem clear why do we need them at all so simply remove them. See #10437 for more details. This also closes #12113 as a side effect because the messages are not present any more.

2010-07-13 13:32 VZ, revision 64932

Romanian translations update from Catalin.

2010-07-13 12:46 SJL, revision 64931

Add that wxList::ClearAll() sends an event to the documentation.

2010-07-13 12:31 SJL, revision 64930

Tidy code formatting in wxRichTextEvent documentation.

2010-07-13 12:17 SJL, revision 64929

Add event types to event documentation for wxListCtrl as it makes it easier for users of Bind and Connect. It also makes it consistent with wxGrid documentation.

2010-07-13 12:07 SJL, revision 64928

Add event types to event documentation for wxTreeCtrl as it makes it easier for users of Bind and Connect. It also makes it consistent with wxGrid documentation.

2010-07-13 11:20 SJL, revision 64927

Clarify documentation for wxTreeCtrl and wxListCtrl as middle click events are only sent by the generic control. Fixes #12175.

2010-07-13 11:13 SJL, revision 64926

Remove unnecessary 'or' in wxAnimation documentation.

2010-07-13 11:02 SJL, revision 64925

Tidy links in wxArtProvider documentation. One of the existing links did not work correctly as the full stop at the end of the sentence was treated as part of the link.

2010-07-13 00:50 VZ, revision 64924

Only compile wxStd{Input,Output}Stream if wxUSE_STREAMS==1. This fixes compilation of minimal wxWidgets build.

2010-07-13 00:50 VZ, revision 64923

Compilation fix for wxAnyTestCase in ANSI-only build. Comparison of wxAny with wide strings is not available in this case.

2010-07-13 00:50 VZ, revision 64922

Compilation fix for "interactive" test in wxUSE_STL=1 build. wxString is not convertible (even explicitly) to char* in this case.

2010-07-13 00:50 VZ, revision 64921

Blind VC6 compilation fix for VarArgTestCase. VC6 tries to use inaccessible copy ctor of the variable passed to wxString::Format() for some reason. Just disable the test for it, it's not worth trying to understand this compiler, and our code gets tested with other ones anyhow.

2010-07-13 00:50 VZ, revision 64920

Disable test of format string with "%n" for MSVC 8+. MSVC 8 and later disables support for "%n" in printf() by default. And although it provides a function to re-enable support for it, it doesn't seem to work for the functions we use. Just disable the test which results in CRT assert when using this compiler.

2010-07-13 00:50 VZ, revision 64919

Don't use dangling pointers in wxWindowMSW::HandleMenuChar(). We used a pointer into the result of wx_str() for a temporary string which was clearly wrong. Store the string we're manipulating to ensure that this doesn't happen. This in particular fixes keyboard navigation in the menus with owner-drawn items.

2010-07-13 00:50 VZ, revision 64918

Remove scroll units duplication in wxGrid to fix setting them. For some unknown reason wxGrid decided to store its scroll units in its own m_scrollLine[XY] variables instead of just using the base wxScrollWindow class m_[xy]ScrollPixelsPerLine ones. And, of course, the two could get out of sync because wxGrid didn't update the base class version correctly. Just don't duplicate these values at all and use the base class fields. This makes the code simpler and also fixes changing the size of the scroll units. Closes #12221.

2010-07-13 00:50 VZ, revision 64917

Make Home and End keys work as expected in wxGrid. Go to the first/last cell of the current row when they're pressed instead of starting the editor. Closes #12222.

2010-07-13 00:50 VZ, revision 64916

Fix text updated event generation in wxGTK wxComboBox. The changes (cosmetic renaming, no less) in r64436 broke unit tests checking for wxComboBox event generation because the extra text updated events were not suppressed correctly any longer because wrong {Enable,Disable}Events() were called instead of the correct GTK{Enable,Disable}Events(). Fix and slightly improve the code by disabling the events in overridden EnableTextChangedEvents() itself and reuse its code from GTK-specific event enabling functions.

2010-07-13 00:50 VZ, revision 64915

Fix wxToggleButtonXmlHandler compilation with wxUniv. Remove nonsensical code involving operator ?: with wxString and wxBitmap operands. No idea what was the intention behind it but it failed to even compile in wxX11 build so the new version (which does compile) can't be worse.

2010-07-13 00:50 VZ, revision 64914

Remove 2.9.0 build slaves, they're not needed any more. We should restore them the next time we create a release branch but for now these builds are not needed and just clutter the build bot UI.

2010-07-13 00:49 VZ, revision 64913

Replace remaining references to 2.9.0 with 2.9.1. Also update the tech note listing the places that need to be changed when a new version is released and the script which updates them automatically. Finally update a couple of copyright years. Closes #12185.

2010-07-12 22:51 JWE, revision 64912

Simpify wxComboBox code.

2010-07-12 21:46 JWE, revision 64911

add tab fetaures but it is a problem, I need to remove the "default" selection. I have simplifie and optimize my code. I have resolved invalid problem. Now I have to update wxComboBox and finished tab. To finished to update the doc

2010-07-12 20:05 JTN, revision 64910

wxRegionIterator implementation

2010-07-12 19:47 SJL, revision 64909

Add tests for label functions in wxGrid.

2010-07-12 18:01 JTN, revision 64908

wxDC: Clipping

2010-07-12 18:00 JTN, revision 64907

wRegion implementation

2010-07-12 16:20 MYA, revision 64906

Refactor the class inheritance architecture

2010-07-12 14:53 SJL, revision 64905

Add tests for various wxGrid sorting functions.

2010-07-12 14:36 SJL, revision 64904

Add column order test for wxListCtrl.

2010-07-12 14:02 JTN, revision 64903

Fix wxDC foreground color when drawing text

2010-07-12 13:59 JTN, revision 64902

Implement wxScrollBar and use it for window scrolling

2010-07-12 13:39 JWE, revision 64901

add a new files to write wxComboBox maasked features. update the header of all classes to get maskedEdit features. The sample with wxComboBox works. Now I have to make some change if the input key is invalid (the cursor position change and that is not a good thing).

2010-07-12 12:22 SJL, revision 64900

Add VoidData test to ItemContainerTestCase, similar to ClientData test.

2010-07-12 11:54 SJL, revision 64899

Remove middle click tests from wxTreeCtrl and wxListCtrl as they are only generated by the generic controls.

2010-07-12 11:51 SJL, revision 64898

Skip non command events to allow correct testing of char events after key up and key down events.

2010-07-11 22:00 JMS, revision 64897

Fix non-PCH builds (closes #12217)

2010-07-11 21:25 PMO, revision 64896

Renamed wxQtScrollBarEventForwarder to wxQtScrollBar

2010-07-11 20:13 PMO, revision 64895

Renamed implementation internal methods to use Qt-prefix

2010-07-11 19:04 JMS, revision 64894

Added 'Delimiter' attribute for wxArrayStringProperty. Moved static ArrayStringToString() to wxArrayStringProperty.

2010-07-11 18:06 JMS, revision 64893

Have the new incarnation of wxPGArrayEditorDialog support the old-style 'custom button' event as something that happens when the wxEditableListBox's 'New Item' button is pressed

2010-07-11 17:31 PMO, revision 64892

Update to trunk r64891

2010-07-11 15:01 MYA, revision 64891

Now, normal layout works again and I know what the lines mean. :-)

2010-07-11 14:26 MYA, revision 64890

Fix bugs in GetAvailableRect.

2010-07-11 13:18 SJL, revision 64889

Add more wxGrid tests for cursor movement, cell selection, column and row adding and inserting, reordering columns and line formatting.

2010-07-11 12:44 VZ, revision 64888

No real changes, just fix unused parameter warning. Wrap dc parameter of wxRichTextCtrl::PaintAboveContent() in a WXUNUSED().

2010-07-11 12:44 VZ, revision 64887

Optionally set the window name in wxPersistentRegisterAndRestore(). In practice names are not often used so typically whenever you want to make a window settings persistent you also need to set its name and the it's convenient to let a single function do both tasks, so add an overload taking the name string (this is a separate function instead of optional parameter to avoid compilation errors if this is ever used with non-wxWindow-derived objects which don't have SetName() method). Also expand the documentation slightly and add @since tags.

2010-07-11 12:44 VZ, revision 64886

Set the string to search for in wxSearchCtrl events. It's more convenient to have the string to search for directly in the event object than to retrieve it from wxSearchCtrl itself as it had to be done before. Closes #4665.

2010-07-11 12:44 VZ, revision 64885

Don't use uninitialized variables in wxGrid::AutoSize(). The code in wxGrid::AutoSizeColOrRow() was using uninitialized col/row variable if the grid had no rows/columns, resulting in assertion failures when trying to automatically size the columns of an empty grid. Do initialize them now and also remove duplicate assignments to the variables which never change inside the loop. Closes #12206.

2010-07-11 12:44 VZ, revision 64884

Account for largest item in wxGenericListCtrl::GetBestSize(). Don't just return a hard-coded value but at least return something big enough to show the largest item in the control in non-report mode. This fixes the appearance of wxListbook which simply truncated its items before if they didn't fit in 80 pixels horizontally. Also switch to implementing DoGetBestClientSize() instead of DoGetBestSize() as this method doesn't account for the control borders (it does account for the scrollbars however).

2010-07-11 12:44 VZ, revision 64883

Add wxSize::IncBy() and DecBy() overloads taking wxPoint. It seems to make at least as much sense to extend a wxSize by wxPoint than by another wxSize (which doesn't make much size to me...) so add Inc/DecBy() overloads doing this. We might also add operator+=() overloads taking wxPoint for consistency but for now don't add more operator overloads unnecessarily, let's wait if anybody asks about this first.

2010-07-11 12:43 VZ, revision 64882

Ensure that wxGenericListCtrl always has wx[HV]SCROLL styles. Although these styles are unconditionally added when creating the window they could be reset by calling SetWindowStyleFlag() later and this in fact happened when changing control mode from wxListbook. As it doesn't make sense to have wxListCtrl without these styles, also add them unconditionally in overridden SetWindowStyleFlag() as well.

2010-07-11 12:43 VZ, revision 64881

Don't set negative size when using constraints for layout. Passing negative size to GTK+ results in error messages and in the future wxWindow::SetSize() itself might assert if passed negative size so just avoid setting it in the first place even if there is not enough space for everything.

2010-07-11 12:43 VZ, revision 64880

Implement wxWindow::DoGetBorderSize() for all ports. Implement DoGetBorderSize() properly for wxGTK and use the difference between the full window size and the client size for all the ports not implementing this method. The latter is incorrect in the presence of the scrollbars but is the best we can do in general.

2010-07-11 12:43 VZ, revision 64879

Fix item selection/focus drawing in generic wxListCtrl. Item focus rectangle was not drawn at all under wxGTK as the code doing it was disabled with a comment saying that it was drawn elsewhere -- but this wasn't the case. So remove #ifdefs for wxGTK/Mac from generic wxListCtrl code and do use wxRendererNative methods for all platforms. This fixes the appearance of the control under GTK and if it introduces any problems under Mac, they should be fixed in its wxRendererNative implementation and not by adding #ifdefs here.

2010-07-11 12:43 VZ, revision 64878

Don't use tree style to draw focus in DrawItemSelectionRect() in wxGTK. Using gtk_paint_focus() with a tree widget style did a clearly wrong thing with Clearlooks theme: instead of drawing a focus rectangle it drew a background with a shadow overflowing the specified rectangle. This resulted in junk being left when the selection was changing in wx{List,Tree}Ctrl. Just use the widgets own style instead as this seems to work just fine. After this change the code for focus drawing in DrawItemSelectionRect() became identical to the code of DrawFocusRect() so just call the latter from the former instead of duplicating its code.

2010-07-11 12:43 VZ, revision 64877

Allow user code to override key events in generic wxListCtrl. The changes of r58323 ("Restore keyboard navi") fixed the handling of cursor keys in the generic wxListCtrl implementation but at the price of not sending keyboard events for the cursor keys to wxListCtrl itself any more. This made it impossible to override their handling in user code, something that used to work in previous wx versions and still works in wxMSW. Revert the changes of this revision now and fix the original code by simply disabling the handling of the cursor keys in wxScrollHelperBase using a newly added DisableKeyboardScrolling() method. This ensures that the keyboard events for cursor keys are not used to scroll the window when they are forwarded to wxListCtrl from wxListMainWindow. The fix is conceptually ugly as it would be better to avoid the need for such ad hoc functions as DisableKeyboardScrolling() but it is very simple and there just doesn't seem to be any sane way to do it otherwise with wxScrollHelperBase.

2010-07-11 12:43 VZ, revision 64876

Fix setting wxStaticText alignment under wxGTK. The alignment was ignored unless a wxST_ELLIPSIZE_XXX style was already used. Apparently calling gtk_label_set_ellipsize(PANGO_ELLIPSIZE_NONE) resets the alignment, so set the alignment after setting the ellipsization style, not before. Another possible solution would be to avoid calling gtk_label_set_ellipsize() completely if no ellipsization styles are given but maybe the original code didn't do this for some (unknown and undocumented) reason so keep it this way. Closes #10716.

2010-07-11 12:43 VZ, revision 64875

Swap client data pointers in wxRearrangeList too. If the list box uses client data, we need to swap the data pointers too when exchanging items in it. Closes #12201.

2010-07-11 12:43 VZ, revision 64874

Correct the size of bitmap returned by wxRegion::ConvertToBitmap(). The bitmap was 1 pixel smaller than needed due to the unwarranted use of wxRect::GetRight() and GetBottom() instead of GetWidth() and GetHeight(). Closes #12213.

2010-07-10 22:39 JS, revision 64873

Syntax error fix

2010-07-10 21:10 SJL, revision 64872

Add WindowTestCase and tests for show, focus and key events.

2010-07-10 19:29 JTN, revision 64871

wxWindow key event handling

2010-07-10 18:19 JS, revision 64870

Updated configure for small, probably futile iPhone-related changes

2010-07-10 18:12 JS, revision 64869

Add CFNetwork framework

2010-07-10 17:40 JMS, revision 64868

Do not run focus detection when handling events from editor control (mostly because they may be showing a dialog)

2010-07-10 17:30 JMS, revision 64867

wxArrayEditorDialog now uses wxEditableListBox. It has also been renamed to wxPGArrayEditorDialog.

2010-07-10 16:42 JTN, revision 64866

Moved all window event handling to wxWindow and made it virtual

2010-07-10 16:36 SJL, revision 64865

Add tests for iconize and close events from wxFrame.

2010-07-10 16:22 JS, revision 64864

Use -miphoneos-version-min if compiling for iPhone and --with-macosx-version-min was specified. Otherwise .mm files may not compile correctly with some iPhone SDKs.

2010-07-10 14:38 JWE, revision 64863

add all fetaures in wxCombobox

2010-07-10 10:45 JS, revision 64862

Fixed frameworks for iPhone build

2010-07-09 19:26 JS, revision 64861

Fix undefined symbols

2010-07-09 18:32 JWE, revision 64860

add unit test. add a sample with multiple field. I beginning the two last part of my project: -change setSelection behavior and understand how the event system coud be stopped -attempt to add a system with regex validation If i can I want to merge GUI TEST branch with my branch to test my new classes

2010-07-09 17:17 JMS, revision 64859

Include scopeguard.h for wxON_BLOCK_EXIT_SET()

2010-07-09 16:54 JTN, revision 64858

Finish renaming WindowEventForwarder to wxQtEventForwarder (Make it compile again)

2010-07-08 22:50 PMO, revision 64856

Renamed WindowEventForwarder to wxQtEventForwarder

2010-07-08 19:35 JS, revision 64855

iPhone SDK 2.2 compilation

2010-07-08 19:35 JS, revision 64854

Respect wxUSE_MENUS in toolbar base classes

2010-07-08 16:45 SJL, revision 64853

Add test for FindItem in wxListCtrl

2010-07-08 16:21 SJL, revision 64852

Add extra wxTreeCtrl tests for iterating over items, item parent checking and collapsing and expanding items.

2010-07-08 15:32 JS, revision 64851

Avoid warning

2010-07-08 12:54 SJL, revision 64849

Add wxRichTextCtrl tests for selections, editable and range.

2010-07-08 11:58 SJL, revision 64848

Tests for various caret movement functions in wxRichTextCtrl.

2010-07-08 11:05 SJL, revision 64847

Add tests for undo and redo functionality, including batch undo and undo suppressing.

2010-07-08 10:45 SJL, revision 64846

Add tests for cut, copy and paste to RichTextCtrlTestCase

2010-07-07 21:25 SJL, revision 64845

Add tests for most wxRichTextCtrl events.

2010-07-07 20:51 JTN, revision 64844

Proper paintEvent handling for scrolled windows

2010-07-07 19:53 JTN, revision 64843

Scrollbars event handling

2010-07-07 19:16 JTN, revision 64842

wxWindow built-in scrollbars implemented (but scrollbar events are still not handled)

2010-07-07 14:42 MYA, revision 64841

Fix some compile errors and make the sample run again. But it is entirely a mess of the layout. :-)

2010-07-07 14:31 SJL, revision 64840

Add missing entry to bakefile list and fix a couple of typos.

2010-07-07 13:09 SJL, revision 64839

Tests for the line based functions in wxTextCtrl

2010-07-07 12:36 SJL, revision 64838

Simple tests for undo / redo and copy / paste functionality in wxTextEntry

2010-07-07 12:14 SJL, revision 64837

Add tests for URL events and style changes to wxTextCtrl.

2010-07-07 12:12 FM, revision 64836

mention wxPostEvent() and wxQueueEvent() and related wxEvtHandler functions. use wx prefix for event table macros.

2010-07-07 11:10 SJL, revision 64835

Add a proper image list test to wxBookCtrlBase. Create an image list for all classes but only test if specifically needed as not all classes use images, i.e. wxChoicebook.

2010-07-07 10:32 SC, revision 64834

only hide tool windows on deactivate, fixes #11924

2010-07-07 10:26 SC, revision 64833

supporting disabled tools, fixes #11457

2010-07-06 21:00 JTN, revision 64832

Remove code for not yet implemented events, and always default to Qt handling if wx doesn't provide an event handler

2010-07-06 20:59 JTN, revision 64831

wxScrollbar implementation

2010-07-06 15:00 SJL, revision 64830

Add wxToolbook tests. This differs from the other wxBookCtrlBase tests as it requires an image list and extra calls to Realize the toolbar.

2010-07-06 12:46 MYA, revision 64829

wxFloatCollector complete

2010-07-06 12:22 SJL, revision 64828

Add a set of tests for wxTreeItemData

2010-07-06 11:25 SJL, revision 64827

Add extra assert in CellEdit test to check that an event of type wxEVT_GRID_EDITOR_CREATED is generated

2010-07-06 10:59 SJL, revision 64826

Add a test for the range selection event in wxGrid

2010-07-06 10:31 SJL, revision 64825

Test for wxGrid column and row size events.

2010-07-06 09:28 MYA, revision 64824

add the basic floating layout idea to wxRichTextParagraph::Layout

2010-07-05 23:11 JWE, revision 64823

I have replace bind by connect, Add the sample single field, Add the auto completion for single field, Add unitary test for 2 methods, Add a format code to negative number, Add the possibility to replace decimal point, Beginning to code the multi field.

2010-07-05 16:27 SJL, revision 64822

Add a set of tests for wxRearrangeList, including a test for the issue in #12201

2010-07-05 16:23 VS, revision 64821

Add std::[w]string support to wxVariant.

2010-07-05 14:56 SJL, revision 64820

Add missing svn properties

2010-07-05 13:12 SJL, revision 64819

Add some basic wxClientData tests to ItemContainerTestCase

2010-07-05 08:39 SC, revision 64818

fixing doc for OSX

2010-07-05 08:36 SC, revision 64817

using backwards compatible implementation

2010-07-05 06:19 MYA, revision 64816

Add basic design structure of layout floatings.

2010-07-04 14:20 JWE, revision 64815

beginning to add mouse support

2010-07-04 13:21 JMS, revision 64814

Make m_inDoPropertyChanged and m_inCommitChangesFromEditor bools; Manage m_inDoPropertyChanged using wxON_BLOCK_EXIT_SET()

2010-07-04 13:00 JWE, revision 64813

2010-07-04 12:39 JMS, revision 64812

Mention why wxPG_EX_UNFOCUS_ON_ENTER was removed

2010-07-04 12:30 JMS, revision 64811

m_inDoSelectProperty: make it bool and use wxON_BLOCK_EXIT_SET() on it.

2010-07-04 11:46 JMS, revision 64810

Redundant wxPropertyGrid validation failure message boxes should no longer be shown

2010-07-04 11:40 JWE, revision 64809

2010-07-04 10:53 JMS, revision 64808

Changed wxPropertyGrid default property validation failure behavior to more user-friendly wxPG_VFB_MARK_CELL | wxPG_VFB_SHOW_MESSAGEBOX

2010-07-04 10:33 JMS, revision 64807

Translate text 'Property Error'

2010-07-04 10:25 RR, revision 64806

Fix assert in dataview sample, fixes #12194: wxDataViewCtrl sample asserts in wxArgNormalizer

2010-07-04 10:22 JMS, revision 64805

Added new wxPropertyGrid property validation failure flags wxPG_VFB_SHOW_MESSAGEBOX and wxPG_VFB_SHOW_MESSAGE_ON_STATUSBAR, which allow defining the default message display behavior more accurately

2010-07-04 10:22 RR, revision 64804

Let wxChoice determine its size for wxDataViewChoiceRenderer itself, fixes #12193: wxDataViewChoiceRenderer size

2010-07-03 23:57 JWE, revision 64803

add negative integer fonctionnality correct unit test but one error is in the test. I have remove the sample to recreate a better version.

2010-07-03 16:24 VS, revision 64802

Fixed XML parser error text formatting. XML_GetCurrentLineNumber() returns int in some versions of Expat and unsigned long (or even uint64_t) in other versions. Just cast the value to int so that it works correctly with all versions. Fixes #12196.

2010-07-03 16:24 VS, revision 64801

Fix strings formatting in wxrc.

2010-07-03 16:24 VS, revision 64800

Fix format strings parsing to understand C99 %zu etc. The parser used to understand only 'Z' specifier for size_t/ptrdiff_t, which is non-standard libc5 extension. C99 defines 'z' for this purpose, so use that. Compatibility with 'Z' is preserved. Also support Visual C++'s non-standard 'I' modifier with the same meaning. Fixes #12192.

2010-07-03 16:24 VS, revision 64799

wxFileOffsetFmtSpec isn't translatable.

2010-07-03 16:24 VS, revision 64798

Fix vararg type checking to accept ints for %c. It's perfectly legitimate to format int values as %c, so don't assert in this case. Fixes #12192.

2010-07-03 16:24 VS, revision 64797

Simply varargs type checking by adding subtypes to check mask. Instead of always declaraing that a C++ type corresponds to either Arg_String or Arg_Pointer, make Arg_String superset of Arg_Pointer.

2010-07-03 14:22 JMS, revision 64796

Eliminated lingering validation failure message on the status bar. Added wxPropertyGrid virtual member functions DoHidePropertyError() and GetStatusBar().

2010-07-03 13:43 JMS, revision 64795

wxPropertyGrid validation failure was not (always) reset when a valid value was entered after an invalid one.

2010-07-02 23:09 JWE, revision 64794

remove non compatible function and update unit test and sample

2010-07-02 21:40 SJL, revision 64793

Add BookCtrlBaseTestCase and implementations for all subclasses expect wxToolbook.

2010-07-02 20:37 SJL, revision 64792

Fix a few typos in ItemContainerTestCase

2010-07-02 16:24 JMS, revision 64791

Fixed and improved wxIntProperty's min/max validation failure message

2010-07-01 17:28 VS, revision 64790

Fix printf arguments validation code for ANSI build. char arguments weren't recognized as allowed variadic types. Unlike in Unicode build, where chars are treated specially, they are primitive types in ANSI build.

2010-07-01 17:28 VS, revision 64789

Use wxScopedCharBuffer in To8BitData() in ANSI build too. This allows one to write code compatible with both Unicode and ANSI builds.

2010-07-01 16:30 VS, revision 64788

Don't assume size_t is either int- or long-sized. On 64bit Windows systems, sizeof(int)==sizeof(long)=4, but size_t is 8 bytes large. Fixes #12179.

2010-07-01 14:03 JJ, revision 64787

allow USE_UNICODE=1 for wxMOTIF on OpenVMS

2010-06-30 23:51 JWE, revision 64786

modify invalid status add keyboard numpad support and modify sample

2010-06-30 22:22 JWE, revision 64785

remove TABS

2010-06-30 22:20 JWE, revision 64784

add documentation and modify some methods ( in particulary SetMask).

2010-06-30 18:10 SJL, revision 64783

Add wxCheckListBox generic tests and a specific item check test.

2010-06-30 15:05 SJL, revision 64782

Add wxItemContainer tests to ComboBoxTestCase as cppunit doesn't like multiple inheritance from TextEntryTestCase and ItemContainerTestCase.

2010-06-30 12:04 SJL, revision 64781

Multiple selection tests for wxListBox.

2010-06-30 11:08 SJL, revision 64780

Tests for a sorted wxListBox control.

2010-06-30 10:56 SJL, revision 64779

Tests for a sorted wxChoice control.

2010-06-29 19:43 SJL, revision 64778

Add ItemContainerTestCase and basic implementation for wxListBox and wxChoice.

2010-06-28 23:21 JS, revision 64777

Added missing wxTEXT_ATTR_PAGE_BREAK from wxTEXT_ATTR_PARAGRAPH

2010-06-28 23:21 JS, revision 64776

Added missing wxTEXT_ATTR_PAGE_BREAK from wxTEXT_ATTR_PARAGRAPH

2010-06-28 22:24 SJL, revision 64775

wxListCtrl column dragging tests added.

2010-06-28 19:22 SJL, revision 64774

EventCounter class added to make sure events are disconnected at the end of each test. This ensures that when getting the total event count events from previous tests are not counted.

2010-06-28 16:14 SJL, revision 64773

Add test for wxTreeCtrl menu request event.

2010-06-28 16:06 SJL, revision 64772

Add tests for wxTreeCtrl item selection change events.

2010-06-28 15:50 SJL, revision 64771

Add tests for expanding and collapsing wxTreeCtrl events.

2010-06-28 15:35 SJL, revision 64770

Add test for key down events in wxTreeCtrl.

2010-06-28 15:21 SJL, revision 64769

Make sure we Disconnect from wxEVT_COMMAND_TREE_DELETE_ITEM events as they are generated in other tests.

2010-06-28 15:18 SJL, revision 64768

Add label editing tests for wxTreeCtrl. We have to add the wxTR_EDIT_LABELS style initially as it cannot be toggled at runtime (at least in wxMSW).

2010-06-28 12:05 SJL, revision 64767

Add simple wxTreeCtrl item deletion test. We do not test DeleteAllItems as the events are not always generated.

2010-06-28 11:49 SJL, revision 64766

Added TreeCtrlTestCase::ItemClick, a set of tests for item click events.

2010-06-28 10:58 CE, revision 64765

delete docs after building

2010-06-28 10:41 JJ, revision 64764

Update Makefile for OpenVMS

2010-06-27 21:59 JTN, revision 64763

wxWindow::Update without rect updates everything

2010-06-27 21:57 JTN, revision 64762

Stippled brushes implementation

2010-06-27 20:50 JTN, revision 64761

Use wx defaults for pens

2010-06-27 20:43 JTN, revision 64760

wxDC: Text extent operations

2010-06-27 19:38 JTN, revision 64759

wxDC fixes: scale/translate and background modes

2010-06-26 16:15 SJL, revision 64758

Add test for item insert events in wxListCtrl

2010-06-26 16:05 SJL, revision 64757

Add test for column click events in wxListCtrl

2010-06-26 14:49 SJL, revision 64756

Add test for column sort event in wxGrid

2010-06-26 13:44 FM, revision 64755

fix error (more arguments for wxString::Format than specifiers) occurring because of a misplaced bracket

2010-06-26 13:43 FM, revision 64754

fix couple of typos

2010-06-26 13:24 SJL, revision 64753

Add tests for correct wxGrid cell selection events

2010-06-26 13:03 SJL, revision 64752

Add tests for correct events when wxGird labels are clicked.

2010-06-26 12:40 SJL, revision 64751

Set correct properties for gridtest.cpp

2010-06-26 12:29 SJL, revision 64750

Add tests for correct events when wxGird cells are clicked.

2010-06-26 11:15 JS, revision 64749

Documentation change for new wxRTC function

2010-06-26 10:01 VS, revision 64748

Document that wxRearrange* controls exist since 2.9.0.

2010-06-25 23:08 RD, revision 64743

Copy of the build/tools for the 2.8 branch

2010-06-25 23:06 RD, revision 64742

Removing svn:externals property

2010-06-25 23:02 RD, revision 64741

Oops, I was in the wrong folder. Put back the property and let it use a revision number so it can still get the old files.

2010-06-25 22:56 RD, revision 64740

Removing svn:exterals property

2010-06-25 22:53 RD, revision 64739

Move build tools into the main part of the repository tree

2010-06-25 22:50 RD, revision 64738

Remove svn:external property for build/tools as per wx-dev discussion

2010-06-25 21:05 SJL, revision 64737

Tidy up ListCtrlTestCase positioning logic.

2010-06-25 20:42 SJL, revision 64736

Start work on a set of wxGrid tests. Initial setup code and an item editing test added.

2010-06-25 16:05 JS, revision 64735

Added PaintAboveContent function for drawing on top of text (#12176)

2010-06-25 16:03 RAW, revision 64734

wxCommandLinkButton implementation.

2010-06-25 14:32 SJL, revision 64733

Add wxListCtrl item deletion tests.

2010-06-25 13:05 SJL, revision 64732

Add test for key down events in wxListCtrl.

2010-06-25 13:00 JTN, revision 64731

Switch to generic icon for Qt

2010-06-25 12:39 SJL, revision 64730

Add wxTestableFrame::CountWindowEvents to reduce the repetitive Connect usage in tests and update existing tests to make use of it.

2010-06-25 12:19 SJL, revision 64729

Add a set of tests to check the correct events are emitted from wxListCtrl when it is clicked in a variety of ways. Also checks focussed events are only sent once when an item is clicked many times.

2010-06-25 11:42 VZ, revision 64728

Fix posting of binary data using wxHTTP. Don't use mbc_str() which can fail to convert contents of the string created using wxString::From8BitData(). Use To8BitData() instead. This fixes posting of binary data via HTTP using binary content transfer encoding.

2010-06-25 10:47 JJ, revision 64727

synchronize setup.h_vms with setup.h.in

2010-06-25 10:47 VZ, revision 64726

Remove duplicate sample.xpm inclusion from stc sample. This sample already included sample.xpm even before the recent changes replacing mondrian.xpm (which it also included) inclusion with sample.xpm so now it included it twice.

2010-06-25 06:31 PC, revision 64725

invalidate border area when showing or hiding a pizza widget, fixes #12174

2010-06-24 18:41 SJL, revision 64724

Added a test of wxStaticText::EscapeMarkup to LabelTestCase::Statics.

2010-06-24 18:31 JWE, revision 64723

attempt to test with empty value

2010-06-24 17:59 SJL, revision 64722

Added TextCtrlTestCase::Redirector, a test of the wxStreamToTextRedirector class.

2010-06-24 17:32 SJL, revision 64721

Added TextCtrlTestCase::StreamInput, it tests the native stream capabilities as well as std::ostream functionality if it is supported. All natively supported types are input and tested.

2010-06-24 16:43 SJL, revision 64720

Ensure that a default text control is recreated after using a more specific version. Move the hint test to TextEntryTestCase as it can be generalised.

2010-06-24 16:20 SJL, revision 64719

Added TextCtrlTestCase::Hint, a simple test to ensure that the hint text is not returned by GetValue.

2010-06-24 15:58 SJL, revision 64718

Add a TextCtrlTestCase::MaxLength test to ensure the correct events are sent when a maximum length has been set. We add this here rather than a wxTextEntry test because wxGTK only supports a maximum length in single line text controls.

2010-06-24 13:25 VS, revision 64717

Fix another bad format string in the testsuite.

2010-06-24 13:25 VS, revision 64716

Compilation fix for compilers that don't have native wchar_t.

2010-06-24 12:56 SJL, revision 64715

Add a TextCtrlTestCase::ReadOnly test to ensure that SetEditable overrides wxTE_READONLY as it is supposed to.

2010-06-24 12:35 SJL, revision 64714

Add TextEntryTestCase::Editable test to check that text events are not sent from a non-editable text entry control.

2010-06-24 12:34 VS, revision 64713

Add tests for printf arguments validation code.

2010-06-24 12:34 VS, revision 64712

Check if there aren't too many variadic arguments.

2010-06-24 12:34 VS, revision 64711

Format strings fixes in test suite.

2010-06-24 12:34 VS, revision 64710

Check wxPrintf etc. arguments types. Implements checks similar to gcc's compile-time checks: verify that the arguments are of correct types. This works partially at compile time (e.g. passing an object as argument fails to compile) and partially at runtime (assert if the specifier doesn't match the type).

2010-06-24 12:34 VS, revision 64709

Add correct wxArgNormalizer code for signed char. Signed char is distict type (see 3.9.1 [basic.fundamental] part of the standard), covering just char and unsigned char is not enough.

2010-06-24 12:34 VS, revision 64708

Always NUL-terminate wxPrintfConvSpec::m_szFlags. The array was initialized and terminating NUL was only added in some cases. In combination with strchr() calls, this would result it incorrect calculations or even crashes. Fixed by initializing the array to zeros. This is less error-prone than fixing the few places where explicitly adding the terminating NUL was missing.

2010-06-24 12:34 VS, revision 64707

Check that wxSIZE_T_IS_* macros are always defined.

2010-06-24 12:33 VS, revision 64706

Fix thread ID formatting in log messages.

2010-06-24 12:33 VS, revision 64705

Corrected formatting of archiver command in the tests. wxString::Format() was used even when the first argument didn't contain any %s, yet a string argument was always passed to it.

2010-06-24 12:08 SJL, revision 64704

Update the unit testing tech note with extra information on wxUIActionSimulator based testing.

2010-06-24 11:48 SJL, revision 64703

Add an intentionally simple ButtonTestCase, mainly for demonstration purposes.

2010-06-24 11:20 JWE, revision 64702

Add the test with mask like this: #{12}, allow correctly the space

2010-06-23 22:30 SJL, revision 64701

Tidy the SocketTestCase so that it doesn't unset the current event loop without putting it back at the end as this causes later tests using wxUIActionSimulator to fail.

2010-06-23 22:01 SJL, revision 64700

Add an event loop to TestApp to allow the use wxUIActionSimulator in unit tests. Also show the frame so it can be used.

2010-06-23 13:44 MYA, revision 64698

Add a new 'Insert Image...' MenuItem to the sample

2010-06-23 09:24 MYA, revision 64697

'Image Property' works well when scroll occurs.

2010-06-22 23:59 JWE, revision 64696

continue to modify sample and beginning to add more possibilities with mask like #{4} -> ####

2010-06-22 22:57 JTN, revision 64695

wxDC: Fix DrawLines

2010-06-22 22:57 JTN, revision 64694

wxBitmap: Set/Get masks

2010-06-22 19:56 JTN, revision 64693

wxMask implementation

2010-06-22 15:55 MYA, revision 64692

Add the 'Image Property' for context menu.

2010-06-22 15:48 SC, revision 64691

paint events cannot be constructed outside a native redraw in OSX

2010-06-22 14:46 SC, revision 64690

paint events cannot be constructed outside a native redraw in OSX

2010-06-22 13:49 SC, revision 64689

trying to get it building at least

2010-06-22 13:05 SJL, revision 64688

Revert to using Connect rather than Bind in TextEntryTestCase::TextChangeEvents for maximum compatibility.

2010-06-22 12:38 SJL, revision 64687

Add missing SVN properties to wxTestableFrame and wxUIActionSimulator files.

2010-06-22 12:20 SJL, revision 64686

Add a more flexible event count mechanism to wxTestableFrame using wxEventType. Specific event counts or the total number of events can be obtained. Also tidy the constructor to remove unused parameters.

2010-06-22 11:55 VZ, revision 64685

Add an explicit t_str() to fix wxMSW compilation with wxUSE_STL=1. wxString is not implicitly convertible to TCHAR* in this case and we need to use t_str() explicitly. Closes #12169.

2010-06-22 11:50 VZ, revision 64684

Undo/replace the workaround for Doxygen crash from r64630. According to http://sourceforge.net/mailarchive/forum.php?thread_name=5040710F-9134-4C21-9B08-EA985136F53C%40gmail.com&forum_name=doxygen-users simply adding an empty line after @since should be enough to fix the problem and this does seem to work in practice so restore @since removed by r64630.

2010-06-22 10:08 JJ, revision 64683

Update OpenVMS compile support

2010-06-22 05:20 RAW, revision 64682

Merge commit, from trunk r64198 to r64680.

2010-06-22 01:32 FM, revision 64681

blind buildbot fix

2010-06-21 23:46 FM, revision 64680

small warning+PCH fixes

2010-06-21 23:03 FM, revision 64679

move console sample's interactive tests to two different CppUnit testsuites: InteractiveInputTestCase which requires user input and InteractiveOutputTestCase which outputs stuff to be checked from the user. Leave in the console sample only a barebone console application (i.e. a real example). Closes #11960

2010-06-21 21:47 FM, revision 64678

better DirTestCase::DirExists test; fix test cases /usr//bin and /usr///bin: they succeed because wxDir::Exists does not care about redundant path separator (and this holds also for non-Unix platforms); add some more test case

2010-06-21 21:44 FM, revision 64677

minor change: use a "positive" logic: use shouldSucceed instead of shouldFail and use more descriptive names for non-existing folders; add a few test cases

2010-06-21 21:38 JTN, revision 64676

wxWindow::Update() native implementation

2010-06-21 21:38 JTN, revision 64675

wxDc::SetDeviceOrigin native implementation

2010-06-21 21:37 JTN, revision 64674

wxDc::SetDeviceOrigin native implementation

2010-06-21 21:37 JTN, revision 64673

Moving wxWindow and subclasses event handling to a template class

2010-06-21 18:45 JWE, revision 64672

add a new tab in sample and began to modify masked behavior to make it look like the one of wxPython

2010-06-21 18:36 SC, revision 64671

adding mimetype patch, closes #12072

2010-06-21 17:30 SC, revision 64670

adding HitTest to osx_cocoa implementation of listbox, refactoring code, fixes #11972

2010-06-21 16:01 SC, revision 64669

fixing year display, see #11444

2010-06-21 16:00 SC, revision 64668

adding bestsize for osx_cocoa combobox

2010-06-21 14:19 VZ, revision 64667

Correct the expected result of directory existence check. As /.. is the same as /, a directory with any number of ".." in it will always exist.

2010-06-21 14:19 VZ, revision 64666

Remove references to joytest.rc that was recently removed. Another fix to samples compilation after recent changes removing unneeded icons and resource files.

2010-06-21 14:19 VZ, revision 64665

Suppress bogus g++ warnings about uninitialized variables. The variables are always initialized but for some reason (at least the Apple version of) g++ gives warnings for them.

2010-06-21 13:50 SC, revision 64664

adding fix for non-precomp header build

2010-06-21 12:14 SC, revision 64663

storing current event for dnd support, adding default data-drag image, fixes #12065

2010-06-21 09:50 SC, revision 64662

text updated events were not always sent out correctly, fixes #11462

2010-06-20 20:36 JWE, revision 64660

Finished wxTextCtrl, add beginning to add a new sample. Tomorrow beginning to write wxCombox mask support

2010-06-20 20:18 VZ, revision 64659

Remove references to not existing any more griddemo.rc file. The file was removed in a recent commit but the bakefile was not updated. Do it now and rebake the makefiles.

2010-06-20 20:18 VZ, revision 64658

Correct the name of the XPM file containing the icon in xrc sample. This fixes a compilation error introduced during de-mondrianization of the samples.

2010-06-20 20:18 VZ, revision 64657

Gracefully disconnect clients in wxDDEServer dtor. Remove the SetConnected(false) call which prevented the connection from notifying the client about its destruction. Closes #12164.

2010-06-20 20:18 VZ, revision 64656

Use wxDELETE() and wxDELETEA() when possible. Use wxDELETE[A]() functions which automatically NULL out their arguments after deleting them instead of doing it manually. Closes #9685.

2010-06-20 19:43 VZ, revision 64655

Quote file names with spaces in wxFileType::ExpandCommand(). Add double quotes around the file name inserted into the command to open the file by wxFileType::ExpandCommand() if the file name contains any spaces and if it's not already quoted by the command line itself. While this doesn't completely fix the problem, it does help with opening the files with spaces in their names under Windows and shouldn't do any harm under Unix. Closes #4607.

2010-06-20 19:43 VZ, revision 64654

Fix activation handling in generic wxDataViewCtrl renderers. Handling of activation in the generic implementation of standard renderers was broken since r62589 which stopped calling their Activate() method. Restore it by introducing a special WXOnActivate() replacing it (but clearly marked as private and implementation-only) and calling it instead. Closes #11460.

2010-06-20 19:43 VZ, revision 64653

Extract tags from private headers under wxMSW too. Added include/wx/msw/private/*.h to the list of files passed to ctags.

2010-06-20 19:43 VZ, revision 64652

Add a system option to exit immediately on assert failure. This option will allow to test for absence of asserts in wxWidgets samples in the future. Closes #10697.

2010-06-20 19:43 VZ, revision 64651

Document and improve system options definition in the environment. Document that system options can be defined in the environment. Replace another character (dash) invalid in environment variable names but present in some standard system option names with underscore.

2010-06-20 19:43 VZ, revision 64650

Add a test for selecting the last item in the tree control sample. This allows to test whether an item is brought into view by selecting it, see #11154.

2010-06-20 19:43 VZ, revision 64649

Use wxFont::Bold() in wxGenericTreeCtrl instead of wrongly duplicating it. Creating a new wxFont from the components of the existing one doesn't always work because we may not have a valid value for the old font family so attempt to use it as a family of the new font results in an assert. Just use wxFont::Bold() instead to avoid the problem. It's much shorter and obviously correct and doesn't result in asserts.

2010-06-20 19:43 VZ, revision 64648

Use PBM_SETMARQUEE to implement indeterminate mode in wxMSW wxGauge. The old code which simply used PBM_SETPOS after setting PBS_MARQUEE style often worked but sometimes apparently didn't, so switch to the officially sanctioned PBM_SETMARQUEE to implement this. Also make wxGauge::SetDeterminateMode() and SetIndeterminateMode() methods private as they are not part of the public class API. Closes #11357.

2010-06-20 19:42 VZ, revision 64647

Don't enable scrollbar if it can't do anything in wxMSW. Only reenable scrollbar in wxWindow::SetScrollbar() in wxMSW if its range is large enough to allow scrolling it. Closes #11373.

2010-06-20 19:42 VZ, revision 64646

Use wxTE_RICH2 for in-place wxGrid text editor control. This works around a bug with the plain text edit control under MSW which seems to totally lose its caret when we hide it and show it again for another cell. This is not a proper fix for the problem, of course, but at least it does allow to edit wxGrid cells in the meanwhile. Closes #11681.

2010-06-20 19:42 VZ, revision 64645

Remove unnecessary mondrian.{ico,xpm} files from samples directory. Standardize on using sample.rc and sample icon in all the samples, it was confusing that some of them used it and other didn't, without any apparent logic. Remove the now unnecessary icon files, including the dialogs sample icon which seemed to be corrupted (this closes #11146). Also replace multiple OS/2 resource files with a single one in the sample directory. The OS/2 projects/makefiles would need to be updated to use them. Remove dialogs sample icon.

2010-06-20 19:41 VZ, revision 64644

No real changes, just convert a Mac-specific file to UTF-8. This is needed in order to be able to commit the next change, updating it.

2010-06-20 17:24 SC, revision 64643

using proper dylib for darwin

2010-06-20 16:53 SC, revision 64642

no trailing slash for OSX_CARBON

2010-06-20 16:49 SC, revision 64641

no trailing slash for OSX_CARBON

2010-06-20 16:46 SC, revision 64640

no trailing slash for OSX_CARBON

2010-06-20 16:15 SJL, revision 64639

Add an overload to wxUIActionSimulator::MouseMove that takes a wxPoint for convenience.

2010-06-20 13:46 VZ, revision 64638

Ensure that wxFileName::GetTempDir() doesn't return trailing slashes. Sanitize the value returned by GetTempDir() to ensure that it doesn't have any trailing path separators. This happened at least under OS X where standard TMPDIR has a trailing slash and was inconsistent with the behaviour under the other platforms.

2010-06-20 09:08 JMS, revision 64637

VC6 Fix: Use wxANY_AS() instead of wxAny::As<>()

2010-06-19 14:48 FM, revision 64636

group all interactive tests together to make it easier to understand what's going on when running the sample

2010-06-19 14:32 FM, revision 64635

Move dir tests from the console sample to DirTestCase

2010-06-19 14:28 FM, revision 64634

fix for non-PCH builds

2010-06-19 14:28 PMO, revision 64633

Improved internal Convert() functions and corrected some other minor source code format issues

2010-06-19 13:07 FM, revision 64632

Remove identic implementations of wxDir::Exists from platform-specific files and put it in dircmn.cpp (they all used wxDirExists). Add wxDir::Make() and wxDir::Remove() for coherency with wxDir::Exists() and document them as simple aliases to wxFileName functions, just a bit more readable.

2010-06-19 13:01 JMS, revision 64631

Added (sanity) checks for the inplace allocation

2010-06-19 11:22 VZ, revision 64630

Work around Doxygen crash due to using @since inside event table. All versions of doxygen seem to crash when encountering @since inside an event table description, so don't use it there. Also fixed a typo and improved wording of wxFileCtrl description slightly.

2010-06-18 21:39 JTN, revision 64629

Bare minimum for wxFrame child autosizing (when only one)

2010-06-18 20:47 JTN, revision 64628

Use GetContainer() in wxFrame

2010-06-18 20:02 JTN, revision 64626

Add GetContainer() to wxWindow

2010-06-18 15:32 JMS, revision 64625

Made wxAny::IsNull() doc string a bit clearer

2010-06-18 15:30 JMS, revision 64624

Added wxAny::HasSameType()

2010-06-18 15:18 JMS, revision 64623

Use placement new when storing value in wxAnyValueBuffer. This should allow using any data type, regardless whether it is Plain Old Data or copyable or not.

2010-06-18 11:05 VZ, revision 64622

Install headers in ribbon subdirectory. Add RICHTEXT_HDR to ALL_GUI_HDR variable in files.bkl to ensure that they're installed as part of "make install". Closes #12158.

2010-06-18 00:30 VZ, revision 64621

Allow specifying non default port for wxFTP connections. Add a wxFTP::Connect() overload taking a port number. Also specify the default port (21) explicitly if resolving "ftp" service name failed. Closes #12145.

2010-06-18 00:30 VZ, revision 64620

Backport fix from bakefile svn for autoconf 2.65. Use AC_REQUIRE() instead of directly using a macro, the latter doesn't work with autoconf 2.65. This is a backport of r1337 from bakefile svn to allow people to use autoconf 2.65 immediately and will become unnecessary when we update to the next bakefile version.

2010-06-18 00:30 VZ, revision 64619

Don't use excessive quoting with AC_DEFINE_UNQUOTED in WX_CHECK_FUNCS. This provokes warnings from autoconf 2.65 and seems to be unnecessary even with the previous versions.

2010-06-17 22:36 JTN, revision 64618

Implementation of screen size getters

2010-06-17 22:20 JTN, revision 64617

wxFont implementation

2010-06-17 20:53 JTN, revision 64616

Better wxBitmap depth handling

2010-06-17 20:39 JTN, revision 64615

wxDC text adjustments (position and colors)

2010-06-17 20:29 JTN, revision 64614

Painting monochrome bitmaps uses text colors

2010-06-17 19:55 JTN, revision 64613

Restored image sample

2010-06-17 19:53 JTN, revision 64612

wxBitmap XBM loading

2010-06-17 19:09 JTN, revision 64611

Fixing last commit

2010-06-17 19:02 JTN, revision 64610

Renaming conversion functions and GetHandle()

2010-06-17 17:47 JWE, revision 64609

Correct input bugs. To complete, I have to test multi-fields and found a utf8 execution error

2010-06-17 16:39 VS, revision 64608

Document that wxTextEntry was added in 2.9.0.

2010-06-17 15:04 VS, revision 64607

Compilation fix for GetAvailableTranslations().

2010-06-17 15:04 VS, revision 64606

Make the wxArrayString(int) ctor explicit.

2010-06-17 11:33 SJL, revision 64605

Add very basic implementation of wxTestableFrame. Update TextEntryTestCase to use the new event counting system.

2010-06-16 21:57 JWE, revision 64604

correct some bugs like size of mask and Apply formatcode. Update unitary test

2010-06-16 16:09 VS, revision 64597

Add wxTranslations::GetAvailableTranslations().

2010-06-15 23:31 JWE, revision 64595

fix bugs with ApplyFormatCodes, finished to connect the text ctrl and the mask, beginning testing and correct bugs. Update methods and unitary tests

2010-06-15 15:34 JMS, revision 64594

Fix compilation when wxAny was disabled (fixes #12148)

2010-06-15 14:55 JWE, revision 64593

added the connection between the mask and the textCtrl. Compiled and linked

2010-06-15 10:56 MYA, revision 64592

Modify according to Julian advice. 1. Dialog controls change 2. Copy function added.

2010-06-14 17:12 JMS, revision 64589

Added wxIsPod<>. Use it in wxAny instead of wxIsMovable<>.

2010-06-14 14:08 JWE, revision 64588

add sample and connected the textCtrl with the mask

2010-06-14 10:58 MW, revision 64587

Corrections to the previous commmit.

2010-06-14 08:00 MW, revision 64586

Add --disable-gui and --disable-all-features builds to the ravnsgaard buildbot.

2010-06-13 16:30 FM, revision 64583

moved non-interactive tests for wxDynamicLibrary, wxGet/SetEnv, wxTempFile, wxCopyFile to appropriate CppUnit test suites; removed wxFile and wxTextFile tests (complete testsuites already exist for them)

2010-06-13 16:05 MYA, revision 64582

Some remain works for image rescale. 1. Use wxDynamicCast instead of C++ one; 2. Use a temp wxImage to rescale and show; 3. We can use two digits under dicemal dot.

2010-06-13 15:35 MYA, revision 64580

The image can scale with user input now.

2010-06-13 12:00 JMS, revision 64578

Use wxComboCtrl::SetTextCtrlStyle() in the combo sample

2010-06-13 11:59 JMS, revision 64577

Added wxComboCtrl::SetTextCtrlStyle()

2010-06-13 10:46 JMS, revision 64576

Documented pythonic iterators

2010-06-13 09:06 MYA, revision 64574

Change to a better name. :)

2010-06-13 08:40 MYA, revision 64573

Validate the input data from image dialog.

2010-06-13 07:38 MYA, revision 64572

Popup the image dialog in richtext sample.

2010-06-12 23:26 VZ, revision 64571

Fix scrolling to the bottom in wxTextCtrl::AppendText(). The old code used EM_LINESCROLL which could scroll too far if the caret wasn't in the first line of the control. Instead of trying to compute the correct number of the lines to scroll, just use WM_VSCROLL with SB_BOTTOM parameter instead. Closes #12123.

2010-06-12 23:10 SJL, revision 64570

Add support for wxKeyCode conversion in OSX wxUIActionSimulator code. Improve key sending order. Closes #12117

2010-06-12 20:21 VZ, revision 64569

Fix processing of events for MRU entries #10 and more in docview. We only handled events for wxID_FILE1..wxID_FILE9 range but there can be more than 9 entries in the MRU list. Handle events for as many of them as there are correctly. This required adding a fallback handler for all menu events and checking if the id of the menu item is in the MRU range inside it. Also move this to wxDocManager itself from wxDocParentFrameAnyBase as it's common for all kinds of frames anyhow. Closes #12141.

2010-06-12 13:28 VZ, revision 64566

Stop the timer in console IPC client sample once we don't need it any more. Under MSW the timer appeared to be flooding the message queue with timer events faster than we could process them (which seems incredible for the timer interval of 1 second but still seems to happen), so the idle events were never generated and the sample didn't work at all. Now stop the timer once we get a last notification from it to let the program become idle and run the test function scheduled from the timer handler. See #11528.

2010-06-12 13:28 VZ, revision 64565

Avoid sending spurious socket read notifications in wxMSW. If a read notification is generated for a socket, it should be possible to read something from it without blocking but this doesn't seem to be always the case under MSW for some reason. And this results in all sorts of problems in wxSocket and wxIPC code, so check for this at wxSocketImpl level and not send the notification at all if there is no data to read. See #11528.

2010-06-12 12:31 JMS, revision 64564

For wxTextCtrl editor, set the bold font before margins are set up or it will not work properly

2010-06-12 11:47 JMS, revision 64563

Keyboard handling was blocked by label editor. Also try to maintain label editor focus state when navigating between properties.

2010-06-12 11:30 JMS, revision 64562

Added wxPropertyGrid::DedicateKey(), which prevents specific key presses from being eaten by editor controls. This is useful for customizing keyboard navigation. Also added utility function wxPGFindInVector<>(), which is used in the new code, and also in some other places.

2010-06-11 22:42 VZ, revision 64559

Add wx/msgqueue.h to the list of wxBase headers and rebake. This header has somehow never been added to build/bakefiles/files.bkl, do add it now.

2010-06-10 17:17 JWE, revision 64557

unitary test finished for wxMaskedEdit

2010-06-10 16:56 VZ, revision 64555

Fix typo in an error message in XTI code. Closes #12139.

2010-06-10 16:36 MYA, revision 64554

Make the dialog and the sample ready, now deal with the simple aligment/resize layout.

2010-06-10 14:43 RR, revision 64552

Implemented wxDataViewColumn for wxOSX/Cocoa

2010-06-10 13:53 RR, revision 64550

Suppress warning about double->int conversion

2010-06-10 13:47 RR, revision 64549

Make wxDataViewCtrl::GetColumnPosition() return the index under MSW as per GTK and the docs (fixes #12129), give immediate visual feedback after calling e.g. wxDataViewColumn::SetHidden(true) under MSW, also per GTK+ and as I'd expect. Make GTK+ control emit header click events also for non-reorderable columns. Add a few tests for wxDataViewColumn::SetHidden() and wxDataViewCtrl::GetColumnPosition()

2010-06-10 12:40 VZ, revision 64548

Add missing Init() call to one of wxListBox ctors in wxMSW. Overloaded ctor taking wxArrayString didn't call Init() so the wxListBox fields were not initialized. Fix it by adding the Init() call. Closes #12138.

2010-06-09 22:35 JMS, revision 64544

wxAny CheckType() member functions are now const

2010-06-09 22:22 JMS, revision 64543

wxAny CheckType() member functions should be const

2010-06-09 20:10 JTN, revision 64542

WindowDC implementation

2010-06-09 20:05 JTN, revision 64541

Fixes QImage -> wxImage conversion

2010-06-09 20:04 JTN, revision 64540

Fix #64534 commit

2010-06-09 20:03 FM, revision 64539

Increase interoperability between wxPoint and wxRealPoint introducing constructors which convert between the two classes.

2010-06-09 19:58 FM, revision 64538

fix bug in wxGDIPlusMatrixData::Rotate: it must take radians for coherency with docs and other ports but GDI+ wants degrees.

2010-06-09 19:55 FM, revision 64537

fix couple of warnings; remove wxUsleep dummy test

2010-06-09 19:51 JTN, revision 64536

Always create a QPen/QBrush associated to wxPen/wxBrush (including default constructor)

2010-06-09 19:49 JTN, revision 64535

Basic wxWindow implementation and paintEvent

2010-06-09 19:47 JTN, revision 64534

Better default value handling for wxPoint and wxSize

2010-06-09 16:28 FM, revision 64533

Implement wx-prefixed macros versions of DECLARE_EVENT_TABLE, BEGIN_EVENT_TABLE* and END_EVENT_TABLE macros. Implement compatibility aliases for non-prefixed macro names. Require a final semicolon where possible.

2010-06-09 15:55 FM, revision 64532

Implement wx-prefixed macros versions of DECLARE/IMPLEMENT*CLASS macros. Implement compatibility aliases for non-prefixed macro names. Require a final semicolon where possible. Correct a recurring error in the docs: IMPLEMENT/DECLARE_CLASS are alias to the DYNAMIC macros, not to the ABSTRACT macros.

2010-06-09 15:23 FM, revision 64531

Implement wx-prefixed macros versions of DECLARE/IMPLEMENT_APP_* macros. Implement compatibility aliases for non-prefixed macro names. Require a final semicolon where possible.

2010-06-09 13:13 VZ, revision 64527

Don't use -kAddToPopUp() gettext hack with Scintilla. Instead, create a dummy file containing the user-visible strings defined in Scintilla sources. For now it's manually managed but it might make sense to automatically generate it in the future.

2010-06-08 15:34 MYA, revision 64525

Use dialog instead of wxPanel as the property interface. Only change to panels if we really need in the future.

2010-06-08 00:02 JWE, revision 64523

resolved some wxMaskedField problems and begin to debug wxMaskedEdit

2010-06-07 19:16 VZ, revision 64521

Include locale.h in cmdline.cpp to ensure LC_ALL is defined. This is needed for at least VC++ 6 and is more correct anyhow.

2010-06-07 09:39 JS, revision 64520

GetStyleMergedWithBase no longer hangs if there's a loop implied by based-on styles.

2010-06-07 09:39 JS, revision 64519

GetStyleMergedWithBase no longer hangs if there's a loop implied by based-on styles.

2010-06-06 20:52 FM, revision 64515

revert previous revision about localization of decimal points in GetHumanReadableSize() test strings: using CLocaleSetter is a better solution.

2010-06-06 17:45 FM, revision 64514

add to wxRealPoint the same operators already available for wxPoint and wxSize

2010-06-06 17:44 FM, revision 64513

fix building without PCH

2010-06-06 17:41 FM, revision 64512

Move a couple of wxFileName tests from the console sample to the existing FileNameTestCase. Fix FileNameTestCase::TestGetHumanReadable to check the result against expected strings using the correct decimal point for the locale used on the test machine.

2010-06-06 16:21 FM, revision 64511

remove some tests from the console sample: - wxLog already has a better cppunit test class - wxLocale test in the console sample didn't work on Windows and wasn't very useful move some tests from the console sample to CppUnit tests: - wxPathList => PathListTestCase - wxModule => ModuleTestCase remove some tests about removed functions of wxMimeTypesManager

2010-06-06 14:41 VZ, revision 64510

Don't post process events twice but return correct value from ProcessEvent(). This is a further complication to the event handling code which aims to handle correctly the case of wxScrollHelperEvtHandler which doesn't respect the request to process events only in it but always passes it to the next handler in the chain itself while still returning the correct value from ProcessEvent() itself to avoid breaking code that relies on it, like the background painting code in wxHtmlWindow. This replaces the change of r64495 and does return true from DoTryChain() in wxScrollHelperEvtHandler case but sets the "skipped" flag in the event itself to indicate that it wasn't really processed and ProcessEvent() now checks it after calling ProcessEventLocally() and returns the correct value appropriately.

2010-06-06 14:41 VZ, revision 64509

Fix compilation errors in wxGTK wxDataViewCtrl in ANSI mode. wxGTK_CONV() macro can only be used in classes which have m_font member, otherwise the font needs to be specified explicitly.

2010-06-06 14:35 JMS, revision 64508

To make it clear in the sample that a custom animation is used, use wxSHOW_EFFECT_BLEND instead of SLIDE_TO_BOTTOM, and add a text '(custom animaton)'

2010-06-06 13:37 FM, revision 64507

get rid of wxMimeTypesManager::ReadMailcap and wxMimeTypesManager::ReadMimeTypes from old include files and from the docs.

2010-06-06 13:35 FM, revision 64506

document wxTransparentColour global instance

2010-06-06 13:34 FM, revision 64505

more readable argument names for wxDC::DrawArc

2010-06-06 11:35 JMS, revision 64504

In wxComboCtrlBase::DoShowPopup(), if the popup window is a generic TLW or a 'perfect' wxPopupWindow, then try to set focus to the popup control at the end of show

2010-06-06 11:15 JMS, revision 64503

Use ShowWithEffect() in the sample wxComboCtrlWithCustomPopupAnim instead of manual window manipulation in timer event

2010-06-06 00:58 VZ, revision 64500

Don't send selection events for an already selected item in wxMSW wxListBox. Remember the last item for which a listbox notification event had been sent and don't send it again if the user clicks on an already selected item. This is consistent with wxGTK behaviour and generally makes more sense: why should we send an event if the selection didn't really change?

2010-06-06 00:58 VZ, revision 64499

Don't send listbox selection events when mouse wasn't clicked on an item. Windows sends events even if the mouse is clicked in the area below the items, filter them out by checking the item under the mouse ourselves. Also use synchronous GetMessagePos() function to get the mouse position instead of the asynchronous GetCursorPos() which was wrongly used by the old code.

2010-06-06 00:58 VZ, revision 64498

Use mouse position to find the item for selection events in wxMSW listbox. Using LB_GETCARETINDEX doesn't work when the mouse is used to make selection because it always returns the index of the last item, even if the mouse is clicked below it, on an area without any listbox items. So use the mouse position to find the item in this case but still use LB_GETCARETINDEX to find the item when the keyboard is used. This required adding a flag to wxListBox storing the kind of the last input message that it received as there doesn't seem to be any way to determine how the message was generated otherwise. This code will be refactored/improved further in the next two commits.

2010-06-06 00:57 VZ, revision 64497

No changes, just refactor wxListBox initialization in wxMSW. Extract member fields initialization in Init() method instead of duplicating it in default ctor and Create().

2010-06-06 00:57 VZ, revision 64496

Refactor listbox event sending code to avoid duplication. wxMSW wxListBox implementation contained the same code as the private LBSendEvent() function in lboxcmn.cpp, so make this function a (protected) member of wxListBoxBase and reuse it instead. Also change its and CalcAndSendEvent() return type to bool to be able to return whether the event was processed or not. As the result of this refactoring, the "is selected" flag is now set correctly for the selection events under MSW (it was always off before).

2010-06-06 00:57 VZ, revision 64495

Don't return true from DoTryChain() if the event wasn't really processed. Correct the return value when an event handler didn't honour "process only in this handler" flag: we shouldn't pass the event to the further handlers in this case but we shouldn't return true neither as the event wasn't really processed. This corrects background painting of wxHtmlWindow broken by previous changes.

2010-06-05 19:28 PMO, revision 64491

Some minor implementations for wxWindow

2010-06-05 18:40 PMO, revision 64490

More menu related implementations (checked, radio)

2010-06-05 03:23 RD, revision 64489

m_id was already set, don't set it to the passed in value again as then we lose the value which may have been calculated for wxID_ANY.

2010-06-05 00:04 VZ, revision 64483

Correct EVT_LIST_BEGIN_LABEL_EDIT macro name in the documentation. The "LIST" part was missing. Closes #12124.

2010-06-04 11:07 JWE, revision 64482

unitary test

2010-06-03 23:14 FM, revision 64480

no real change: just rename "near" into "onNearPart" (MSVC doesn't like 'near' as variable name)

2010-06-03 17:25 JMS, revision 64477

Backported from wx2.9: Greatly reduce rare animation garbage in wxOwnerDrawnComboBox drop-down animation (see #12087)

2010-06-03 17:16 JMS, revision 64476

Greatly reduce rare animation garbage in wxOwnerDrawnComboBox drop-down animation (fixes #12087)

2010-06-03 12:35 VZ, revision 64475

Drop the column being dragged at the correct position in wxGrid. The column was being always dropped after the column at drop position but this was incorrect and didn't correspond to the visual feedback drawn by wxHeaderCtrl: if the drop position is over the "near" part of the column, the column should be dropped before it instead. Do the check for this in wxGrid code too now. Closes #12120.

2010-06-03 12:35 VZ, revision 64474

Test for wxPen validity before testing for its style in wxGTK wxDC. Calling wxPen::GetStyle() on an invalid pen resulted in an assert, breaking the grid column drawing while reordering them, for example, because the code in wxGrid uses wxDC::DrawRectangle() after calling SetPen(wxNullPen). Fix this by testing for the pen validity first.

2010-06-03 12:35 VZ, revision 64473

Assert if an invalid column index is specified when inserting wxListCtrl item. This also catches the case of inserting an item in a report mode wxListCtrl without adding any columns to it first. Previously this did result in an assert but with a less clear error message and, most importantly, still a crash afterwards. Assert only now, don't crash. The message could still be improved but hopefully people will be able to understand that inserting items when no columns are defined is not the right thing to do. Closes #12119.

2010-06-02 17:02 MYA, revision 64471

Recreate the image control dialog panel using DialogBlocks. Add a new richtextimagepage.h/cpp and update the bakefiles.

2010-06-02 16:56 FM, revision 64470

fix StringTestCase::FromDouble: newer MSVC versions use three digits for the exponent width

2010-06-02 16:51 FM, revision 64469

remove wxFileConfig tests: FileConfigTestCase already tests features tested by console sample and is much more complete.

2010-06-02 16:42 FM, revision 64468

Move some wxPrintf() tests (taken from glibc) to VsnprintfTestCase. Other tests are more difficult to convert in CppUnit style and not worth the effort (since now we don't use wx's own vsnprintf implementation anymore typically).

2010-06-02 16:17 JWE, revision 64467

add documentation and unitary test file for maskedEdit.

2010-06-02 16:12 FM, revision 64466

Move wxRegConfig tests from console sample to a new wxRegConfigTestCase class. Remove wxRegKey tests from console sample: on newer Windows they only work when run with admin privileges; also we can expect wx[Reg]ConfigTestCase to already check a good number of wxRegKey features.

2010-06-02 15:53 FM, revision 64465

Make wxConfig ctor docs more readable. Add a simple stub for wxRegConfig class so that Doxygen highlights it just like it does with wxFileConfig.

2010-06-02 13:58 VZ, revision 64464

Fix recently broken forwarding of events between event handlers. After the recent changes to the event processing logic, forwarding an event from one event handler to another one stopped working correctly because the per-event "process here only" flag prevented it from following the event handler chain after forwarding. This notably broke keyboard navigation in wxComboCtrl under MSW in wx itself and probably quite a few of other things in user code. Fix this by replacing the boolean flag with a pointer to the handler to which the processing of this event should be restricted. This allows the full processing to still take place if an event is forwarded to another handler. So wxEvent::ShouldProcessHereOnly() is now called ShouldProcessOnlyIn() and takes a wxEvtHandler parameter. This made appear a problem in wxScrollHelperEvtHandler code that was hidden by the bug above: the events were still processed multiple times in it. To fix this, also add wxEvent::DidntHonourProcessOnlyIn() and take it into account in the base class code. Did I mention that wxScrollHelperEvtHandler must die? Add another unit test checking that forwarding works correctly.

2010-06-02 13:58 VZ, revision 64463

Fix drawing of scaled bitmaps in wxCairoContext. We must offset the coordinate system before scaling it, otherwise incorrect offset is used. Add a test for drawing translated/scaled bitmaps to the drawing sample. See #11097.

2010-06-02 13:58 VZ, revision 64462

Don't hard code position of the drawing sample window and increase its size. Hardcoding position to 50,50 is inconvenient, let the window manager position the window as configured by user. Also, the vertical size of the sample was too small to see the contents of most pages, increase it.

2010-06-02 13:58 VZ, revision 64461

Remove unused GetTextExtent() call from wxProgressDialog. This seems to be a left-over from the old, manual positioning code. As we use sizers now, it's not needed any more.

2010-06-02 12:49 FM, revision 64460

disable FTPTestCase by default. Add a warning for the user when running --list without arguments: not all tests are listed, only those enabled by default (e.g. FTPTestCase doesn't appear there)!

2010-06-01 17:38 JMS, revision 64459

Interpret arrow keys correctly in wxMSW wxComboCtrl::IsKeyPopupToggle()

2010-06-01 17:31 JMS, revision 64458

Interpret arrow keys correctly in wxMSW wxComboCtrl::IsKeyPopupToggle() (fixes #12114)

2010-06-01 17:01 JMS, revision 64457

In wxComboPopupEvtHandler::OnMouseEvent(), when need to relay event to drop-down button, call HandleButtonMouseEvent() directly, if possible. This is less confusing for the platform-specific wxComboCtrl implementations, and fixes issue where the drop-down button could remain in pressed state after the mouse button was lifted.

2010-06-01 16:17 JMS, revision 64456

For clarity: wxComboPopupExtraEventHandler -> wxComboPopupEvtHandler (there is nothing particularly extra about it)

2010-06-01 15:46 JMS, revision 64455

Refactored wxComboPopupExtraEventHandler::OnMouseEvent(). Now block mouse events from the popup control until mouse button has been seen in 'up' state (ignoring first mouse up). This matches Windows native combo box behavior (fixes #12115).

2010-05-31 16:59 VZ, revision 64454

Update AUI floating windows position and not just size on resize. When a window is resized, its position can change as well as its size but it wasn't updated before. Do it now. Closes #11421.

2010-05-31 16:59 VZ, revision 64453

Regenerate wxstd.pot with the recently added translatable strings. Simply reran "make wxstd.pot" in locale subdirectory.

2010-05-31 16:59 VZ, revision 64452

Don't disable wxID_PRINT_SETUP even when there is no active document. Printer can be setup without active document, remove the EVT_UPDATE_UI handler for wxID_PRINT_SETUP. See #11394.

2010-05-31 16:59 VZ, revision 64451

Translate strings used in doc-view printing code. Simply use _() instead of wxT() for the user-visible strings. Closes #12110.

2010-05-31 13:55 VZ, revision 64450

Use C locale for numbers in wx(File)Config. Using the current locale decimal point in config files results in problems when moving the files to another machine or even using a different locale on the same one, so don't do it. Always write the numbers using C locale and try to read them in C locale too first, but also try the current locale if we failed for backwards compatibility and to be tolerant with users who edit their config files by hand.

2010-05-31 13:55 VZ, revision 64449

Add wxString::FromDouble() and FromCDouble(). wxString::FromCDouble() is needed inside wxWidgets itself to format numbers independently of the current locale. FromDouble() was added for symmetry with ToDouble/ToCDouble() functions. Use std::locale for the implementation if available and manual wxLocale-based fallback otherwise.

2010-05-31 13:55 VZ, revision 64448

Make wxString::ToCXXX() methods always available. We use these methods inside wxWidgets itself and so want to always have them, even when wxUSE_XLOCALE==0. Provide replacement manual implementations for this case.

2010-05-31 13:55 VZ, revision 64447

No real changes, just avoid an unnecessary heap allocation in a test. We don't need to allocate the locale object in StringTestCase::ToDouble() on the heap (and then delete it -- or not, if an assertion fails before the function end), it's enough and simpler to just create it as a local variable.

2010-05-31 01:28 VZ, revision 64446

Fix wxFont::IsFixedWidth() under MSW to always return correct result. This function worked erratically, returning the correct result or not depending on the way it was created. Reimplement it using GetTextMetrics() to get the correct result in any case. Closes #4714.

2010-05-31 01:28 FM, revision 64445

Add a simple example to make it easier to get started (by copy&paste).

2010-05-31 01:28 FM, revision 64444

implement * and / operators for wxPoint, not only wxSize. Add to their documentation a note about the fact that the real operators are not class members but rather global functions.

2010-05-31 01:12 VZ, revision 64443

Add <span> tag and limited support for CSS styles to wxHTML. Parse "style" attributes of the HTML tags and honour those of them that can be mapped to the HTML 3 attributes. Also add a handler for <span> tag. Closes #10631.

2010-05-30 22:49 SJL, revision 64442

Add a basic wxUIActionSimulator::Text function for alpha characters

2010-05-30 22:05 VZ, revision 64441

No changes, just rebaked and reran autoconf. It seems that autoconf_inc.m4 hadn't been regenerated by a previous change as rerunning bakefile_gen resulted in a lot of changes in it, do it now without any other changes to ensure that the next commit only contains the changes due to its modification of files.bkl.

2010-05-30 22:05 VZ, revision 64440

Activate the view of a newly created document. This appears to be necessary under Mac where views are top level windows and should do no harm elsewhere. Also factor out the activation code in a new wxDocManager::ActivateDocument() method to avoid duplicating it. Closes #11417.

2010-05-30 22:05 VZ, revision 64439

Store page setup data in wxDocManager. Printing of documents from wxDocManager always used default page setup data, allow the user to configure it now. Add wxDocManager::m_pageSetupDialogData and add a handler for wxID_PRINT_SETUP command to it. Closes #11394.

2010-05-30 22:05 VZ, revision 64438

Don't generate AUINOTEBOOK_BG_DCLICK when clicking inactive arrow. Clicking on a disabled arrow shouldn't do anything, in particular it shouldn't generate a wxEVT_COMMAND_AUINOTEBOOK_BG_DCLICK event. See #12084.

2010-05-30 22:01 RR, revision 64437

Patch update, probably fixes #12090: wxGTK cursor handling revamp

2010-05-30 19:45 RR, revision 64436

Use GTKXXX notation for some more wxGTK specific methods for consistency

2010-05-30 18:53 VS, revision 64435

wxrc -g should output filenames in Unix format. It is customary in C source code and xgettext has problems with backslahes in #line comments. Fixes #10727.

2010-05-30 16:00 JS, revision 64434

Caret position corrected to end of selection

2010-05-30 16:00 JS, revision 64433

Caret position corrected to end of selection

2010-05-30 14:21 VS, revision 64432

Fix Shift+TAB navigation from wxNotebook. When the focus was on a tab label, Shift+TAB didn't move it out of the notebook to the preceding control, as it should. Instead, focus moved to the last control in the current notebook page. This change fixes it, TAB and Shift-TAB cycling through controls now behaves identically modulo direction.

2010-05-30 08:38 PC, revision 64431

Remove pizza backing window. When it is present, no-window widgets sometimes don't get expose events for reasons I could not determine. And it is dubious that it improved scrolling performance on modern hardware anyway, and almost certainly doesn't help now that GTK+ is using "client side windows".

2010-05-29 22:48 JWE, revision 64430

2010-05-29 12:35 VZ, revision 64429

Add "filter changed" event to wxFileCtrl. Generate an event when the selection in the filter combobox of wxFileCtrl changes. Closes #12099.

2010-05-29 12:35 VZ, revision 64428

Add wxConfig::Read(float *) overload. This uses Read(double *) but casts the result to float after checking that it is in the correct range. Closes #12100.

2010-05-29 12:35 VZ, revision 64427

Show OLE errors using wxLogDebug() in wxAutomationObject. Enable the previously commented out ShowException() but use wxLogDebug() in it instead of wxLogWarning() to avoid confusing the users with errors they don't care about. Closes #11632.

2010-05-29 12:01 JMS, revision 64426

Fixed assert when editing wxFontProperty with unspecified value (fixes #12086)

2010-05-29 10:22 FM, revision 64425

remove test code for wxScopeGuard (there's already a better ScopeGuardTestCase)

2010-05-29 10:20 FM, revision 64424

remove wxCmdLineParser tests; there is already a much more complete test suite (CmdLineTestCase). Refactor single instance checker test.

2010-05-29 10:00 FM, revision 64423

get rid of socket tests; there are marked as broken and we already have SocketTestCase in CppUnit test classes.

2010-05-29 09:56 FM, revision 64422

move all non-interactive FTP tests from the console sample to a new CppUnit FTPTestCase test.

2010-05-28 22:31 FM, revision 64421

Add examples of usage for easy copy-and-paste. Minor corrections and markup changes.

2010-05-28 15:31 JJ, revision 64420

Update configuration for wxX11 on OpenVMS

2010-05-27 22:03 JMS, revision 64419

In wxComboPopupExtraEventHandler::OnMouseEvent(): Also include wxEVT_LEFT_UP among the mouse events to be blocked when the cursor is outside the popup area. This fixes wxMSW bug where the popup disappears immediately after mouse button is released (see #12087).

2010-05-27 21:50 JWE, revision 64418

add regenerated files

2010-05-27 21:19 JWE, revision 64417

Add some fetaure in maskfield. I have created the skel of maskedfield. Regenerated bakefile. Tomorrow I will finish maskedit and if I have the time, begin unitary test.

2010-05-27 19:07 VZ, revision 64416

Ignore "%*" in the shell command strings in MSW registry. Apparently "%*" can be used now in addition to the usual "%1" in the MSW shell command strings. As we don't support passing more than one file to a command at once anyhow, simply ignore them. At least this avoids errors when trying to open files with some extensions. Closes #12091.

2010-05-27 19:07 VZ, revision 64415

Fall back on using tree/list control item text in wxDragImage. Use the item text instead of its image if it doesn't have any when creating a wxDragImage from a wxTreeCtrl or wxListCtrl item instead of just failing. Closes #4390.

2010-05-27 19:07 VZ, revision 64414

Correct wxEVT_AUXn_XXX event types names. They had a wrong "MOUSE" part in them while "MOUSE" is only used for the event table macros but not the event types themselves for some reason. Closes #12095.

2010-05-27 19:07 VZ, revision 64413

Add missing samples to samples.dsw. Add all the samples to the workspace file to allow building all of them at once easily. Closes #12098.

2010-05-27 17:11 JMS, revision 64412

Make wxComboCtrl::SetButtonPosition() now again work on wxMSW

2010-05-27 17:02 JMS, revision 64411

Disable Vista/Win7-style wxComboCtrl rendering in wx2.8 by default (define wxUSE_COMBOCTRL_VISTA_RENDERING=1 to enable it), as it may cause subtle drawing bugs with custom wxComboCtrls

2010-05-27 16:51 JMS, revision 64410

Fixed wxComboCtrl::SetButtonPosition() on Vista/Win7 by marking the drop-down button as 'non-standard' when its size or position is changed

2010-05-27 16:04 JMS, revision 64409

Added change log entry about the wxComboCtrl focus draw change

2010-05-27 15:45 JJ, revision 64408

use wxToggleButtonXmlHandler::DoCreateBitmapToggleButton on supoorted platforms only

2010-05-27 11:30 JWE, revision 64407

Finished to write maskedField classe Beginning test and after beginning wxEditCtrl

2010-05-27 01:05 FM, revision 64406

add docs for the global wxStringTokenize() function which were lost during latex=>doxygen conversion

2010-05-27 00:44 FM, revision 64405

fix incoherency between the wxThread implementation based on MSW threads and pthread: Delete()ing a thread which hasn't started yet must return wxTHREAD_MISC_ERROR

2010-05-26 19:37 RR, revision 64404

Applied patch, fixes #12090: wxGTK cursor handling revamp

2010-05-26 17:15 JMS, revision 64399

ComboControl -> ComboCtrl

2010-05-26 17:12 JMS, revision 64398

wxComboControl -> wxComboCtrl

2010-05-26 17:08 JMS, revision 64397

Backported wxComboCtrl::ShouldDrawFocus() from wxWidgets 2.9. This makes wxMSW wxOwnerDrawnComboBox look more native when wxCB_READONLY is used.

2010-05-26 16:54 JMS, revision 64396

Backported from wx2.9 improved wxComboCtrl/wxOwnerDrawnComboBox appearance under Vista/Win7. Should have been done years ago, really.

2010-05-25 23:15 VZ, revision 64394

Fix setting the fonts for wxMSW wxTextCtrl with wxTE_RICH(2) style. Using WM_SETFONT seemed to work with rich edit controls but in fact it doesn't, it only changes the font used by the control initially apparently but it can be reset later. Use EM_SETCHARFORMAT which is more reliable.

2010-05-25 17:32 JMS, revision 64393

Draw wxPropertyGrid drop down items with consistent (non-bold) font (fixes #12088)

2010-05-24 22:37 SJL, revision 64392

Improve wxUIActionSimulator modifier support. Add support for modifiers to the X11 implementation and improve the order of keys sent in the MSW implementation.

2010-05-24 15:09 JMS, revision 64391

Always call OnSetValue() for a property when values are being set for its children (fixes #12085)

2010-05-23 21:07 FM, revision 64390

remove streams tests: they're very basic and already-existing CppUnit stream tests are much more complete and extended.

2010-05-23 20:44 RR, revision 64389

non-PCH compilation

2010-05-23 18:31 PC, revision 64388

compile fix for GTK2 systems which have X11/extensions/xf86vmode.h

2010-05-23 12:53 VZ, revision 64387

Remove non-working or semi-working tests added from console.cpp. Remove tests added in r64324, there is no need to have commented out code here and UTF-8 test was pretty strange as well (it's far from clear what should the result of converting "utf8Invalid" be). This also suppresses a warning that these changes introduced.

2010-05-22 18:14 VZ, revision 64386

Added wxMessageQueue::Clear(). This method can be called from the posting thread to remove any still pending requests if they became unnecessary. Closes #10905.

2010-05-22 18:14 VZ, revision 64385

Fix for user input processing in wxProgressDialog. Yield for input event processing before updating the dialog instead of doing it after this as the latter apparently doesn't always work. Closes #10645.

2010-05-22 17:48 VZ, revision 64384

Use GTK+ functions for wxDisplay implementation. There is no need to use Xinerama for what GDK can do itself (see #11053). Also don't check for Xinerama in configure when using wxGTK2.

2010-05-22 17:43 VZ, revision 64383

Restore selection on click in row/column selection mode in wxGrid. This might be less consistent with the other selection modes but seems to be more convenient in practice, so restore the old, 2.8 behaviour and select the entire row/column on a simply click in row/column selection mode. Closes #12062.

2010-05-22 16:57 VZ, revision 64382

Modify wxBoxSizer minimal size calculations to respect the proportions. Make wxBoxSizer minimal size big enough to not only give each item enough space to satisfy its minimal size but also to respect the proportions among the items by default.

2010-05-22 14:07 VZ, revision 64381

Set wild card in the base class too in wxGTK wxFileDialog. Calling wxFileDialogBase::SetWildcard() ensures that GetWildcard() returns the correct value after wxFileDialog::SetWildcard() was called. The new code will also work correctly if we change SetWildcard() to handle empty wildcard as the default one (see #12079). Closes #12080.

2010-05-22 13:58 VZ, revision 64380

Correct notebook sample layout. Use a sizer for the frame to make sure its initial and minimal size correspond to the best size of the panel inside it. Also add a Layout() call on the panel which was somehow not done initially. And finally don't centre the frame, this is unnecessary.

2010-05-22 12:51 VZ, revision 64379

Unset the debug report preview dialog as critical window when it's hidden. Otherwise no events can be dispatched to any other window after wxDebugReportPreviewStd::Show() is called, resulting in apparent hanging of the application as can be seen in debugrpt sample.

2010-05-21 22:13 RR, revision 64378

Second try to get wxDataViewChoiceByIndex and its name right, hopefully fixes #11970: wxDataViewChoiceRenderer set/get methods should use the current selection index not a string

2010-05-21 17:25 VZ, revision 64377

Document wxDocManager::CloseDocument(). CloseDocuments() was documented but not CloseDocument(), this probably wasn't intentional.

2010-05-21 15:17 VZ, revision 64376

Minor corrections to wxFont size-changing methods. Closes #11959.

2010-05-21 15:17 VZ, revision 64375

Erase the column label background in wxGrid to avoid display artefacts. Apparently the column label text is not always drawn correctly when double buffering is used, so erase the background completely before drawing the text. Unfortunately this might result in flicker but presumably correct display is more important. Closes #12055.

2010-05-21 15:17 VZ, revision 64374

Use ListView_CancelEditLabel() to implement wxListCtrl::EndEditLabel(). Windows XP and later finally added a special message to cancel label editing, use it if available. Also improve the documentation of this method. See #7663.

2010-05-21 14:52 VZ, revision 64373

Always define SIZEOF_WCHAR_T if it's not defined under Windows. The assumption that SIZEOF_EVERYTHING_ELSE is defined when SIZEOF_INT is is wrong. While wxWidgets configure does define all SIZEOF_XXX at once, SIZEOF_INT could also be defined in some third party headers (e.g. Python.h) and we still need to define the other ones. In particular, doing this fixes the problem with SIZEOF_WCHAR_T not being defined during wxPython build. Closes #12013.

2010-05-21 14:51 VZ, revision 64372

Simplify and correct MSW selection of background brush for children painting. Check for the transparency of the window background in MSWGetBgBrush() itself and let MSWGetBgBrushForChild() just return the brush to be used. This required adding a MSW-specific hack to wxPanel to allow inheriting background of wxNotebook by its children which is slightly ugly but is exactly what we need to do in this case and makes the rest of the code much simpler. Also add a possibility to set the background of the page containing the control being tested to the widgets sample to test for background inheritance. This shows problems with wxSlider and wxRadioBox backgrounds but they're not new with this patch. Closes #12057.

2010-05-21 14:51 VZ, revision 64371

Fix focus debugging in the controls sample. A wrong format string was used in Printf() resulting in useless output.

2010-05-21 14:07 VZ, revision 64370

Yet another fix to event propagation in scrolled windows. Calling ProcessEventLocally() didn't work because the command events were not propagated to the parent window any more, breaking a lot of things including wxDataViewCtrl event generation in the generic version. So do restore ProcessEvent() call but use it on the next handler (i.e. the window itself) and not this one now. This still results in some duplicate calls but at least the events should be passed everywhere where they are expected to arrive. wxScrollHelperEvtHandler must die. Closes #12078.

2010-05-21 13:46 VZ, revision 64369

Fix cast from pointer to int in wxDataViewCtrl. This fixes compilation in 64 bit. Closes #12073.

2010-05-21 00:04 VZ, revision 64368

Fix wxListCtrl::EndEditLabel() which simply didn't work. Also document it (even though it's wxMSW-only for now) and add a test for it in the sample. Closes #7663.

2010-05-20 21:54 JTN, revision 64367

Implementation of most wxDC drawing functions

2010-05-20 21:30 SC, revision 64366

fixing infinite recursion

2010-05-20 20:52 JTN, revision 64365

Very basic support for wxDC and wxMemoryDC (rectangles and brushes)

2010-05-20 20:50 SC, revision 64364

def include was missing

2010-05-20 20:43 SC, revision 64363

adding more infos, links

2010-05-20 20:39 RR, revision 64362

Make GetIndexOf() and get_path() work for virtual list models, fixes #12073: wxDataViewCtrl crashes when deleting an item

2010-05-20 20:06 SC, revision 64361

adding building iphone projects

2010-05-20 19:58 SC, revision 64360

support compiling for iphone

2010-05-20 19:56 SC, revision 64359

adding all iphone files

2010-05-20 19:33 VZ, revision 64358

Fix wxScrollHelperEvtHandler broken by recent changes to event processing. Use ProcessEventLocally() added in r64261 (which was probably the one to break this) to forward event to the window itself instead of ProcessEvent() in wxScrollHelperEvtHandler::ProcessEvent() implementation. Calling ProcessEvent() didn't work any more in a case when another event handler was pushed on a wxScrolledWindow: in this case the EVT_SIZE and EVT_PAINT handlers defined in the window itself were not called at all any more. Add a unit test checking for the even more tortuous than usual event processing path in this particular case.

2010-05-20 18:36 SC, revision 64357

adding support for iphone

2010-05-20 18:22 JTN, revision 64356

wxBitmap implementation (QPixmap). Missing masks, palettes and bitmaps depths.

2010-05-20 14:39 SC, revision 64355

fixing copy paste error

2010-05-20 14:06 SC, revision 64354

adapting to new API

2010-05-20 08:09 SC, revision 64353

utils_osx isn't part of base but of core, moving wxMacWakeUp to a file that really is in base

2010-05-19 23:03 VZ, revision 64352

Document that wxWindow::FindWindowByXXX() functions may return NULL. This seems obvious but apparently isn't completely so to everybody. Closes #12074.

2010-05-19 21:16 SJL, revision 64351

In wxUIActionSimulator::Char send a key down event first, then key up. Also set end of line style to native.

2010-05-19 20:42 SJL, revision 64350

Update documentation now the wxUIActionSimulator X11 implementation takes a wxKeyCode.

2010-05-19 15:39 SC, revision 64349

not needed anymore

2010-05-19 15:38 SC, revision 64348

moving wxMacWakeUp outside COCOA_CARBON clause, fixes #12068

2010-05-19 14:36 VZ, revision 64347

Document wxHTTP::SetPostBuffer(). Closes #12040.

2010-05-19 14:36 VZ, revision 64346

No changes, just add a comment. There is no need to reproduce wxBase64Encode() in wxHTTP code, should just use the existing function instead.

2010-05-19 14:36 VZ, revision 64345

Document wxHTTP::Connect(wxSockAddress) overload. See #12040.

2010-05-19 10:27 SC, revision 64344

splitting methods

2010-05-19 10:26 SC, revision 64343

common wxMacWakeUp code across all platforms

2010-05-19 10:25 SC, revision 64342
  • R /wxWidgets/trunk/src/osx/core/evtloop_cf.cpp

common wxMacWakeUp code across all platforms

2010-05-19 09:25 SC, revision 64341

adding methoddefs

2010-05-19 09:24 SC, revision 64340

set default resolutions in case of errors

2010-05-19 09:23 SC, revision 64339

using wx dynamic cast

2010-05-19 09:21 SC, revision 64338

removing unused var

2010-05-19 09:18 SC, revision 64337

missing commit, fixes #12067

2010-05-18 21:13 JTN, revision 64336

wxBrush implementation (QBrush)

2010-05-18 20:43 JTN, revision 64335

wxPen implementation (QPen)

2010-05-18 12:29 VZ, revision 64334

Add AM_PATH_WXRC to wxwin.m4 for backwards compatibility. Although the new WXRC_CHECK is preferred, still allow using AM_PATH_WXRC for the applications which need to build in both 2.8 and 2.9 environments. Closes #12069.

2010-05-18 12:29 VZ, revision 64333

Compilation fix for wxUSE_LOG_DEBUG==0 case. Don't do anything in wxDISABLE_DEBUG_LOGGING_IN_RELEASE_BUILD() if we don't use debug logging anyhow. Closes #12070.

2010-05-16 22:12 SJL, revision 64332

Rework wxUIActionSimulator X11 backend. Refactor key event sending into a separate function and move it into an anonymous namespace along with the existing SendButtonEvent. Replace much of the window and display code with a simpler alternative. Add conversion from a wxKeyCode to an X11 KeyCode as per wxMSW, to do this wxCharCodeXToWX and wxCharCodeWXToX declarations were moved to utilsx11.h and WXKeySym was defined.

2010-05-16 17:52 RR, revision 64327

Added quick implementation of wxDataViewChoiceByIndexRenderer, closes #11970 (wxDataViewChoiceRenderer set/get methods should use the current selection index

2010-05-16 17:44 FM, revision 64326

remove TestTimer() (adds nothing to existing tests) and move wxStopWatch tests to a new CppUnit test.

2010-05-16 17:36 RR, revision 64325

No-PCH compilation fix

2010-05-16 17:32 FM, revision 64324

move TestUtf8() and TestEncodingConverter() functions to UnicodeTestCase. Disable some code which does not run clean and mark it with FIXME comments (needs revision).

2010-05-16 17:29 RR, revision 64323

Part II of: Add GetChoice() and GetChoices() getters to all choice renderers and actually mention it in the docs

2010-05-16 17:26 RR, revision 64322

Add GetChoice() and GetChoices() getters to all choice renderers and actually mention it in the docs

2010-05-16 16:53 FM, revision 64321

remove ZIP tests: they seem to have been greatly expanded and enhanced by tests/archive/archive.cpp and tests/archive/ziptest.cpp

2010-05-16 16:44 RR, revision 64320

Don't call super class explicitly so overriding is possible, closes #12025 (wxDataViewVirtualListModel calls super-class' version of certain virtual methods).

2010-05-16 16:36 FM, revision 64319

remove wxDateTime tests which were already extracted as tests/datetime/datetime.cpp (keep only the interactive test)

2010-05-16 16:31 FM, revision 64318

move TestTextInputStream() function in CppUnit's TextStreamTestCase class

2010-05-16 16:30 RR, revision 64317

Applied #11755: wxBitmapToggleButton Xml Handler

2010-05-16 16:23 RR, revision 64316

Allow calling iter_children with parent being NULL, hopefully fixes #12035 (wxDataViewCtrl crashes when selecting item)

2010-05-16 16:02 PMO, revision 64315

Update to trunk r64311

2010-05-16 15:21 VS, revision 64314

Fix incorrect painting of backgrounds inside notebook. Children without transparent background (e.g. wxListBox) were still pained using notebook's background brush. They shouldn't, it should apply only to transparent-bg controls. This fix is not perfect, see #12057.

2010-05-16 14:31 VZ, revision 64313

Mention that stock bitmaps are a wxGTK-only feature for now. Apparently people expect to see stock bitmaps under MSW too, make it clear that they won't be used there. See #12051.

2010-05-16 14:31 VZ, revision 64312

Fix links to wxArtClient and wxArtID in the generated documentation. Add a "class" keyword to fix what looks like a bug in Doxygen. Closes #12052.

2010-05-15 17:24 PMO, revision 64311

Added wxCalendarCtrl implementation from Kolya Kosenko

2010-05-15 13:36 PMO, revision 64310

Remove obsolete qt files

2010-05-15 13:15 VZ, revision 64309

Clip drawing in wxRendererGeneric::DrawHeaderButtonContents(). Clip drawing of the icon and bitmap to the header rectangle. Don't clip the text because we already ellipsize it to avoid overflowing but do the ellipsization correctly, using wxControl::Ellipsize() instead of the simple (and wrong) duplicated version here. Also correct and simplify the alignment calculations. Closes #12047.

2010-05-15 13:15 VZ, revision 64308

Don't change the current pen and brush in DrawHeaderButtonContents(). Renderer methods shouldn't affect the functions drawing on the DC after it but the wxRendererGeneric implementation did. Use wxDC{Pen,Brush}Changer classes instead of calling wxDC::Set{Pen,Brush}() directly.

2010-05-15 12:47 VZ, revision 64307

Add more tests for wxRendererNative::DrawHeaderButton(). Test using icons and bitmaps in it. Also show the native/default implementation of this method and not only our overridden version. See #12047.

2010-05-15 12:47 VZ, revision 64306

Remove wxGTK-specific text shift in wxRenderer::DrawHeaderButtonContents(). This was probably related to the code removed by r63947 and doesn't seem to be needed here neither (and could presumably result in the same problems as in the ticket #11780).

2010-05-13 17:31 VZ, revision 64302

Never enable wxSpinCtrlGenericBase window itself at underlying toolkit level. We create wxSpinCtrlGenericBase window disabled at underlying toolkit level (but enabled at the level of wxWidgets API, of course), but calling Disable() and Enable() on it re-enabled it resulting in loss of mouse events under Windows. Don't re-enable it (again, at the low-level toolkit level only) in its Enable() any more but keep this window itself always disabled. Closes #12045.

2010-05-13 17:31 VZ, revision 64301

Use GetWidgets() in the widgets samples instead of GetWidget2(). Add a function which can be overridden to return an arbitrary number of widgets instead of having just GetWidget() and GetWidget2(): spin control page already uses 3 widgets (and defines GetWidget3() which is never called) and we could have even more in the future. Just use a generic solution which will always work. The practical consequence of this is that the "Enable/Disable" menu item now also enables and disables the wxSpinCtrlDouble in the spin page, see #12045.

2010-05-13 16:37 VZ, revision 64300

No changes, just cleanup the image part of the docview sample. Remove unnecessary, never used methods. Don't use pointers when objects or references can be used more safely. Don't name classes which are not part of wx with "wx" prefix to avoid confusing people. Don't define empty unnecessary event tables. Prefer wxScrolledWindow::SetVirtualSize() to SetScrollbars(). Stop using "protected" when "private" should be used.

2010-05-13 16:37 VZ, revision 64299

Document wxDocument::DeleteContents(). This method purpose was not quite clear as it was only mentioned in passing in documentation of OnCloseDocument() but not really documented itself. Also don't call it from wxDocument dtor as this is useless: the user-defined overridden version will never be called from here and the base class version does nothing.

2010-05-13 10:36 JMS, revision 64298

Make text drawn by wxGraphicsContext slightly less intrusive

2010-05-13 10:22 JMS, revision 64297

Added wxGraphicsContext::Create(const wxEnhMetaFileDC& dc) so that wxPrintPreview can work with wxMSW's wxGraphicsContext (closes #12028)

2010-05-13 08:25 VS, revision 64296

Add missing check for wxUSE_FILE_HISTORY existence.

2010-05-12 16:34 VZ, revision 64295

Refactor wxDocParentFrame and wxDocMDIParentFrame to share common base class. Use the same approach as for the child frames: add a base template class which allows wxDocParentFrame to inherit from wxFrame and wxDocMDIParentFrame from wxMDIParentFrame while still allowing to reuse the common code. This reduces code duplication and should make implementing parent AUI document frame easier as well, see #8945.

2010-05-12 10:18 VZ, revision 64294

Restore wxString::Printf() example showing position parameters in the docs. The example was lost during the translation of the manual to Doxygen. Closes #12038.

2010-05-11 23:25 FM, revision 64293

update the main page of the manual to be more consistent; update its date

2010-05-11 23:12 FM, revision 64292

fix errors/inconsistencies pointed out by ifacecheck

2010-05-11 23:10 FM, revision 64291

better error message when an inconsistency has been found

2010-05-11 21:44 FM, revision 64290

minor fixes to reduce number of Doxygen warnings

2010-05-11 21:39 FM, revision 64289

img tags need a final slash as they are empty tags; change <img> => <img/>

2010-05-11 21:37 FM, revision 64288

make H3 titles center-aligned (fixes the display of the manual version for HTML docs which currently appears left-aligned)

2010-05-11 12:40 JJ, revision 64287

Update OpenVMS comiles support

2010-05-11 12:39 VZ, revision 64286

Fix position for wxKeyEvents in wxMSW. Use ScreenToClient() instead of painstakingly (and incorrectly) transforming the position in this function itself. Closes #12024.

2010-05-11 09:16 FM, revision 64285

fix for non-PCH builds; also use wxMilliSleep instead of wxThread::Sleep since the former is more readable (it's clear that it takes milliseconds).

2010-05-10 23:48 FM, revision 64283

move code testing wxThread classes from the console sample to a new CppUnit test

2010-05-10 23:28 VZ, revision 64282

Build fix: forgotten part of the previous commit. This commit should have been part of r64281. Also notice that the previous commit message mentioned a wrong ticket number, see #10572.

2010-05-10 23:22 VZ, revision 64281

Add column parameter to wxListCtrl::GetItemText(). Allow retrieving the text from columns other than the first one directly. Add implementations for MSW and generic versions, documentation and a unit test. Closes #11597.

2010-05-10 23:10 VZ, revision 64280

Change wxDIALOG_NO_PARENT value to avoid clashing with wxCENTRE. Use a bit freed by removing wxTINY_CAPTION_HORIZ for wxDIALOG_NO_PARENT. This allows to move it out from the lower byte of the style word to avoid conflicts with the button selection flags which can be commonly combined with the dialog styles. More precisely, wxDIALOG_NO_PARENT used to clash with wxCENTRE, meaning that wxSingleChoiceDialog, for example, was always created without parent because its default style included wxCENTRE. This commit fixes this particular bug and probably more similar ones.

2010-05-10 23:09 VZ, revision 64279

Replace wxTINY_CAPTION_{HORIZ,VERT} with a single wxTINY_CAPTION. These two styles were always equivalent so we can just as well replace them with a single one and stop wasting an extra bit.

2010-05-10 23:09 VZ, revision 64278

No changes, just added comments summarizing the use of style bits. Add comments allowing to see more clearly the styles allocation. Please make sure to amend them if you change any style values in the future.

2010-05-10 23:02 VZ, revision 64277

Don't use wxWindow::ClearBackground() in the image sample and explain why. Painting on both wxPaintDC and wxClientDC simultaneously doesn't work well, e.g. under Windows the client DC can be actually erased after we finished painting the window contents, overwriting it. Simply use wxDC::Clear() instead of wxWindow::ClearBackground() to avoid this and document the danger of using ClearBackground() from EVT_PAINT handler. Closes #10700.

2010-05-10 21:40 SJL, revision 64276

Update remaining wxUIActionSimulator files to use native line endings.

2010-05-10 21:38 SJL, revision 64275

Treat a keycode passed to wxUIActionSimulator on MSW as a wxKeyCode, demonstrate in the sample and update the docs. Update line ending types to native.

2010-05-10 16:16 JMS, revision 64274

Make text printed by wxGraphicsContext shorter

2010-05-10 16:14 JMS, revision 64273

Use wxGraphicsContext to draw some text and a rectangle around it (so that GetTextExtent() can be verified to work correctly)

2010-05-10 15:54 JMS, revision 64272

In wxGDIPlusContext::GetTextExtent(), return more accurate text height if possible

2010-05-10 15:52 JMS, revision 64271

Set wxGraphicsContext page scale, which is required for printing to work properly

2010-05-10 14:40 SJL, revision 64270

Add basic keyboard example to wxUIActionSimulator sample

2010-05-10 09:51 SJL, revision 64269

Update wxUIActionSimulator sample to use screen position, now works correctly in MSW after the absolute positioning fix

2010-05-09 23:36 SJL, revision 64267

Update wxUIActionSimulator::MouseMove on MSW to use absolute positioning in line with the documentation

2010-05-09 20:59 SJL, revision 64266

Add basic MSW modifier key support to wxUIActionSimulator, as per OSX

2010-05-09 20:51 SJL, revision 64265

Tidy up spacing in wxUIActionSimulator

2010-05-09 16:55 VZ, revision 64264

Replace public wxEvtHandler::ProcessEventHere() with private TryHere(). ProcessEventHere() doesn't have to be public any more now that we have ProcessEventLocally() which is safe to call from the outside (i.e. doesn't forget about the chained event handlers and validators). Still keep this function because it makes the code more modular and also because we might want to make it virtual for consistency with TryBefore() and TryAfter() later. Also rename it to TryHere() to make the symmetry with these functions more manifest.

2010-05-09 16:55 VZ, revision 64263

Use ProcessEventLocally() instead of ProcessEventHere() in docview code. Use wxEvtHandler::ProcessEventLocally() instead of ProcessEventHere() when forwarding events in the docview code. This ensures that any event handlers chained with the objects involved (document manager, document, view) will be used. Incidentally the old code didn't work at all as ProcessEventHere() didn't even call TryBefore() where the (further) forwarding was implemented. Closes #10640.

2010-05-09 16:55 VZ, revision 64262

Add wxWindow::ProcessWindowEventLocally() and use it in wxMSW MDI code. Add ProcessWindowEventLocally() which wraps ProcessEventLocally() in the same way as ProcessWindowEvent() wraps ProcessEvent(). I.e. it allows to process the event in this window only, without propagating it upwards, but taking into account any event handlers associated with it. Use the new method in wxMDIParentFrame code in wxMSW to ensure that event handlers pushed on MDI children frames are taken into account. Add a test for this to the MDI sample. Closes #11225.

2010-05-09 16:55 VZ, revision 64261

Refactor the event processing code to add ProcessEventLocally(). This new method can be used to only process the event in this handler or any handlers connected to it (unlike ProcessEventHere() which doesn't follow the chain at all), without propagating the event upwards (unlike ProcessEvent()). Unfortunately implementing this required a field to wxEvent but there doesn't seem to be any other way to do what we need. There should be no user-visible changes after this commit, it just paves the way for the upcoming fixes.

2010-05-09 16:55 VZ, revision 64260

Call wxEvtHandler::TryBefore() only once from ProcessEvent(). The event pre-processing hooks associated with the window should be called only once during the event processing, we don't need to call TryBefore() for each and every event handler associated with the window too. This makes the code slightly simpler and faster and shouldn't change the behaviour of any existing code.

2010-05-09 12:48 JMS, revision 64259

Suppress SetFocus() warning in wxVListBoxComboPopup

2010-05-09 12:29 JMS, revision 64258

Supress SetFocus() warning in wxVListBoxComboPopup

2010-05-09 12:27 VS, revision 64257

Prevent idMenuTitle from being accidentally used as invalid wx ID.

2010-05-09 12:27 VS, revision 64256

Whitelist wxID_NONE as valid menu item ID.

2010-05-09 12:27 VS, revision 64255

Fixed popup menu's title to be bold regardless of method used. Popup menus with title set via SetTitle() had bold font, but menus created by passing title as ctor argument used normal font. Fixed this by using the same code (SetTitle) in both cases, instead of having two independent (and out of sync) implementations of the same functionality.

2010-05-09 11:36 SJL, revision 64254

Replace the bool modifier flags in wxUIActionSimulator with an int representing wxKeyModifier values

2010-05-08 17:31 VS, revision 64248

wxMsgCatalog destructor should be public. Fixes #12031.

2010-05-08 17:31 VS, revision 64247

Fixed a test in wxTranslations::GetString() to use UINT_MAX instead of -1. See #12031.

2010-05-08 12:28 VZ, revision 64246

Invalidate wxListBox best size immediately without waiting for idle time. Since r53743 the listbox best size was only invalidated during idle time but this meant that it could be laid out using incorrect old best size. So while we still defer (expensive) horizontal extent calculation until later, do invalidate the best size immediately to ensure the listbox is laid out correctly.

2010-05-08 01:38 VZ, revision 64245

Fix crash in wxCommandProcessor of capacity N when N-1 commands were undone. Performing N commands (where N is the maximal number of commands stored by wxCommandProcessor), undoing N-1 of them and performing another command resulted in a crash because a dangling pointer was left. Closes #12027.

2010-05-08 01:38 VZ, revision 64244

Fix assert during separator items creation introduced by r64226. Add separators with correct kind, setting m_kind doesn't work any more because it's overwritten below. Also add a comment explaining why is overriding the user-specified kind the right thing to do here.

2010-05-08 01:38 VZ, revision 64243

Fix bugs related to two phase creation of wxRibbon classes. Add missing wxRibbonControl::Create() method. Ensure that member variables are always initialized by the ctor. Check that we're fully initialized in EVT_SIZE handler. Closes #12018.

2010-05-07 15:38 JJ, revision 64241

Updating setup for OpenVMS

2010-05-07 08:45 VS, revision 64240

Integrate with GNOME's Recent Documents menu. GTK+ provides GtkRecentManager for this purpose since 2.10. Use it in wxFileHistory if available. Integration is simple, we just add a file to GtkRecentManager in addition to normal wxFileHistory handling. A well-behaved GNOME application would use GtkRecentManager as the primary store for recent files, so that it reflects when the user works with supported files in another editor(s) too. But for now, this is much better than no support at all.

2010-05-06 20:28 VS, revision 64239

Clarify that wxFileSystem::OpenFile() takes URL, not filename.

2010-05-06 19:42 JMS, revision 64232

Change wxPGProperty::SetChoices() to accept 'const wxPGChoices&'

2010-05-06 19:21 JMS, revision 64231

Modify float/double wxAny testing to use CPPUNIT_ASSERT_EQUAL() instead of CPPUNIT_ASSERT_DOUBLES_EQUAL(), so that we know the retrieved values are truly identical.

2010-05-06 14:58 VZ, revision 64230

Don't accept focus in the dummy main generic spin control window. This window is only used as a container for the sub-windows and shouldn't accept focus, trying to set it to it doesn't work anyhow (see #12004).

2010-05-06 14:58 VZ, revision 64229

Don't send wxEVT_COMMAND_SPINCTRLDOUBLE_UPDATED when nothing changed. The generic double spin control sent UPDATED events whenever it lost focus, whether anything changed or not. Don't send events unless the controls value has really changed.

2010-05-06 14:58 VZ, revision 64228

Always update the value of generic spin control when leaving it. We could be left with an invalid value in the control when leaving it. E.g. in the widgets sample whose double spin control has range from 0 to 10, 123 could be entered in it and was not replaced by 10 when the control lost focus. This happened because the code didn't bother to update the text control if its contents already corresponded to the internally stored value -- but this was wrong as it could have a different representation. Just always update the text unconditionally when synchronizing it with the internal value. See #12004.

2010-05-06 14:58 VZ, revision 64227

Make keyboard navigation in generic wxTreeCtrl more Mac-like under OS X. In the native OS X tree control right cursor arrow expands the current item and the left one collapses it if it's expanded, make the generic control work like this too under Mac. Closes #12019.

2010-05-06 14:40 VZ, revision 64226

Check that menu ids are limited to MSW-supported range. We already check that positive (i.e. specified by user and not generated by wx) window ids are in 0..SHRT_MAX range. Now do the same for the menu ids as ids outside of this range suffer from the same problem under MSW: they get wrapped and become negative when we receive events for them.

2010-05-06 14:40 VZ, revision 64225

Added wxLANGUAGE_BOSNIAN. Closes #12016.

2010-05-06 14:22 VZ, revision 64224

Mention that hatched pens don't work under wxGTK and wxX11. See #11983.

2010-05-06 14:12 VS, revision 64223

Refactor wxTranslationsLoader API. Instead of calling back into wxTranslations to actually load the data, return wxMsgCatalog instance from wxTranslationsLoader::LoadCatalog(). This requires making wxMsgCatalog public.

2010-05-06 07:43 VS, revision 64222

Move wxScopedPtr::reset() implementation to wxDEFINE_SCOPED_PTR. Just as the destructor, reset() calls delete on T pointer and so can only be defined when T is fully defined.

2010-05-06 07:42 VS, revision 64221

Use wxCHECKED_DELETE in wxScopedPtr::reset(). It was only used in delete call in destructor, but the use in reset() needs safeguards as well.

2010-05-06 07:42 VS, revision 64220

Use wxCHECKED_DELETE in wxScopedPtr<T>. It was only used in macros-based implementation, use it in the template version too.

2010-05-05 15:53 VZ, revision 64219

Fix PCH-less compilation after recent changes. Include wx/sizer.h explicitly when not using PCH.

2010-05-05 15:50 VS, revision 64218

Fix incorrect assumptions about locales codes. wx incorrectly assumes that Unix locale codes have the form of xx_YY, where both xx and yy are two characters long. This is wrong, xx is ISO 639 code, which can often have 3 characters ("ast", "gez" etc.); future ISO 639-6 will have up to 4 chars. Similarly, ISO 3166 has alpha-3 variant of country codes too (even though they aren't used in this context today). For parsing needs, we can just look for '_' in the code. The only place where a check for xx_YY code was performed was GetSystemLanguage(). Instead of bothering with correct check (or a heuristic), let's simply assume locale is xx_YY code and only do alternative handling if that assumption fails. According to the comments, this alternative handling was for cases such as LANG=german environment on SuSE, but it's safe to say that no modern systems do that anymore, so it's OK that this patch is marginally less efficient on such legacy systems.

2010-05-05 14:45 VZ, revision 64217

No changes, just make wxDataViewEditorCtrlEvtHandler private. This class is used by wxDataViewCtrl implementation only, there is no need for it to be in a public header. Move the class declaration from wx/dataview.h to datavcmn.cpp. See #11732.

2010-05-05 14:45 VZ, revision 64216

Pop event handler from wxDVC edit control before destroying it. This fixes the assert in wxWindow dtor checking that all event handlers pushed on the window were removed. Also fix a memory leak by not creating an unnecessary object of wxKillRef class. In fact remove this class entirely. Closes #11732.

2010-05-05 14:27 VS, revision 64215

Don't use size_t for plural forms parameter. size_t should be used for size of objects, which wxGetTranslation() and wxTranslations::GetString() 'n' argument isn't -- it's just a regular integer.

2010-05-05 14:20 VZ, revision 64214

Notify user less intrusively about overflow when previewing HTML printouts. We used to show a modal dialog if the page didn't fit horizontally but this was too intrusive when the user was just previewing the output and not really printing it. Moreover, the question of the message box ("Print" or "Cancel") simply didn't make sense in this case. Fix both problems by not showing this dialog at all when previewing. Instead, notify the user with a much less intrusive info bar in the preview window.

2010-05-05 14:20 VZ, revision 64213

Move wxInfoBar to core library from adv. This is necessary in order to be able to use it in the print preview (an upcoming change).

2010-05-05 14:19 VZ, revision 64212

Replace wxPrintout::SetIsPreview() with SetPreview(). Unlike the old function just indicating whether a printout is being used for previewing, the new one associates the preview object with it. This can be useful if we need to access the window used for the preview, for example. Also remove a bunch of apparently unnecessary SetIsPreview(false) calls as printing (and not previewing) is already the default.

2010-05-05 14:19 VZ, revision 64211

No real changes, just clean up wxAbortProc mess. Remove m_lpAbortProc which is not needed at all and just requires ugly casts because its type was different from the real type of wxAbortProc. Get rid of the rest of the old Win16 code.

2010-05-05 14:19 VZ, revision 64210

Remove GtkPrintOperation preview signal handler. This handler wasn't doing anything useful as we were always using the default preview based on an external program, so just remove it completely.

2010-05-05 09:45 VS, revision 64209

Fix wxScopedCharTypeBuffer<T>::CreateOwned() to match docs. The documentation says that it takes ownership of the memory block passed to it, but the implementation made a copy.

2010-05-04 23:59 VZ, revision 64208

Ignore time component of SYSTEMTIME in wxCalendarCtrl. Native month calendar functions doesn't always return correct values in the time part of SYSTEMTIME so ignore it and use just the date component. To simplify doing it, add helper (MSW-specific) SetFromMSWSysDate() and GetAsMSWSysDate() functions which convert between wxDateTime and SYSTEMTIME but take only date component into account. This commit partially replaces changes of r63560 and closes #11276.

2010-05-04 18:38 VS, revision 64207

Fixed a typo in misc/languages/README.

2010-05-04 14:15 VS, revision 64205

Move wxFileHistory out of docview framework, add wxUSE_FILE_HISTORY.

2010-05-03 13:19 VZ, revision 64204

Use wxString::ToCDouble() instead of emulating it. No real changes, just replace the code which was working around the absence of a wxString::ToCDouble() with the call to the real thing now that we have it.

2010-05-03 10:02 JJ, revision 64203

Update OpenVMS compile support

2010-05-02 14:19 VZ, revision 64202

Fix PCH-less build after changes r64139. As wx/log.h is not included from wx/dynlib.h (via wx/msw/private.h) any longer, include it from here explicitly.

2010-05-02 14:19 VZ, revision 64201

Include <windows.h> before including <shellapi.h>. Although this is not needed with most compilers (including recent MinGW), including <shellapi.h> directly apparently doesn't work with some older MinGW versions. This fixes compilation after the changes of r64139.

2010-05-02 14:11 VZ, revision 64200

Create a branch for GSoC 2010 project for GUI classes unit testing by Steven Lamerton.

2010-05-02 14:10 VZ, revision 64199

Create a branch for GSoC 2010 project for wxMaskedEditCtrl implementation by Julien Weinzorn.

2010-05-02 14:09 VZ, revision 64198

Create a branch for GSoC 2010 project for Windows Vista/7 UI enhancements by Rickard Westerlund.

2010-05-02 14:06 VZ, revision 64197

Create a branch for GSoC 2010 project for wxRichTextCtrl image support enhancements by Mingquan Yang.

2010-05-02 14:01 VZ, revision 64196

Add wxTreeCtrl::{Clear,Set}FocusedItem(). Allow changing just the currently focused (not selected) item and also removing the focus completely. Closes #11599.

2010-05-02 13:48 VZ, revision 64195

Spell contributor name correctly. Use the spelling preferred by Nikolay himself, see #11599.

2010-05-01 23:42 PMO, revision 64194

Update to trunk r64193

2010-05-01 23:06 PMO, revision 64193

Added more stubs

2010-05-01 15:41 PMO, revision 64190

Detect qt paths via pkg-config

2010-05-01 15:38 PMO, revision 64189

Detect qt paths via pkg-config

2010-05-01 14:35 PMO, revision 64188

Improved MOC rules

2010-04-30 20:29 SC, revision 64187

updated headers

2010-04-30 20:29 SC, revision 64186

textctrl impl

2010-04-30 18:55 SC, revision 64185

adding wrapper for native UIWindow, using designated initializer for view controller

2010-04-30 18:53 SC, revision 64184

adjusting to API change of cocoa and carbon

2010-04-30 18:52 SC, revision 64183

cleanup

2010-04-30 18:46 VS, revision 64182

Check in samples/dll for WXUSINGDLL. If it is set and DLL build of wx is used, emit an error, as the sample won't work correctly in that case.

2010-04-30 18:40 SC, revision 64181

moving value setting conformance to impl

2010-04-30 18:31 SC, revision 64180

iphone implementations

2010-04-30 15:32 JMS, revision 64179

Use scoped ptrs to managed wxAnyValueType instances. This fixes deallocation issues in some dynamic library use cases.

2010-04-30 11:29 SC, revision 64178

adding uifont support

2010-04-29 10:31 VS, revision 64165

Always use active wxTranslations instance via wxLocale. Don't use m_translations directly, if the user made changes to wxTranslations instance, it would be too confusing if calls through wxLocale compat API did nothing. Also don't change active wxTranslations object from wxLocale if already done by user, only call wxTranslations::Set() from wxLocale constructor if it wasn't already set by the user. Still do if wxTranslations instance currently in use was set by previous wxLocale on the locale stack.

2010-04-27 18:16 JS, revision 64163

wxRTC: fixed style selection reset after editing a style. wxRTC: can now edit line spacing in .1 increments from 1 to 2.

2010-04-27 18:10 JS, revision 64162

Font output fix

2010-04-27 18:09 JS, revision 64161

wxRTC: fixed style selection reset after editing a style. wxRTC: can now edit line spacing in .1 increments from 1 to 2.

2010-04-27 18:07 JS, revision 64160

Font output fix

2010-04-27 15:26 JMS, revision 64159

Safeguard against redundant registration of the same wxAnyValueType instance (by storing pointers in a set instead of a vector)

2010-04-27 11:38 VS, revision 64157

Use '+' in accelerators, not '-'. This was always GTK+ standard and even Windows uses it now, see the UX Guide.

2010-04-27 10:52 VZ, revision 64156

Fix typo in SIZEOF_WCHAR_T test. This fixes compilation under the platforms where SIZEOF_WCHAR_T != 4 (probably Windows only). Closes #11994.

2010-04-26 22:51 VS, revision 64155

Add support for storing translations in win32 resources.

2010-04-26 22:51 VS, revision 64154

Shorten lang names in wxTranslations, not wxFileTranslationsLoader. If a catalog with full language name ("fr_BE") doesn't exist, wxFileTranslationsLoader tries to look for just the base language ("fr") too. This isn't something specific to wxFileTranslationsLoader, it makes sense to do it regardless of the loader.

2010-04-26 22:51 VS, revision 64153

Add wxMemoryBuffer::release().

2010-04-26 22:51 VS, revision 64152

Add instance argument to wxLoadUserResource(). This makes it possible to load resources from other modules than the main executable.

2010-04-26 22:50 VS, revision 64151

Make wxLoadUserResource() declaration available to wxBase too.

2010-04-26 18:53 VZ, revision 64150

Add wxLoadUserResource() overload not copying the resource data. The existing wxLoadUserResource() copies the resource data which is often unnecessary. Add another overload which just returns the pointer directly to the resource data. Also move the function into base from core as it can be useful for the console applications as well. Finally, define wxUserResourceStr used by this function only in the same file where the function itself is defined instead of datacmn.cpp.

2010-04-26 18:46 CE, revision 64149

run script on windows

2010-04-26 18:33 RD, revision 64148

Move 2.8.11 tag to the proper place

2010-04-26 18:23 VZ, revision 64147

Remove a harmless unused parameter warning in wxOSX/Carbon.

2010-04-26 16:19 VZ, revision 64146

Fix wxGTK1 event loop definition mismatch between base/GUI. We must define wxEventLoopBase in the same way in base and GUI code, otherwise, even though we fool the compiler into accepting our code, it crashes or behaves otherwise weirdly during run-time because of vtbl mismatch. This fixes wxGTK1 which was crashing on startup since the FSWATCHER branch merge in r62474 and associated changes to support the event loop sources.

2010-04-26 16:19 VZ, revision 64145

Use wxMenuBar::Attach/Detach() instead of SetInvokingWindow() in wxGTK1. This is the same as r64127 for wxGTK.

2010-04-26 16:19 VZ, revision 64144

Fix wxGTK1 link after toolbar files renaming. Fix a typo in r62849: tooltip.cpp was used instead of toolbar.cpp resulting in linking errors for the duplicate symbols in the former and undefined symbols in the latter.

2010-04-26 16:19 VZ, revision 64143

Set popup menu invoking window in wxWindowBase and not in all ports. Don't duplicate the code for setting (and unsetting, which was forgotten by at least wxGTK) the popup menu invoking window in all ports but do it in the base class PopupMenu() itself. Also add a helper wxMenuInvokingWindowSetter class which ensures that the invoking window will be unset in any case.

2010-04-26 16:19 VZ, revision 64142

Don't set invoking window recursively in wxGTK wxWindow::PopupMenu(). Setting the invoking window for all submenus is unnecessary as wxMenu::GetWindow() recurses upwards anyhow and results in assert failures after recent menu code changes. Simply don't do this. OTOH do reset the invoking window to NULL after the menu is dismissed to avoid storing a dangling pointer in the menu.

2010-04-25 23:33 FM, revision 64140

no real change: just fix RCS-ID so that it reflects the current revision number

2010-04-25 14:07 VS, revision 64139

Don't include wx/msw/private.h from dynlib.h. Because it's private header and introduces dependency on window.h.

2010-04-25 14:07 VS, revision 64138

Declare various WXH* handles compatibly with SDK. It is no longer necessary to cast between e.g. HINSTANCE and WXHINSTANCE, they are now declared as the same type (without including Windows SDK header).

2010-04-24 22:39 VZ, revision 64136

Remove unnecessary duplicate code dealing with invoking window from wxOSX. This is roughly the same as r64127 for wxGTK but for wxOSX: don't duplicate the functionality already present in the base class in Mac-specific way. Just use wxMenu::GetWindow() instead of painstakingly propagating invoking window changes via the entire menu hierarchy. Also attach the root menu used in wxOSX to the menu bar to ensure that the correct window can be found for all its menus. Closes #11990.

2010-04-24 22:39 VZ, revision 64135

Recurse upwards the menu hierarchy in wxMenu::GetWindow(). Only the top level menus have non-NULL wxMenuBar pointer too, so recurse upwards the menu hierarchy in GetWindow() and not (just) GetInvokingWindow(). This fixes event processing for submenus broken by the recent changes.

2010-04-24 19:52 VZ, revision 64134

Disable ImageTestCase::LoadFromFile() on build slaves. This test case keeps failing erratically resulting in too many bogus build breakage notifications. Disable it until someone has time to fix it properly.

2010-04-24 19:20 PMO, revision 64133

Update to trunk r64122 to get fix for wxMenu::SendEvent()

2010-04-24 19:08 PMO, revision 64132

Handle Qt signals for menu items

2010-04-24 19:06 PMO, revision 64131

wxQtAction implementation

2010-04-24 18:59 VZ, revision 64130

A slightly better compilation fix after PCH-less build breakage in r64126. Include wx/frame.h header instead of casting wxFrame to wxWindow using C style cast. Although this does work now and probably will work later too it seems better to not use the cast nevertheless.

2010-04-24 18:10 VS, revision 64129

Added missing @since tags to wxTranslationsLoader classes.

2010-04-24 16:40 PC, revision 64128

non-pch build fix

2010-04-24 17:08 VZ, revision 64127

Don't use invoking window in wxGTK wxMenuBar implementation. wxGTK wxMenuBar used its own SetInvokingWindow/UnsetInvokingWindow() and related functions instead of reusing the base class Attach/Detach() which exist for exactly the same purpose. This resulted in unnecessary code duplication and confusion and, since the changes of r64104, resulted in asserts due to use of SetInvokingWindow() for non-popup menus. Fix this by removing the wxGTK-specific functions and doing the work they used to do in (now overridden) Attach() and Detach(). Also call Attach/Detach() instead of these functions from wxGTK wxFrame and wxMDIParentFrame code.

2010-04-24 17:07 VZ, revision 64126

Use wxMenu::GetWindow() instead of GetInvokingWindow() in SendEvent(). This simplifies the code as we don't need to walk the menu hierarchy upwards any more (GetInvokingWindow() does it now) and also makes it work for all menus, not just the popup ones.

2010-04-24 17:07 VZ, revision 64125

Avoid code duplication in wxGTK menu events generation code. Reuse the existing DoCommonMenuCallbackCode() function instead of duplicating its code in menuitem_select() and menuitem_deselect() GTK callbacks. No changes in behaviour.

2010-04-24 17:07 VZ, revision 64124

No real changes, just remove empty wxMenuBar dtor in wxGTK.

2010-04-24 17:07 VZ, revision 64123

Move wxMSW wxMenu::GetWindow() down to wxMenuBase. GetInvokingWindow() can only be used for the popup menus which have the invoking window, so add a new function which can be used to get the window associated with any kind of menu in all ports -- it already existed in wxMSW but is needed elsewhere too.

2010-04-24 13:09 PMO, revision 64122

Update to trunk r64121

2010-04-24 12:13 JMS, revision 64121

Allow wxPGProperty::Hide() to be called on unattached property (see #11987)