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)

2010-04-24 12:02 JMS, revision 64120

In wxPropertyGrid::DoPropertyChanged(), call GetEditorControl() as late as possible so that editor can be changed in wxPGProperty::OnSetValue() (fixes #11987)

2010-04-24 09:06 VS, revision 64119

wxLocale::InitLanguagesDB() doesn't use wxStringTokenizer, remove it.

2010-04-24 09:06 VS, revision 64118

Split intl.h into intl.h, language.h and translation.h. To make the code more manageable, intl.h now contains wxLocale and translation.h all translations-related stuff (wxTranslations, _() etc.). Code generated by genlang.py was moved into its own files (language.h, languageinfo.cpp).

2010-04-24 09:06 VS, revision 64117

Split wxLocale into wxLocale and wxTranslations. wxTranslations is for handling gettext translations. wxLocale manages locale and provides compatiblity API for translations. Separating these two loosely related tasks makes it possible to use translations into languages not known by Windows or using localized GUI without all the locales compilations.

2010-04-24 09:06 VS, revision 64116

Fix typo in internat sample. Catalog should be added with domain name ("wxstd"), not file name ("wxstd.mo").

2010-04-23 21:34 VZ, revision 64115

Work around wrong client size computation for not yet shown maximized windows. The client size of maximized windows which hadn't been shown yet isn't computed correctly by wxMSW because WM_NCCALCSIZE returns too small values for some reason. Attempts to fix this were unsuccessful so just ensure that the window is re-laid out using the right size from WM_SIZE it receives when it is shown instead of using the wrong pending size. Closes #11762.

2010-04-23 14:59 CE, revision 64114

remove 2.9.1 from dated files

2010-04-22 16:57 VS, revision 64113

Fixed (correct) warning about uninitialized inputConv.

2010-04-22 16:16 VZ, revision 64112

Fix harmless warning about a possibly uninitialized variable. gcc complained about possibly uninitialized variable in QueueTestCase in optimized build, just initialize it to suppress this warning.

2010-04-22 16:16 VZ, revision 64111

Don't test possibly uninitialized variable in wxGCDC::SetLogicalFunction(). The variable "mode" is not filled by TranslateRasterOp() function if the input function is not supported, so don't compare it with wxCOMPOSITION_XOR later. Just compare "function" itself with wxXOR as this works in any case.

2010-04-22 16:16 VZ, revision 64110

Fix harmless g++ 4.3 warning about suggested parentheses. Add parentheses around && within ||.

2010-04-22 16:16 VZ, revision 64109

Define wxStrto{d,l,ul}_l() functions in non-Unicode build too. This fixes the unit test compilation in ANSI build.

2010-04-22 16:06 JMS, revision 64108

Added parenthesis around macro arguments

2010-04-22 15:51 JMS, revision 64106

Allow wxAny to contain 'const char*' or 'const wchar_t*'. This was previously not possible since these pointers were converted to wxString, as convenient means to work with string literals. Now pointers (to string literals) are stored instead, and As<wxString>(), comparison operators do the type conversion.

2010-04-22 14:08 VZ, revision 64105

Fix off by one error in wxFTP::GetFileSize(). We incremented the index once more even after finding the line we were looking for in the array which meant that we accessed a wrong array element in any case and could even attempt to access an out of bound one if the file was found in the last line. Closes #11964.

2010-04-22 13:21 VZ, revision 64104

Return correct invoking window for submenus of a popup menu. SetInvokingWindow() is only called for the top menu being popped up itself but the invoking window should also be associated with its submenus. Modify GetInvokingWindow() to return the parents invoking window for submenus. This fixes a crash due to returning NULL from wxMenu::GetWindow() in wxMSW owner-drawn code. And it also makes redundant some code in wxUniversal wxMenu implementation which can now simply use GetInvokingWindow() in all cases. Closes #11957.

2010-04-22 13:21 VZ, revision 64103

Use symbolic names for popup menu ids in wxEVT_MENU_HIGHLIGHT events in wxMSW. No real changes, just use wxID_NONE instead of hardcoded -1 (in one place) and -3 (in another one). Hardcoding them not only made the code less readable but also resulted in two numbers actually becoming different when they almost certainly were meant to be the same. This shouldn't result in any changes in the user-visible behaviour but we now avoid searching the menu bar for menu items with id of -1 needlessly.

2010-04-22 13:21 VZ, revision 64102

Fix bug with using incorrect negative ids in wxEVT_MENU_HIGHLIGHT events. wxMSW code implicitly cast ids carried by wxEVT_MENU_HIGHLIGHT events to unsigned short so that they didn't compare equal to the (signed, negative) ids of the real menu items. Because of this menu help strings were not shown for any items with negative ids, i.e. those created using wxID_ANY. Closes #11977.

2010-04-22 13:21 VZ, revision 64101

Override wxWindow::MSWGetCreateWindowCoords() in wxTopLevelWindow. The old code was messy because it handled both top level and child windows at wxWindow level when they need quite different treatment. This resulted in several errors: first, wxWindow versions of WidthDefault and HeightDefault were used to determine the initial size even of top level windows which was clearly wrong as it created tiny windows (20*20). Second, CW_USEDEFAULT could be used for child window for which this shouldn't be done. Fix this by making MSWGetCreateWindowCoords() virtual and overriding it in wxTopLevelWindow. This makes the code much simpler and more obviously correct. Also make MSWGetCreateWindowCoords() void, as nobody was using its return value anyhow (and the old version also had a bug in it and wrongly returned true when default size was passed to it).

2010-04-22 13:20 VZ, revision 64100

Add documentation for several grid cell renderer/editor classes. Document the previously undocumented renderers and editors. Closes #11965.

2010-04-22 13:20 VZ, revision 64099

Clarify that Raise() is only a request to raise the window. Calling Raise() doesn't guarantee that the window will be raised. Closes #11974.

2010-04-22 13:20 VZ, revision 64098

Fix fatal bug in ArgsArray(wchar_t**) ctor. The input pointer was modified before being used again leading to out of bound array access. Closes #11979.

2010-04-22 09:00 SC, revision 64097

missed in r64093

2010-04-22 08:46 SC, revision 64096

switching to correct hit-testing

2010-04-22 08:23 SC, revision 64095

simpler code

2010-04-22 08:18 SC, revision 64094

shutdown sequence routing to EndSession calls

2010-04-22 08:16 SC, revision 64093

overriding the cfrunloop accessor, during booting cocoa has to create a NSRunLoop earlier

2010-04-21 18:46 VS, revision 64090

msgIdCharset is only needed in ANSI build. In Unicode build, there's no need to create wxCSConv object for every loaded catalog when it won't be used for anything.

2010-04-21 16:40 VZ, revision 64089

No real changes, just fix typos in the ownerdrw sample. s/Cheked/Checked/g

2010-04-21 16:40 VZ, revision 64088

Remove the extra margins when checking owner drawn menu icons size. The extra +4 in IsLessThanStdSize() functions resulted in assert failures under Windows XP after the ownerdraw drawing changes so remove it as nobody knew why was it there anyhow. Also replace IsLessThanStdSize() with IsGreaterThanStdSize() to allow using it directly instead of always testing for !IsLessThanStdSize(). See #11657.

2010-04-21 06:13 SC, revision 64087

non precomp build fix

2010-04-20 23:02 SC, revision 64084

backport of better drawing for toggle buttons

2010-04-20 23:00 SC, revision 64083

backport of order fixes for transform concatenations

2010-04-20 22:53 SC, revision 64082

backport r64081

2010-04-20 22:48 SC, revision 64081

avoiding full resize-invalidate and refresh

2010-04-20 22:29 SC, revision 64079

restoring special handling for carbon system menu items, fixes #11819

2010-04-20 21:09 SC, revision 64068

tracking open modal dialogs

2010-04-20 21:07 SC, revision 64067

currently avoid problems when releasing the capture during drag on osx_cocoa

2010-04-20 18:02 SC, revision 64066

better layout for simple one param messages, closes #11810

2010-04-20 16:55 SC, revision 64065

having common API for mapping between native and wx tlw type

2010-04-20 16:55 SC, revision 64064

type of wrapped window can be any NSWindow, not only our own classes

2010-04-20 16:54 SC, revision 64063

TODO done

2010-04-20 16:53 SC, revision 64062

use new call

2010-04-20 16:51 SC, revision 64061

wrap native TLWs so that they also appear in the tlw list

2010-04-20 16:50 SC, revision 64060

support for capturing, use categories instead of member vars for the implementation mapping, so that we can wrap native NSWindow instances as well

2010-04-20 14:55 JMS, revision 64059

Fix VC6 compilation by changing the order of assignment operators in wxAny

2010-04-20 13:59 VZ, revision 64058

Check for menu title being non-empty when appending it to the menu bar. It doesn't make sense to add a menu with empty title to the menu bar so assert that the title is not empty and fail to add the menu if it is. See r64033 in wxQT branch.

2010-04-20 13:10 VZ, revision 64057

Add wxProgressDialog::Was{Cancelled,Skipped}() convenience methods. Although the information about "Cancel" and "Skip" buttons presses is returned from Update(), sometimes it may be more convenient to ask the dialog about whether it was cancelled or skipped instead of storing it in the program itself. Add the methods which allow to check for this. Closes #10903.

2010-04-20 09:28 JJ, revision 64056

correcting error in OpenVMS makefile

2010-04-20 07:01 SC, revision 64055

if we have wxBG_STYLE_PAINT, we must clear the background ourselves, since on OSX there might be transparent subpanels, fixes #11958

2010-04-19 20:54 FM, revision 64053

minor additions and clarifications

2010-04-19 16:44 SC, revision 64052

re-adding script that is needed for xcode builds

2010-04-19 16:33 JMS, revision 64051

or -> || (how did that compile on GCC anyway?)

2010-04-19 16:25 JMS, revision 64050

When deciding whether to convert wxAny to 'long' or 'longlong' wxVariant, use wxINT32_MAX instead of LONG_MAX (for more consistent results across builds)

2010-04-19 16:23 JMS, revision 64049

Improve wxAny<->wxVariant conversion 64-bit integer tests

2010-04-19 15:36 SC, revision 64048

missing return value

2010-04-19 14:39 JJ, revision 64047

update OpenVMS compile support

2010-04-19 00:15 VZ, revision 64041

Use "monospace" face name for all Unix systems, hopefully it should work. This fixes failures of several build bot slaves (all running Debian or Ubuntu) which were due to using "Fixed" under these Linux distributions. Unfortunately "Fixed" didn't work as Pango doesn't seem to recognize it as a valid face name. "DejaVu Sans" should probably work on most current Linux systems but "Monospace" should hopefully be available on other Unix systems as well. We could also just take whatever wxFontEnumerator returns which should probably be even more fool-proof.

2010-04-18 20:49 SC, revision 64040

render characters on OSX one by one as fractional widths leads to errors otherwise

2010-04-18 20:38 SC, revision 64039

concatenation must use prepend mode on osx as well

2010-04-18 19:19 PMO, revision 64035

Make the output of wxMissingImplementation more assert like

2010-04-18 19:19 MW, revision 64034

Try to provide backtraces on unix buildbots if the test program crashes.

2010-04-18 19:18 PMO, revision 64033

Check for empty menu title

2010-04-18 18:27 MW, revision 64032

Add stub -t and -d options to the test program on the stable branch for forward compatibilty with the trunk.

2010-04-18 18:18 JMS, revision 64031

Use const_cast<> to get 'wxAnyValueType*' from 'const wxAnyValueType*'

2010-04-18 17:46 PMO, revision 64030

First parts of the menu implementations

2010-04-18 15:29 SC, revision 64029

fixing coordinate conversions for captured windows

2010-04-18 15:18 SC, revision 64028

using same API

2010-04-18 15:17 SC, revision 64027

streamlining code for extra controls

2010-04-18 15:15 SC, revision 64026

painting background of splitter as well, fixes #11958

2010-04-18 13:54 JMS, revision 64025

Fix STL build

2010-04-18 13:15 JMS, revision 64022

Fix wxAny for VC6 by removing 'wxAny& operator=(const wxVariant &variant)' for it. This will break some cases of implicit wxVariant->wxAny conversion (for VC6).

2010-04-18 12:19 JMS, revision 64021

Correctly use wxANY_AS() instead of wxAny::As<>(), for VC6 compatibility

2010-04-18 11:49 SC, revision 64020

normal windows also have transparent corners, so don't ever set it to non transparent ...

2010-04-18 02:05 VZ, revision 64019

Fix bug with using uninitialized flags in GetParentForModalDialog(). GetParentForModalDialog() was called from the ctor initialized list before m_windowStyle could be initialized by the base class ctor in several different places, meaning that the check for wxDIALOG_NO_PARENT in this function was using uninitialized variable. Fix this by passing the style parameter explicitly to this function to allow using it from derived class ctors. Still keep an overload which uses the actual window parent and flags which is simpler to use for later calls to this function. Thanks valgrind for finding this one.

2010-04-17 16:15 VZ, revision 64018

Don't return invalid size from wxDir::GetTotalSize() for empty dirs. wxDirTraverserSumSize::GetTotalSize() may, and will, return 0 for empty directories, this is not an error and so don't treat it as such. Closes #11937.

2010-04-17 16:15 VZ, revision 64017

No real changes, just some minor cleanup of wxDirTraverserSumSize. Put the comment before the code it comments on, not after. Return const reference from an accessor.

2010-04-17 14:34 RR, revision 64016

Added virtual destructor

2010-04-17 14:03 JMS, revision 64015

Removed two instances of 'template<>' - looks like VC6 did not need it after all, but was just really picky about the order of constructors

2010-04-17 11:12 PMO, revision 64014

Applied latest wxQt patch from 2010-04-17

2010-04-17 11:10 PMO, revision 64013

Applied latest wxQt patch from 2010-04-17

2010-04-17 11:00 JMS, revision 64012

Suppressed some harmless VC6 warnings

2010-04-17 10:59 JMS, revision 64011

Fixed VC6 compilation - wxAny(const wxVariant&) ctor required a specific 'template<>')

2010-04-17 10:50 MW, revision 64010

Revert change to add -t to buildbot test runs as some branches don't have it.

2010-04-17 00:14 MW, revision 64006

Use -t on buildbot test runs.

2010-04-16 22:52 VZ, revision 64005

Don't define wxADJUST_MINSIZE if it had been already defined. Defining wxADJUST_MINSIZE as 0 may be a simple way to make the old code to compile and while it works without WXWIN_COMPATIBILITY_2_8 it paradoxically doesn't work with it because this results in errors when wxADJUST_MINSIZE is defined as 0 by wx itself. Avoid this problem by only defining wxADJUST_MINSIZE ourselves if it hadn't been defined yet.

2010-04-16 22:52 VZ, revision 64004

Add wxToolBar::GetToolByPos() method to access tools by their index. This is a trivial accessor which somehow was never added before even though we had GetToolsCount() and even DeleteToolByPos(). Closes #11120.

2010-04-16 22:09 VS, revision 64003

Fix build breakage caused by bConvertEncoding deprecation.

2010-04-16 17:34 JMS, revision 64002

Try a blind fix for VC6 compilation issues (wxAny ctor has become too ambiguous now that it has a form that takes wxVariant reference)

2010-04-16 16:36 JMS, revision 64001

Adapted wxPropertyGrid documentation, samples, tests, and wxVariantData-macros to the new wxAny<->wxVariant conversions

2010-04-16 16:33 JMS, revision 64000

wxVariant <-> wxAny conversion functionality. Includes implicit construction of wxAny from wxVariant, and vice versa. wxVariant->wxAny conversion is implemented by adding new virtual member function into wxVariantData. wxAny->wxVariant conversion is implemented by associating wxAnyValueTypes with functions that generate wxVariantData instances (using a hash map).

2010-04-16 16:27 VZ, revision 63999

Create a branch for wxQt development.

2010-04-16 14:47 VZ, revision 63998

Minor corrections to the documentations. Use the correct "override" instead of "overload". Remove unnecessary "virtual" keyword occurrences. Closes #11949.

2010-04-16 14:47 VZ, revision 63997

Correct the case of wxHyperlinkCtrl in the documentation. Closes #11814.

2010-04-16 14:47 VZ, revision 63996

Document wxWindow::DoCentre() and wxCENTRE_ON_SCREEN flag. See #11949.

2010-04-16 14:44 VZ, revision 63995

Don't rely on __GXX_RTTI being defined with g++ < 4.3. __GXX_RTTI is only defined since g++ 4.3.2 and so we can't rely on its absence as indicating the use of -fno-rtti switch with the older versions of the compiler, only do this for g++ 4.3+. Also define wxNO_RTTI from configure if --enable-no_rtti was used as we can't always detect it automatically. Closes #11955.

2010-04-16 13:29 VS, revision 63993

Remove wxLOCALE_CONV_ENCODING flag. This doesn't affect Unicode builds, only the legacy ANSI one. PO files are now always converted to the appropriate charset according to current locale. This was the default behavior for long time; not doing the conversion was always a fragile hack that didn't work well. Removing this flag simplifies wxLocale code.

2010-04-16 13:29 VS, revision 63992

Add wxLOCALE_DONT_LOAD_DEFAULT (=0) for clarity.

2010-04-16 12:43 VS, revision 63991

Remove wxUSE_WCHAR_T checks. wxWidgets requires wchar_t for some time now; wx/chartype.h has a check to fail complation without it. Simplify code by removing now-dead code for the !wxUSE_WCHAR_T case.

2010-04-16 12:22 VS, revision 63990

Mark wx apps as DPI aware on Windows 7/Vista.

2010-04-16 11:15 JJ, revision 63989

synchronizing setup.h_vms with setup_h.in

2010-04-16 08:18 SC, revision 63988

translating background style BG_PAINT into opaqueness for speed-up of OS redraws, supporting positioning for native carbon controls also on non-composited windows (custom pane in navservices dialogs)

2010-04-16 00:47 VZ, revision 63986

Fix using weak references to incomplete classes. wxWeakRef can work with forward-declared classes provided dynamic_cast<> is available but this wasn't detected as being the case due to the use of the obsolete HAVE_DYNAMIC_CAST in its code. Replace HAVE_DYNAMIC_CAST with !wxNO_RTTI to fix this. Also add a unit test checking that this does work. Closes #11916.

2010-04-15 22:04 SC, revision 63985

supporting switching back background style from transparent on tlws

2010-04-14 19:06 SC, revision 63979

fixing build

2010-04-14 18:46 SC, revision 63978

make sure log output on the iphone goes to the console by default

2010-04-14 14:34 SC, revision 63977

fixing layout of custom controls during resize, cleanup of member variables naming

2010-04-14 14:16 SC, revision 63976

fixing constants to be of the expected parameter type (float instead of double)

2010-04-14 09:21 MW, revision 63975

Update buildbot config.

2010-04-14 07:55 MW, revision 63974

Add builds to the buildbot.

2010-04-14 02:10 VZ, revision 63971

Another compilation fix to wxMimeTypesManager, this time in Unicode build. Fix another problem introduced by backporting the fix from the trunk in r63936.

2010-04-13 22:27 SC, revision 63970

adding support for extraControl on osx_carbon

2010-04-13 22:24 SC, revision 63969

adding wrapping possibility for native tlws

2010-04-13 22:22 MW, revision 63968

Make the gui test still run on the buildbot when the non-gui tests fail.

2010-04-13 22:22 MW, revision 63967

Put the buildbot's default configure arguments before the optional ones so they can be overridden.

2010-04-13 18:38 VZ, revision 63965

Exclude wxWeakRef tests not compiling with VC6 from compilation. The ctor used by these tests can't be enabled for VC6 (see r63955), simply disable them to allow the rest to compile.

2010-04-13 17:07 SC, revision 63964

making sure calls don't crash for fully native dialogs which don't have a nowpeer like filedialog

2010-04-13 14:08 SC, revision 63963

adding fallbacks for non-native font variants, fixes #11938

2010-04-13 08:42 SC, revision 63962

fixing non-precomp build, fixes #10985

2010-04-12 22:39 SC, revision 63961

correcting alpha and removing window shadow for overlay

2010-04-12 22:25 SC, revision 63960

correcting alpha and removing window shadow for overlay

2010-04-12 18:47 SC, revision 63959

fixing copy/paste error from carbon version, fixes #11540

2010-04-12 18:29 SC, revision 63958

name change to correctly reflect the autorelease nature of the methods, removing double release, fixes #11547, fixes #11760

2010-04-12 18:26 SC, revision 63957

copying native cursor under cocoa

2010-04-12 15:38 SC, revision 63956

fixing some warnings, adding proper OnChar support for special keys

2010-04-12 15:08 VZ, revision 63955

Fix VC6 compilation which was somehow broken by adding wxWeakRef ctor. For some mysterious reason, adding non-template wxWeakRef ctor breaks VC6 build with the apparently completely unrelated errors: include\wx/toplevel.h(223) : error C2679: binary '=' : no operator defined which takes a right-hand operand of type 'class wxWindow *' (or there is no acceptable conversion) include\wx/toplevel.h(231) : error C2679: binary '=' : no operator defined which takes a right-hand operand of type 'class wxWindow *' (or there is no acceptable conversion) src\common\dummy.cpp(27) : error C2856: #pragma hdrstop cannot be inside an #if block Simply don't define it for VC6 to at least allow the code not using wxWeakRef to compile.

2010-04-12 14:18 SC, revision 63954

changing sequence of makeFirstResponder and makeKeyAndOrderFront

2010-04-12 13:59 SC, revision 63953

change grow box implementation - was incorrectly getting the focus in panels before

2010-04-12 13:21 VZ, revision 63952

Fix gcc warnings about testing undefined preprocessor symbol. Use #ifdef instead of #if to test for __WXPALMOS[56]__.

2010-04-12 13:21 VZ, revision 63951

Fix emulator compilation with wxX11 after GetMainWindow() renaming. This function is now called X11GetMainWindow().

2010-04-12 13:21 VZ, revision 63950

Fix string stream unit test compilation in non-Unicode build. wxScopedCharBuffer can't be constructed from char* string, just use wxCharBuffer instead, we don't care about efficiency here.

2010-04-12 13:11 VZ, revision 63949

Compilation fix after last commit. wxApp::GetTraitsIfExists() doesn't exist in 2.8, mea culpa for backporting the trunk fix without testing.

2010-04-12 02:37 VZ, revision 63948

Update AUI pane resizable status even when it is floating. Making a pane (e.g. a toolbar) [not] resizable didn't have any effect when it was floating, fix this by explicitly updating its style to match the internal state. Closes #10638.

2010-04-12 02:37 VZ, revision 63947

Fix over aggressive clipping in generic wxListCtrl header drawing. Clipping out 4 pixels vertically resulted in truncating any letters with descent (e.g. "g" or "q") under OS X where the native header size is just tall enough to show the text. Simply don't clip that much but use the entire header width. Closes #11780.

2010-04-12 02:37 VZ, revision 63946

Fix crash in wxListbook if image list is assigned after adding pages. The generic wxListCtrl didn't properly support switching between report and non-report modes without invalidating the control contents, the required in non report view geometry info pointers were not allocated when the control was switched to a, say, list mode and not created in it. Fix this by updating all list control lines when the report mode changes. Closes #11698.

2010-04-12 02:37 VZ, revision 63945

Translate the label used by the font picker dialog. Simply use _() instead of wxT(). Closes #11935.

2010-04-12 02:36 VZ, revision 63944
  • D /wxWidgets/trunk/build/script/makedocs.vc
  • D /wxWidgets/trunk/build/script/win_docs.bat
  • D /wxWidgets/trunk/build/script/word_macro.txt
  • D /wxWidgets/trunk/build/script/wxwidgets.iss
  • D /wxWidgets/trunk/distrib/mac/pbsetup-sh
  • D /wxWidgets/trunk/distrib/msw/bakeall.sh
  • D /wxWidgets/trunk/distrib/msw/base.rsp
  • D /wxWidgets/trunk/distrib/msw/bc.rsp
  • D /wxWidgets/trunk/distrib/msw/cocoa.rsp
  • D /wxWidgets/trunk/distrib/msw/contrib.rsp
  • D /wxWidgets/trunk/distrib/msw/copybase.bat
  • D /wxWidgets/trunk/distrib/msw/copy_src.bat
  • D /wxWidgets/trunk/distrib/msw/createsetup.sh
  • D /wxWidgets/trunk/distrib/msw/cw.rsp
  • D /wxWidgets/trunk/distrib/msw/cw_mac.rsp
  • D /wxWidgets/trunk/distrib/msw/deprecated.rsp
  • D /wxWidgets/trunk/distrib/msw/dmc.rsp
  • D /wxWidgets/trunk/distrib/msw/docsrc.rsp
  • D /wxWidgets/trunk/distrib/msw/dsp2dos.bat
  • D /wxWidgets/trunk/distrib/msw/expdwild.bat
  • D /wxWidgets/trunk/distrib/msw/extradoc.rsp
  • D /wxWidgets/trunk/distrib/msw/filerepl.bat
  • D /wxWidgets/trunk/distrib/msw/generic.rsp
  • D /wxWidgets/trunk/distrib/msw/glcanvas.rsp
  • D /wxWidgets/trunk/distrib/msw/gtk.rsp
  • D /wxWidgets/trunk/distrib/msw/innobott.txt
  • D /wxWidgets/trunk/distrib/msw/innotop.txt
  • D /wxWidgets/trunk/distrib/msw/jpeg.rsp
  • D /wxWidgets/trunk/distrib/msw/lower.bat
  • D /wxWidgets/trunk/distrib/msw/mac.rsp
  • D /wxWidgets/trunk/distrib/msw/makeall.bat
  • D /wxWidgets/trunk/distrib/msw/makedist.sh
  • D /wxWidgets/trunk/distrib/msw/makefile.rsp
  • D /wxWidgets/trunk/distrib/msw/makefile.vc
  • D /wxWidgets/trunk/distrib/msw/makeinno.bat
  • D /wxWidgets/trunk/distrib/msw/makeinno.sh
  • D /wxWidgets/trunk/distrib/msw/makerpm
  • D /wxWidgets/trunk/distrib/msw/makesetup.sh
  • D /wxWidgets/trunk/distrib/msw/maketarballs
  • D /wxWidgets/trunk/distrib/msw/makewinceproj.sh
  • D /wxWidgets/trunk/distrib/msw/mgl.rsp
  • D /wxWidgets/trunk/distrib/msw/microwin.rsp
  • D /wxWidgets/trunk/distrib/msw/mmedia.rsp
  • D /wxWidgets/trunk/distrib/msw/motif.rsp
  • D /wxWidgets/trunk/distrib/msw/msw.rsp
  • D /wxWidgets/trunk/distrib/msw/msw_minimal.rsp
  • D /wxWidgets/trunk/distrib/msw/namedown
  • D /wxWidgets/trunk/distrib/msw/nplugin.rsp
  • D /wxWidgets/trunk/distrib/msw/ogl.rsp
  • D /wxWidgets/trunk/distrib/msw/os2.rsp
  • D /wxWidgets/trunk/distrib/msw/palmos.rsp
  • D /wxWidgets/trunk/distrib/msw/patch.rsp
  • D /wxWidgets/trunk/distrib/msw/readme.txt
  • D /wxWidgets/trunk/distrib/msw/setup.var
  • D /wxWidgets/trunk/distrib/msw/stc.rsp
  • D /wxWidgets/trunk/distrib/msw/stubs.rsp
  • D /wxWidgets/trunk/distrib/msw/tags.cmd
  • D /wxWidgets/trunk/distrib/msw/tardist
  • D /wxWidgets/trunk/distrib/msw/tardist.bat
  • D /wxWidgets/trunk/distrib/msw/tarmicrowin.sh
  • D /wxWidgets/trunk/distrib/msw/tarwxall
  • D /wxWidgets/trunk/distrib/msw/tarwxmac
  • D /wxWidgets/trunk/distrib/msw/tarwxmotif
  • D /wxWidgets/trunk/distrib/msw/tarwxx11
  • D /wxWidgets/trunk/distrib/msw/tex2rtf.rsp
  • D /wxWidgets/trunk/distrib/msw/tiff.rsp
  • D /wxWidgets/trunk/distrib/msw/tmake/b32.t
  • D /wxWidgets/trunk/distrib/msw/tmake/b32base.t
  • D /wxWidgets/trunk/distrib/msw/tmake/base.t
  • D /wxWidgets/trunk/distrib/msw/tmake/basevc.t
  • D /wxWidgets/trunk/distrib/msw/tmake/bcc.t
  • D /wxWidgets/trunk/distrib/msw/tmake/cocoa.t
  • D /wxWidgets/trunk/distrib/msw/tmake/dos.t
  • D /wxWidgets/trunk/distrib/msw/tmake/filelist.t
  • D /wxWidgets/trunk/distrib/msw/tmake/filelist.txt
  • D /wxWidgets/trunk/distrib/msw/tmake/g95.t
  • D /wxWidgets/trunk/distrib/msw/tmake/gtk.t
  • D /wxWidgets/trunk/distrib/msw/tmake/lib/wxFileInfo.pm
  • D /wxWidgets/trunk/distrib/msw/tmake/lib/wxFileList.pm
  • D /wxWidgets/trunk/distrib/msw/tmake/lib/wxVersion.pm
  • D /wxWidgets/trunk/distrib/msw/tmake/Makefile
  • D /wxWidgets/trunk/distrib/msw/tmake/mac.t
  • D /wxWidgets/trunk/distrib/msw/tmake/makeall.bat
  • D /wxWidgets/trunk/distrib/msw/tmake/makeall.sh
  • D /wxWidgets/trunk/distrib/msw/tmake/mgl.t
  • D /wxWidgets/trunk/distrib/msw/tmake/micro.t
  • D /wxWidgets/trunk/distrib/msw/tmake/motif.t
  • D /wxWidgets/trunk/distrib/msw/tmake/msw.t
  • D /wxWidgets/trunk/distrib/msw/tmake/os2.t
  • D /wxWidgets/trunk/distrib/msw/tmake/sc.t
  • D /wxWidgets/trunk/distrib/msw/tmake/tmake.conf
  • D /wxWidgets/trunk/distrib/msw/tmake/univ.t
  • D /wxWidgets/trunk/distrib/msw/tmake/v15.t
  • D /wxWidgets/trunk/distrib/msw/tmake/vc.t
  • D /wxWidgets/trunk/distrib/msw/tmake/vc6app.t
  • D /wxWidgets/trunk/distrib/msw/tmake/vc6base.t
  • D /wxWidgets/trunk/distrib/msw/tmake/vc6msw.t
  • D /wxWidgets/trunk/distrib/msw/tmake/vc6univ.t
  • D /wxWidgets/trunk/distrib/msw/tmake/wat.t
  • D /wxWidgets/trunk/distrib/msw/tmake/watbase.t
  • D /wxWidgets/trunk/distrib/msw/tmake/watmgl.t
  • D /wxWidgets/trunk/distrib/msw/tmake/wxwin.pro
  • D /wxWidgets/trunk/distrib/msw/tmake/x11.t
  • D /wxWidgets/trunk/distrib/msw/univ.rsp
  • D /wxWidgets/trunk/distrib/msw/unix2dos.c
  • D /wxWidgets/trunk/distrib/msw/user.rsp
  • D /wxWidgets/trunk/distrib/msw/utilmake.rsp
  • D /wxWidgets/trunk/distrib/msw/utils.rsp
  • D /wxWidgets/trunk/distrib/msw/vc.rsp
  • D /wxWidgets/trunk/distrib/msw/vcupdate.bat
  • D /wxWidgets/trunk/distrib/msw/wince.rsp
  • D /wxWidgets/trunk/distrib/msw/wordstyle.dot
  • D /wxWidgets/trunk/distrib/msw/wxrc.rsp
  • D /wxWidgets/trunk/distrib/msw/wxtree.rsp
  • D /wxWidgets/trunk/distrib/msw/wxwidgets_in.iss
  • D /wxWidgets/trunk/distrib/msw/wxwin01.bmp
  • D /wxWidgets/trunk/distrib/msw/wx_chm.rsp
  • D /wxWidgets/trunk/distrib/msw/wx_hlp.rsp
  • D /wxWidgets/trunk/distrib/msw/wx_htb.rsp
  • D /wxWidgets/trunk/distrib/msw/wx_html.rsp
  • D /wxWidgets/trunk/distrib/msw/wx_pdf.rsp
  • D /wxWidgets/trunk/distrib/msw/wx_word.rsp
  • D /wxWidgets/trunk/distrib/msw/x11.rsp
  • D /wxWidgets/trunk/distrib/msw/xml.rsp
  • D /wxWidgets/trunk/distrib/msw/zipdist.sh
  • D /wxWidgets/trunk/distrib/msw/zipmac.sh
  • D /wxWidgets/trunk/distrib/msw/zippatch.bat
  • D /wxWidgets/trunk/distrib/msw/zipwince.bat
  • D /wxWidgets/trunk/distrib/msw/zipwinminimal.bat
  • D /wxWidgets/trunk/distrib/msw/zipxml.bat
  • D /wxWidgets/trunk/distrib/scripts/build-environ.cfg
  • D /wxWidgets/trunk/distrib/scripts/build-linux.sh
  • D /wxWidgets/trunk/distrib/scripts/build-mac.sh
  • D /wxWidgets/trunk/distrib/scripts/build-windows.sh
  • D /wxWidgets/trunk/distrib/scripts/builddemos.sh
  • D /wxWidgets/trunk/distrib/scripts/build_controller.py
  • D /wxWidgets/trunk/distrib/scripts/create-archive.py
  • D /wxWidgets/trunk/distrib/scripts/create_archives.sh
  • D /wxWidgets/trunk/distrib/scripts/docs/creating_releases.html
  • D /wxWidgets/trunk/distrib/scripts/includes/configure_build.inc
  • D /wxWidgets/trunk/distrib/scripts/is_text.sh
  • D /wxWidgets/trunk/distrib/scripts/mac/dobuilds
  • D /wxWidgets/trunk/distrib/scripts/mac/lipo-dir.py
  • D /wxWidgets/trunk/distrib/scripts/mac/macbuild
  • D /wxWidgets/trunk/distrib/scripts/mac/macbuild-framework
  • D /wxWidgets/trunk/distrib/scripts/mac/macbuild-lipo
  • D /wxWidgets/trunk/distrib/scripts/mac/mac_options.inc
  • D /wxWidgets/trunk/distrib/scripts/mac/tardist
  • D /wxWidgets/trunk/distrib/scripts/manifests/base.rsp
  • D /wxWidgets/trunk/distrib/scripts/manifests/cocoa.rsp
  • D /wxWidgets/trunk/distrib/scripts/manifests/dfb.rsp
  • D /wxWidgets/trunk/distrib/scripts/manifests/dmc.rsp
  • D /wxWidgets/trunk/distrib/scripts/manifests/docsrc.rsp
  • D /wxWidgets/trunk/distrib/scripts/manifests/generic.rsp
  • D /wxWidgets/trunk/distrib/scripts/manifests/generic_samples.rsp
  • D /wxWidgets/trunk/distrib/scripts/manifests/gtk.rsp
  • D /wxWidgets/trunk/distrib/scripts/manifests/gtk1.rsp
  • D /wxWidgets/trunk/distrib/scripts/manifests/jpeg.rsp
  • D /wxWidgets/trunk/distrib/scripts/manifests/mac.rsp
  • D /wxWidgets/trunk/distrib/scripts/manifests/makefile.rsp
  • D /wxWidgets/trunk/distrib/scripts/manifests/mgl.rsp
  • D /wxWidgets/trunk/distrib/scripts/manifests/motif.rsp
  • D /wxWidgets/trunk/distrib/scripts/manifests/msw.rsp
  • D /wxWidgets/trunk/distrib/scripts/manifests/os2.rsp
  • D /wxWidgets/trunk/distrib/scripts/manifests/palmos.rsp
  • D /wxWidgets/trunk/distrib/scripts/manifests/stc.rsp
  • D /wxWidgets/trunk/distrib/scripts/manifests/tex2rtf.rsp
  • D /wxWidgets/trunk/distrib/scripts/manifests/tiff.rsp
  • D /wxWidgets/trunk/distrib/scripts/manifests/univ.rsp
  • D /wxWidgets/trunk/distrib/scripts/manifests/utilmake.rsp
  • D /wxWidgets/trunk/distrib/scripts/manifests/utils.rsp
  • D /wxWidgets/trunk/distrib/scripts/manifests/vc.rsp
  • D /wxWidgets/trunk/distrib/scripts/manifests/wince.rsp
  • D /wxWidgets/trunk/distrib/scripts/manifests/x11.rsp
  • D /wxWidgets/trunk/distrib/scripts/manifests/xml.rsp
  • D /wxWidgets/trunk/distrib/scripts/msw/makeinno.sh
  • D /wxWidgets/trunk/distrib/scripts/msw/makesetup.sh
  • D /wxWidgets/trunk/distrib/scripts/msw/make_msvc6_setup
  • D /wxWidgets/trunk/distrib/scripts/msw/make_msvc7_setup
  • D /wxWidgets/trunk/distrib/scripts/msw/setup.var
  • D /wxWidgets/trunk/distrib/scripts/setup_environ.sh
  • D /wxWidgets/trunk/distrib/scripts/unix/dobuilds
  • D /wxWidgets/trunk/distrib/scripts/unix/maketarballs
  • D /wxWidgets/trunk/distrib/scripts/unix/unixbuild
  • D /wxWidgets/trunk/distrib/scripts/update-manifests.sh
  • D /wxWidgets/trunk/distrib/scripts/utils.inc
  • D /wxWidgets/trunk/distrib/tar-o-matic.sh
  • M /wxWidgets/trunk/docs/tech/index.txt
  • D /wxWidgets/trunk/docs/tech/tn0013.txt

Remove all obsolete release-generation scripts. Only leave the files which are still used for the daily snapshots generation. Also remove the obsolete release-making instructions. See #11610.

2010-04-12 02:36 VZ, revision 63943

Fix return value of wxList::insert() in non-STL builds. The returned value was the same as the iterator that was passed in which could even be invalid when appending. Fix the wrong use of postfix decrement instead of prefix one and handle the case of appending correctly. Closes #11808.

2010-04-12 02:36 VZ, revision 63942

Fix compilation of wxIconBundle in some particular minimal builds. Let the code compile when wxUSE_STREAMS==1 but wxUSE_FILE and wxUSE_FFILE are both 0. Closes #10900.

2010-04-12 02:36 VZ, revision 63941

Use string sort order with CompareString() in wxString::CmpNoCase(). Using the default word sort order may fail to define a strict weak order using this function, thus breaking algorithms such as std::sort which rely on its properties. It's also more consistent with the fallback manual implementation. Closes #10375.

2010-04-11 19:38 VZ, revision 63940

Use template class instead of template function in wxVectorSort(). This allows the code to compile with VC6 which has trouble with explicit specification of the template functions instantiation.

2010-04-11 15:20 JMS, revision 63939

Fixed typo in documentation string

2010-04-11 13:08 VZ, revision 63938

Add wxString::ToStdString() and ToStdWstring(). These trivial helper functions are available in all builds (provided that wxUSE_STD_STRING is not explicitly set to non-default 0 value) unlike implicit conversions to std::[w]string which are only available when wxUSE_STL==1.

2010-04-11 11:26 SC, revision 63937

cocoa implementation for overlay

2010-04-10 20:23 VZ, revision 63936

Fix crash in wxMimeTypesManager [backport of r63935 from trunk]. Don't crash if wxMimeTypesManager is used before wxApp creation. See #11927.

2010-04-10 20:13 VZ, revision 63935

Don't crash if wxMimeTypesManager is used before wxApp creation. This is arguably not a supported use case but this apparently used to work before and so it's probably not a good idea to break it now. Closes #11927.

2010-04-10 20:13 VZ, revision 63934

Add non-template wxWeakRef<T> constructor from T*. We need a non-template ctor to make the code initializing wxWeakRef with literal NULL to compile. Closes #11916.

2010-04-10 20:13 VZ, revision 63933

Add wxWeakRef::element_type, remove unnecessary assignment operator. Define element_type for consistency with other classes (wxSharedPtr, weak_ptr) and to allow accessing the type from the template code. Also remove the apparently unnecessary template assignment operator: assignment from an expression convertible to type T* works even without it and while assigning something implicitly convertible to T* wouldn't work now, it's for the best as we don't want to rely on such implicit conversions.

2010-04-10 19:47 SC, revision 63932

flushing upon destruction, hope this won't redraw congestion in old code, see #11930

2010-04-10 19:46 SC, revision 63931

note for future implementation using a former private API

2010-04-10 01:18 MW, revision 63930

Corrections for the buildbot configs.

2010-04-10 01:04 MW, revision 63929

Add wxDFB to buildbot.

2010-04-10 00:20 MW, revision 63928

Typos.

2010-04-10 00:04 MW, revision 63927

Update configuration of linux buildbots.

2010-04-09 16:14 VS, revision 63925

Regenerated makefiles after removing USE_GDIPLUS.

2010-04-09 16:12 VS, revision 63924

Remove USE_GDIPLUS setting from bakefiles. GDI+ DLL is always loaded dynamically at runtime, so there's no reason to link against it anymore.

2010-04-09 15:15 VZ, revision 63923

Discard fully transparent alpha channel when loading bitmaps. Some bitmap files declare themselves to be 32bpp, normally indicating that they have an alpha channel, but have only zeroes in their alpha data. Hence loading them used to create fully transparent images which wasn't the desired effect. Fix this by simply discarding the alpha channel entirely if it turns out that all pixels were fully transparent. Closes #10915.

2010-04-09 15:15 VZ, revision 63922

Add wxImage::ClearAlpha(). This simple method can be used to remove alpha channel from the image. See #10915.

2010-04-09 10:10 SC, revision 63921

reverting r57083 for OSX, fixes #11922

2010-04-09 08:55 VS, revision 63920

Add system libs in msvc/wx/setup.h too. This makes it possible to use static build of wx from VC++ by just including its headers. Even though it's common to have these libs in your settings, it's not always the case.

2010-04-08 23:46 MW, revision 63919

Add initial config for TBITCWXBUILDBOT buildbot.

2010-04-08 23:39 SC, revision 63918

trying to simplify and optimize font handling

2010-04-08 20:47 SC, revision 63917

using statically allocated font objects for speedup

2010-04-08 11:46 SC, revision 63912

allowing direct native tlw modal loops

2010-04-08 11:45 SC, revision 63911

switching modal loop implementation, fixes #11921

2010-04-08 07:02 RD, revision 63910

--enable-uiactionsim for wxPython builds

2010-04-08 00:23 RD, revision 63909

#include <algorithm> to fix problem in PCH-less STL builds

2010-04-08 00:07 SC, revision 63908

fixing NSFontDescriptor matching for font weights and styles, fixes #11910

2010-04-07 23:56 RD, revision 63907

(blind) fix for buildbot breakage with MSVC 6

2010-04-07 22:40 RD, revision 63905

Drop the Array class added in the last scintilla patch and switch to using wxVector instead. Closes #11765.

2010-04-07 22:32 RD, revision 63904

Add wxVectorSort function for sorting wxVector<T> containers. Closes #11889

2010-04-07 22:29 RD, revision 63903

Test m_dc before using it

2010-04-07 22:27 SC, revision 63902

fixing focus, fixes #11911

2010-04-07 20:59 VS, revision 63901

Fixed wxFileSystem::FileNameToURL() regression with UNC paths. We cannot use wxURI to do the escaping, because wxFileSystem depends on use of nonstandard escaping and prefixes (wxURI eats away file:// prefix, while wxFileSystem uses it to signify UNC paths; wxFileSystem needs to escape #,: as well).

2010-04-07 20:42 SC, revision 63900

borders might have to be drawn differently

2010-04-07 14:55 VZ, revision 63894

Fix harmless MSVC warning about int to bool conversion in Scintilla. The warning is harmless but prevents buildbot from reporting any new warnings during the library compilation step so suppress it. Notice that it might be better if ViewStyle::extraFontFlag was bool and not int to begin with.

2010-04-07 14:52 VZ, revision 63893

Suppress dummy gcc warnings in regex library code. These warnings are harmless (variables are always initialized when they are used) but they unfortunately prevent buildbot from reporting any new warnings (which may not be harmless) during the library compilation step so suppress them in the least intrusive way possible.

2010-04-07 14:43 VZ, revision 63892

Work around "possibly uninitialized variable" warning in wxFileName. Initialize multiplier to its default value in GetHumanReadableSize() to avoid a "warning: 'multiplier' may be used uninitialized in this function" from g++.

2010-04-07 12:50 VZ, revision 63891

Rename the rest of wxSIZE_CONV_TRADIONAL to wxSIZE_CONV_TRADITIONAL. Fix tests compilation after r63886. See #10673.

2010-04-07 12:50 VZ, revision 63890

Correct documentation of wxSizeConvention elements. 1KiB is 1024 bytes, not 1000. Also put the elements in the correct order (same as in the real header). See #10673.

2010-04-07 11:05 SC, revision 63889

switching loop mode for idle processing, fixes #11912 (left is a redraw issue, textfield borders are not repainted correctly when enabling)

2010-04-07 09:22 SC, revision 63888

moving static box construction - z Order makes checkboxes nonresponsive otherwise on OSX

2010-04-07 01:51 VZ, revision 63887

Fix wxGTK compilation after r63880. SendTextUpdatedEvent() needs to be public as it's called from GTK callback.

2010-04-07 00:51 FM, revision 63886

fix typos introduced by error in r63870 (see #10673)

2010-04-07 00:43 SC, revision 63885

making gradients working again

2010-04-06 23:17 SC, revision 63884

supporting text foreground color, fixes #11903

2010-04-06 20:57 SC, revision 63883

fixing warnings

2010-04-06 20:46 VZ, revision 63882

Add wxTextEntryBase::ForwardEnableTextChangedEvents(). Use this method to forward the status of text events in the implementation of wxComboBox in wxOSX/Carbon. This ensures that the events are correctly [not] generated when various wxComboBox methods are called. The unit tests now also pass with wxOSX/Carbon.

2010-04-06 20:46 VZ, revision 63881

Fix text text changed events sending in OS X combo box and text control. Don't duplicate needlessly wxTextEntry functionality in wxTextCtrl. Don't clear the combobox text entry part twice in wxComboBox::DoClear(), it is supposed to only clear the item container contents as the base class Clear() already calls wxTextEntry::Clear(). Do send text updated events from wxTextEntry itself as it applies to wxComboBox just as well as to wxTextCtrl. The unit tests now pass under wxOSX/Cocoa, not breaking them again would be appreciated.

2010-04-06 20:46 VZ, revision 63880

Move SendTextUpdatedEvent() down to wxTextEntryBase from wxTextCtrlBase. This will allow reusing it in wxComboBox implementation as well. Also add SendTextUpdatedEventIfAllowed() which can be used to only send the events if they were not blocked at wxTextEntry level. No real changes otherwise.

2010-04-06 20:46 VZ, revision 63879

Implement support for gradient stops for OS X. Currently the code still doesn't work but OTOH it's not any worse than what it was before. See #11904.

2010-04-06 20:46 VZ, revision 63878

Remove duplicated GetTextPeer() definitions from derived classes. GetTextPeer() may be implemented directly in wxTextEntry under OS X, there is no need to define it (identically) in wxTextCtrl and wxComboBox. Also just call this method instead of duplicating its code in wxOSX wxTextCtrl.

2010-04-06 20:46 VZ, revision 63877

Set the value passed to wxComboBox ctor in wxOSX/Cocoa. The initial value was simply ignored, do use it now if it's specified, i.e. non empty.

2010-04-06 20:46 VZ, revision 63876

Suppress a harmless signed/unsigned comparison warning. wxComboBox::FindString() used int loop index, change it to unsigned one.

2010-04-06 20:46 VZ, revision 63875

Suppress unused parameter warnings. observer argument of wxCFEventLoop::ObserverCallBack() and timestampsec one of wxComboBox::OSXHandleClicked() were unused and generated gcc warnings. wxComboBox::EnableTextChangedEvents() needs to be implemented but as there is already a wxFAIL in it an extra warning is not really useful.

2010-04-06 19:38 VZ, revision 63874

Attempt to correct mysterious MSVC6 compilation error. For some reasons MSVC6 refuses to compile TestData struct initialization. Try to work around it by not using wxULongLong as this looks like the only thing which might be confusing it.

2010-04-06 19:38 VZ, revision 63873

Fix more harmless warnings. Fix a warning about unused parameters and another about signed/unsigned comparison during samples and tests compilation.

2010-04-06 18:51 SC, revision 63872

adding clipboard events, fixes #11906

2010-04-06 18:23 VZ, revision 63871

Remove extra semicolons from NOTIFYICONDATA_V[12]_SIZE definitions. These semicolons prevented the code from compiling when using old SDK which didn't provide these symbols itself.

2010-04-06 16:53 VZ, revision 63870

Add support for IEC and SI size units to wxFileName::GetHumanReadableSize(). Allow choosing the multiplier to use (1000 or 1024) and the names of the units (SI or IEC). By default, still use traditional convention, i.e. multiplier of 1024 but SI unit names. This will probably need to be changed to use IEC units in the future. Also added unit test for this function. Closes #10673.

2010-04-06 15:55 VZ, revision 63869

Add default constructor to wxGraphicsGradientStop. It may be convenient to create wxGraphicsGradientStop first and initialize it later so allow doing this by providing the default argument for constructor parameters and thus allowing to use it as the default constructor. See #11897.

2010-04-06 15:55 VZ, revision 63868

Correct check for MSVC version in wxUSE_GRAPHICS_CONTEXT definition. Set wxUSE_GRAPHICS_CONTEXT to 1 by default for MSVC 7.1+ and not 8+.

2010-04-06 11:47 JJ, revision 63867

Update OpenVMS compile support

2010-04-06 02:17 VZ, revision 63866

Correct checks for gradient stop position. It may be <= 1 in the final version and not < 1. See #11897.

2010-04-05 19:52 RR, revision 63865

non PCH compilation

2010-04-05 19:19 VS, revision 63864

Fix text input and completion in wxComboCtrl and wxOwnerDrawnComboBox. Both wxEVT_KEY_DOWN and wxEVT_CHAR must be handled and only the latter used for completion (or any characters input). Don't make incorrect assumptions about wxEVT_CHAR keycodes either, it's only the Unicode character and printability that matter. Otherwise, completion in readonly controls wouldn't work correctly for e.g. numbers on numpad or non-ASCII characters.

2010-04-05 19:18 VS, revision 63863

wxOwnerDrawnComboBox: handle Home and End keys as native control does.

2010-04-05 19:18 VS, revision 63862

Pass events around with ProcessEvent(), not AddPendingEvent(). The latter adds the event for later processing. As a result, the event appears to be processed to the caller, even if the handled it was passed to called Skip() on it. ProcessEvent() doesn't suffer from this problem, it may modify the event as expected.

2010-04-05 19:18 VS, revision 63861

wxOwnerDrawnComboBox: handle numpad navigation keys. For consitency with the native control, up/down/pgup/pgdown keys should be handled even when pressed on the numpad.

2010-04-05 19:18 VS, revision 63860

Implement native mousewheel behaviour in wxOwnerDrawnComboBox.

2010-04-05 19:18 VS, revision 63859

In wxPopupFocusHandler, watch for EVT_CHAR, not EVT_KEY_DOWN. We should close the popup only if neither of these events was processed; previously, EVT_CHAR would never reach the popup in open state, as it would be closed automatically.

2010-04-05 14:44 SC, revision 63858

moving OnInit back

2010-04-05 14:15 VZ, revision 63857

Add support for gradient stops to wxGraphicsContext. Allow specifying a set of gradient stops instead of just the beginning and ending colours. Add the new wxGraphicsGradientStop(s) classes and new wxGraphicsContext::Create{Linear,Radial}GradientBrush() overloads. Also change the same methods of wxGraphicsRenderer to take wxGraphicsGradientStops instead of a pair of colours. Implement the new API for MSW and Cairo. OS X still uses just the two colours for now. Closes #11897.

2010-04-05 13:44 VZ, revision 63856

Add wxTransparentColour global pseudo-variable. Introduce a symbolic name for a fully transparent colour. See #11897.

2010-04-05 13:44 VZ, revision 63855

Use helper wxColourToColor function in wxMSW wxGraphicsContext code. Don't repeat Color ctor from wxColour all the time.

2010-04-05 03:07 PC, revision 63854

avoid setting negative window size

2010-04-05 03:06 PC, revision 63853

freeze whole window for TLW

2010-04-05 02:45 PC, revision 63852

avoid permanently frozen TLW when frozen child is destroyed with GTK+ 2.18

2010-04-04 17:22 JMS, revision 63850

Resolve GCC's 'type-punned pointer will break strict-aliasing rules' warning by breaking up code in wxAny GetValue() and SetValue() functions into several lines (fixes #11865)

2010-04-04 15:19 VZ, revision 63849

Fix wxTaskBarIcon to work under all Windows versions. When the code was compiled using a new SDK, creating wxTaskBarIcon failed under older Windows systems because of a too big NOTIFYICONDATA size specified by the program. Fix this by using the fixed NOTIFYICONDATA_V2_SIZE to get old version of the struct which nevertheless contains everything we need and even fall back to NOTIFYICONDATA_V1_SIZE for Win9x if needed. Closes #11886.

2010-04-03 14:25 VZ, revision 63842

Correct compilation breakage of r63832. wx/setup.h can't use wxCHECK_VISUALC_VERSION() which is defined in wx/platform.h _after_ wx/setup.h inclusion. Replace wxCHECK_VISUALC_VERSION() with manual tests for _MSC_VER. Also add more comments to explain what's going on.

2010-04-03 11:58 SC, revision 63841

shuffling code back from eventloop to common app utils

2010-04-03 11:49 SC, revision 63840

no special casing for iphone necessary

2010-04-03 11:43 SC, revision 63839

fixing wrong version commit

2010-04-03 11:10 SC, revision 63838

support for toggle bitmap button

2010-04-03 08:59 SC, revision 63837

fixing multilib build

2010-04-02 23:30 VZ, revision 63833

Correct typo in configure introduced in r63832. See #11892.

2010-04-02 21:30 VZ, revision 63832

Allow using wxGraphicsContext with MinGW if gdiplus.h is available. MinGW doesn't include gdiplus.h but it can be installed independently by the user. Allow to use it if it's available: - Include windows.h when checking for it in configure as this is apparently needed for its compilation. - Don't reset wxUSE_GRAPHICS_CONTEXT to 0 for non-Microsoft compilers, instead just define it as 0 by default for them, allowing the user to simply change the definition in wx/msw/setup.h. Closes #11892.

2010-04-02 21:30 VZ, revision 63831

Fix crash in wxMediaCtrl::GetDownloadProgress() with ActiveMovie backend. IActiveMovie::get_FilterGraph() may return S_FALSE, i.e. succeed, while leaving the output pointer NULL. Check for this and don't dereference the pointer before checking for its validity. Also do it for the other call in this function just in case. And rearrange the code to be slightly more readable. Closes #11894.

2010-04-02 21:30 VZ, revision 63830

Show labels for controls in wxOSX/Carbon toolbars. Add a call to HIToolbarItemSetLabel(). Closes #11885.

2010-04-02 20:19 SC, revision 63829

keeping m_labelOrig untouched, solves test failures (FM)

2010-04-02 16:52 SC, revision 63828

simplifying modal event loop handling

2010-04-02 14:27 SC, revision 63827

moving OnInit to a later stage to avoid Carbon Emulation artifacts by the OS, fixes #11839

2010-04-01 19:16 PC, revision 63819

move everything inside wxUSE_RIBBON wrapper

2010-04-01 19:00 PC, revision 63818

avoid setting negative window sizes

2010-04-01 18:59 PC, revision 63817

don't try to create a color named "Default"

2010-04-01 11:59 JJ, revision 63816

Fix OpenVMS compile support for new version in src/stc

2010-03-30 23:38 FM, revision 63806

Committing modified version of jwiesemann's patch (see #11223): Fix wxURL copy ctor and assignment: the default ones provided by the compiler are wrong because wxURL uses pointers internally. Also add a test for copy & assignment in URLTestCase. Closes #11223

2010-03-30 18:14 PC, revision 63805

Remove unnecessary declarations. Contrary to the comment, they are not used often, in fact only once each and in the same file.

2010-03-30 14:02 JJ, revision 63804

correcting typo in commit 63803

2010-03-30 13:54 JJ, revision 63803

Defining wxCOMPILE_TIME_ASSERT for OpenVMS

2010-03-30 05:50 RD, revision 63792

Apply patch (plus some additional changes) upgrading Scintilla to version 2.03. Closes #11765, #11748, #11346

2010-03-29 23:31 FM, revision 63786

better docs for Get/SetLabel methods

2010-03-29 23:24 VZ, revision 63785

Fix compilation breakage in r63783. Added missing #endif.

2010-03-29 23:24 VZ, revision 63784

Only allow opening existing files in docview framework. Use wxFD_FILE_MUST_EXIST when asking the user for the name of the file to open. Closes #11866.

2010-03-29 22:57 VZ, revision 63783

Add wxUSE_FSWATCHER dependency on wxUSE_THREADS for wxMSW. wxFileSystemWatcher implementation uses threads under MSW and can't be compiled when wxUSE_THREADS==0.

2010-03-29 20:17 JMS, revision 63782

For better support of wxValidators, invoke wxValidator::Validate() directly. Also remove obsolete flag wxPG_FL_VALIDATION_FAILED and make wxPropertyGrid::DoEditorValidate() virtual.

2010-03-29 16:19 VS, revision 63781

Use fixed screen DPI of 96 when printing HTML. Unlike font sizes, which depend on screen resolution because of weird wxFont API, pixel sizes used elsewhere (and in particular, for images) shouldn't depend on screen DPI. This finally makes the output independent of screen size. Fixes #10942.

2010-03-29 16:18 VS, revision 63780

Removed useless wxDisplaySize() calls from wxHtmlPrintout.

2010-03-29 13:39 CE, revision 63779

2.8.11

2010-03-29 11:59 VZ, revision 63778

Add wxBitmap unit test. This should have been part of r63774.

2010-03-29 08:45 PC, revision 63777

build fix for IRIX

2010-03-29 08:44 PC, revision 63776

non-pch build fix

2010-03-29 03:16 PC, revision 63775

Reverse hierarchy of wxPizza GdkWindows widget->window must be topmost in order for GTK+ to calculate DND drop coordinates correctly fixes #11834

2010-03-29 01:20 VZ, revision 63774

Implement wxMask copy ctor for wxGTK. Without copy ctor copying masks simply crashed because the same pointer was deleted twice. Also added a (completely trivial but better than nothing...) unit test for wxBitmap to check that copying masks does work now. Closes #11854.

2010-03-29 01:20 VZ, revision 63773

Suppress gcc warnings about double to int conversion. This change might actually make the code more correct as well although in practice it probably doesn't change anything.

2010-03-29 00:39 VZ, revision 63772

Fix bug in wxMBConv_cf::FromWChar() in OS X. Apparently CFStringGetBytes() doesn't always behave as expected, work around this by checking that the returned buffer size is not greater than the size we passed in. Closes #11859.

2010-03-29 00:39 VZ, revision 63771

Clarify wxMenu objects allocation rules. Make it clear that only the menu directly passed to wxWindow::PopupMenu() doesn't need to be allocated on the heap and that its submenus still do. Closes #11851.

2010-03-29 00:34 VZ, revision 63770

Properly handle DC origin and scale in wxDoFloodFill() [backport of r57824]. Closes #4557.

2010-03-29 00:34 VZ, revision 63769

Use COLORONCOLOR stretching mode in DrawBitmap() too [backport of r60034 from trunk]. Closes #3400.

2010-03-29 00:34 VZ, revision 63768

Fix wxDateTime::GetWeekOfMonth() [backport of r62916 from trunk]. Closes #11561.

2010-03-29 00:23 FM, revision 63767

no real changes: just a small optimization on wxStaticText::DoSetLabel() to avoid altering m_labelOrig there (it's already modified by SetLabel(), no need to change it twice)

2010-03-28 19:55 VS, revision 63766

wxHTML: Support percentage width in IMG tag. (Patch #11800 by lpoujoulat) Fixes #11800.

2010-03-28 19:52 VS, revision 63765

Fix UTF-8 string storage in constant: use unsigned char.

2010-03-28 17:41 VS, revision 63764

Reverted wxFileSystem support in wxLocale. The implementation was broken in numerous ways. URLs were corrupted in search paths thanks to use of wxFileName for normalization. Lookup of catalogs was broken, because ":" in URLs were interpreted as path separators. Asserts occured because filenames were (incorrectly!) interpreted as URLs. Will replace with proper implementation. See #8793, #11491.

2010-03-28 17:41 VS, revision 63763

Fix wxFileSystem::FileNameToURL() for Unicode file names. If filename with non-ASCII characters was encoded, resulting URL contained non-ASCII characters. But URLToFileName() expected the input to be in UTF-8. This change fixes it by using UTF-8 for file: URLs in FileNameToURL() too. Fixes #11491.

2010-03-28 17:41 VS, revision 63762

Add test wxFileSystem::FileNameToURL,URLToFileName roundtrip with Unicode filenames. See #11491.

2010-03-28 16:37 VS, revision 63761

Preserve m_skipped in wx[Var]ScrollHelperEvtHandler::ProcessEvent. If the event was skipped and not processed, its "skipped" status would be lost.

2010-03-25 21:08 VZ, revision 63758

Fix compilation of wx/debug.h when it's the first wx header to be included. We must include wx/dlimpexp.h from wx/debug.h to be able to forward declare wxString and wxCStrData using WXDLLIMPEXP_FWD_BASE, otherwise compilation errors occur in the code which includes wx/debug.h as the first wx header.

2010-03-25 21:07 VZ, revision 63757

Allow overriding print preview frame creation in docview. Add a virtual wxDocManager::CreatePreviewFrame() which can be overridden to customize the print preview used by docview framework. Closes #11390.

2010-03-25 16:55 JMS, revision 63756

Fix focus at the end of a property label edit (needed at least for wxGTK)

2010-03-25 16:40 JMS, revision 63755

In wxPropertyGrid::HandleCustomEditorEvent(), ignore events coming from a label editor

2010-03-25 12:16 JJ, revision 63754

Updates to make wxWidgets compaile on OpenVMS again

2010-03-23 18:58 PC, revision 63751

better fix for #11803, don't set iconized state for hidden window

2010-03-23 18:19 PC, revision 63750

ignore iconized state when computing client size for GetBestSize(), fixes #11803

2010-03-23 16:14 JJ, revision 63749

Adding keyboard sample to OpenVMS makefiles

2010-03-23 11:49 VZ, revision 63748

Implement wxDocument::Revert() and show its use in the sample. wxDocument::Revert() method existed but didn't do anything, provide a default implementation for it. Also document it and show it in the sample. Closes #11849.

2010-03-23 11:36 VZ, revision 63747

Always call wxView::Close() when closing it. After wxDocView refactoring the behaviour has changed and wxView::Close() and hence user-overriddable OnClose() called from it) was only called if the close event could be vetoed. This broke code which relied on OnClose() being executed in any case to perform some cleanup and was incompatible with 2.8 so restore the old behaviour now.

2010-03-23 09:59 JS, revision 63746

Fixed ordering bug that caused an assertion because symbol list control wasn't set to unicode yet

2010-03-23 09:59 JS, revision 63745

Fixed ordering bug that caused an assertion because symbol list control wasn't set to unicode yet

2010-03-22 23:56 VZ, revision 63742

Add uiaction sample to the list of samples to build if enabled. The uiaction sample was never built under Unix, do add it to SAMPLES_SUBDIRS to enable building it if wxUSE_UIACTIONSIMULATOR==1.

2010-03-22 23:56 VZ, revision 63741

Let uiaction sample compile even if wxUSE_UIACTIONSIMULATOR==0. There is no way to exclude the sample from the build under Windows so make it compile and link even if wxUSE_UIACTIONSIMULATOR==0 but just give an error message on startup in this case instead of working as expected.

2010-03-22 23:56 VZ, revision 63740

Clarify wxDateTime::ParseDateTime() semantics: it needs both date and time. Correct documentation and also remove unnecessary initialization of variables and comments in the function itself. See #11846.

2010-03-22 17:08 VZ, revision 63739

Temporarily disable wxFileSystemWatcher unit test under OS X. This tests hangs and never finishes, disable it for now to allow buildbot to at least run the other tests.

2010-03-22 17:07 JMS, revision 63738

Fixed RefreshRect() call in wxPropertyGrid::DrawItems() to use physical window coordinates instead of logical grid ones

2010-03-22 12:40 VZ, revision 63737

Fix wxOSX compilation without PCH. Explicitly include wx/nonownedwnd.h as we use wxNonOwnedWindow in this file. Closes #11833.

2010-03-22 12:40 VZ, revision 63736

Add wxUSE_UIACTIONSIMULATOR and turn it off by default. Disable the recently added wxUIActionSimulator class until the issues with it mentioned at http://article.gmane.org/gmane.comp.lib.wxwidgets.devel/119792/ are fixed. Also use "" around wx headers instead of <> in wx code itself. See #11801.

2010-03-22 12:40 VZ, revision 63735

Don't enter an infinite loop if a spacer with min size of -1 is used. Sizer layout algorithm broke down if min size of an item happened to be -1, i.e. the same value as we use as a sentinel for indicating that the min size hasn't been fixed yet. It doesn't make much sense for min size to be negative in the first place but currently this can happen at least for spacers so deal with it here by ensuring that the min size we use is positive. Closes #11842.

2010-03-22 12:40 VZ, revision 63734

Fix the selection validity check in wxSingleChoiceDialog. Fix the typo ("> 0" was used instead of ">= 0") introduced in r63731. Closes #11844.

2010-03-21 22:39 FM, revision 63733

reorder GetLabel(), GetLabelText(), SetLabel() and SetLabelText() function declarations, implementations and relative documentations. Add wxStaticTextBase::GetLabelWithoutMarkup() and use it in the wxMSW implementation of wxStaticText::SetLabel() to close bug #11446; the function RemoveMarkup() which was previously used in fact could not check for presence/absence of wxST_MARKUP style since it's a static function. Add wxStaticTextBase::SetLabelText() functions for symmetry with wxControlBase::SetLabelText() Add test unit for both wxControl::*Label* and wxStaticText::*Label* functions.

2010-03-21 12:06 VZ, revision 63732

Correct wxFILTER_DIGITS handling broken by r63582. The fix in r63582 accidentally omitted the "!" in wxFILTER_DIGITS check. Restore it. Closes #11838.

2010-03-21 12:06 VZ, revision 63731

Add initial selection parameter to wxGetSingleChoice() functions. Allow to easily specify the initially selected item. Closes #11749.

2010-03-21 12:06 VZ, revision 63730

Don't leak m_protocol in wxURL. Destroy the old protocol before creating it anew in ParseURL(). Closes #11796.

2010-03-20 15:08 JMS, revision 63727

Make wxPGVFBFlags an unsigned char define instead of wxByte typedef (easier time for wxPython bindings)

2010-03-20 14:18 VZ, revision 63726

Remove obsolete parts of wxPageSetupDialog documentation. Don't speak about features "new" in Windows 95 nor 4.0 any more (what next, discussion of wxWidgets limitations when running on an abacus?) but do mention that this dialog is native under all major platforms now. Closes #11820.

2010-03-20 14:18 VZ, revision 63725

Add wxMessageDialog::GetEffectiveIcon() and use it in all ports. Remove code duplication and inconsistencies among different ports by using a single function in the base class for the determination of the effective icon style to use, correctly handling both wxICON_NONE and the absence of any wxICON_XXX styles. Closes #11822.

2010-03-20 14:03 VZ, revision 63724
  • D /wxWidgets/trunk/src/x11/joystick.cpp

Remove unused and empty src/x11/joystick.cpp file. This was never implemented and is unlikely to ever be. In any case the file didn't contain anything useful.

2010-03-20 14:03 VZ, revision 63723

Rename wxWindow::GetMainWindow() to X11GetMainWindow() in wxX11. This avoids conflicts with GetMainWindow() defined in other wxWindow-derived classes (such as wxDataViewCtrl and potentially user-defined classes as well). Closes #11818.

2010-03-20 14:03 VZ, revision 63722

Fix a couple of harmless unused parameter warnings in wxX11. See #11818.

2010-03-20 14:02 VZ, revision 63721

De-TAB-bed src/x11/pango_x.cpp. This is necessary in order to be able to check in its modified version in the next commit.

2010-03-20 13:45 VZ, revision 63720

Fix some harmless unused parameter warnings. These warnings only happen in specific builds (when HAVE_LANGINFO_H and wxUSE_DISPLAY are undefined/off). See #11817.

2010-03-20 13:45 VZ, revision 63719

Check whether SA_RESTART is defined and don't use it if it isn't. SA_RESTART is not defined for QNX and not only VMS so test for it directly instead of testing for the platform. See #11817.

2010-03-20 13:45 VZ, revision 63718

Include sys/time.h from threadpsx.cpp for all systems. It's needed by Linux and QNX and shouldn't do any harm under the others. See #11817.

2010-03-20 13:45 VZ, revision 63717

Add support for QNX to dialup detection code. See #11817.

2010-03-20 13:45 VZ, revision 63716

Always include sys/time.h and sys/select.h from selectdispatcher.h. fd_set used by this header is supposed to be defined in sys/select.h and not including this header resulted in compilation problems under QNX. And including sys/time.h shouldn't hurt and is needed by select() under many systems anyhow. See #11817.

2010-03-20 13:45 VZ, revision 63715

Define wxGraphicsRenderer::GetDefaultRenderer() for all non-{MSW,Mac} ports. wxGraphicsRenderer::GetDefaultRenderer() was only defined for wxGTK for some reason but it needs to be defined in terms of GetCairoRenderer() for all ports without native renderer implementation, i.e. everything but wxMSW and wxMac. See #11817.

2010-03-20 13:45 VZ, revision 63714

Remove duplicate variable definition. The splitterX variable in wxPropertyGrid::HandleMouseMove() was defined twice with the same value, remove the second definition to avoid warnings about shadowing the variable in outer scope from some compilers. See #11817.

2010-03-19 23:35 FM, revision 63713

Fix various doxygen warnings

2010-03-19 10:57 VZ, revision 63712

Postpone initialization of owner-drawn menu metrics. Doing it during globals initialization time didn't work and could even result in a crash due to dereferencing a NULL wxTheApp pointer. Closes #11806.

2010-03-18 18:12 JMS, revision 63711

Clarify documentation for wxPropertyGridEvent::GetProperty()

2010-03-18 16:51 VZ, revision 63710

Return exit code as signed integer from wxExecute(wxEXEC_SYNC). The caller expects the function to return -1 if the child process exited with -1 error code and not 255 that was returned before. The function is also documented as returning -1 if the execution fails which wasn't true neither. Fix this by explicitly handling the exit code as signed. Closes #11824.

2010-03-18 16:14 VZ, revision 63709

Compilation fix for wxOS2 with Watcom. Assign BYTE* to pData variable in wxMenu::DoInsertOrAppend(), not char*.

2010-03-18 16:07 VZ, revision 63708

Ensure that setting wxChoice height to its default value does set it. Setting wxChoice height to its default value didn't change the height even if the current height was different from the default. This resulted in problems when a wxChoice was used inside a wxAuiToolBar because AUI temporarily reduces the toolbar size to (1, 1) when docking it (thus ensuring that the height of wxChoice is changed too) and generally didn't make sense. Fix this by resetting the height to the default value if the value passed to wxChoice::SetSize() is what it considers to be its default height. Add a unit test for this bug and also add a wxChoice to AUI sample to allow testing for wxChoice behaviour inside a wxAuiToolBar being [un]docked.

2010-03-18 16:07 VZ, revision 63707

Remove wxAuiProportionalBoxSizer hack and replace it with wxBoxSizer. The temporary workaround due to wxBoxSizer changes in 2.9.0 is not needed any more, revert r59889 and use wxBoxSizer instead of custom wxAuiProportionalBoxSizer again.

2010-03-18 16:07 VZ, revision 63706

Fix box sizer layout algorithm to respect both proportions and min sizes. The new version of the algorithm tries to distribute the entire space allocated to the sizer among its children, just as the version in 2.8 did, while still respecting minimal children sizes first and foremost. This means that the space allocated to the item will always be at least its minimal size if the total space is at least equal to the sum of minimal sizes of the children but that if there is enough space, the proportions will be respected too. Extended the unit test to check that laying out various combinations of three elements results in the expected results. Closes #11311.

2010-03-18 16:07 VZ, revision 63705

Ensure that size in the minor direction of box sizer doesn't exceed the total. This is similar to the previous commit but for the transversal direction of a box sizer: we could give an item size larger than the size of the sizer itself making only part of its window visible (and thus potentially making the window unusable e.g. because the scrollbar wasn't visible at all). Fix this by always restricting the item size in the minor direction to the total size available and add a unit test which failed previously and passes now.

2010-03-18 16:07 VZ, revision 63704

Ensure that size in the major direction of box sizer doesn't exceed the total. After fixing the problem with "growing items by negative proportion" in r56010 (which still was the correct thing to do as it fixed such indefensibly broken behaviour as shrinking items with larger proportion by more than "smaller" items when there was not enough space) the items in a box sizer could become larger than the total space allocated to the sizer resulting in only parts of them being visible. Fix this by truncating the items to the (remaining) total size even if this means making them less than their minimal sizes -- because there is nothing else we can do when the total space is smaller than the sum of minimal sizes anyhow. Closes #10008.

2010-03-18 16:07 VZ, revision 63703

Add (a very simple for now) wxBoxSizer unit test. Only check that layout for a single sizer item works correctly for now.

2010-03-18 16:02 VZ, revision 63702

Czech translation update from Herbert Breunung.

2010-03-17 19:17 JMS, revision 63700

Use explicit wxPGPropertyFlags enum type with wxPGProperty::SetFlag() and similar member functions (thus preventing use of incorrect set of flags). Also now document wxPGProperty flags.

2010-03-17 10:13 SC, revision 63699

fixing non-precomp builds

2010-03-17 09:05 SC, revision 63698

adding proper removal of observer for stacked event loops, using cfrunloop for console on osx as well

2010-03-17 08:14 SC, revision 63697

streamlining OSX event support third step, using platform specific native run methods for event loops

2010-03-16 20:13 RR, revision 63694

Don't use grouping of different methods as this creates confusing output

2010-03-16 15:48 VZ, revision 63693

Add white outline to bulls eye cursor used under MSW. The cursor used black circles only making it perfectly invisible on black background. Add a white outline as well to ensure that it can be seen in this case too, similarly to how it's done for magnifying glass cursor and the same bulls eye cursor in GTK+.

2010-03-16 01:23 VZ, revision 63690

Initialize picker style in native GTK file/dir pickers. This fixes the styles used in the native wxGTK version after changes in r63654: we must initialize base class m_pickerStyle now and the code didn't do this before resulting in various asserts and incorrect behaviour.

2010-03-15 20:31 SC, revision 63689

streamlining OSX event support second step, moving pending and idle event handling to runloop-observer, see #11805, see #11797

2010-03-15 16:40 SC, revision 63687

streamlining OSX event support first step, see #11805, see #11797

2010-03-14 18:15 JMS, revision 63686

Fixed label editor position for child properties

2010-03-14 15:47 VZ, revision 63685

Fix test for compilers not supporting \u escapes in strings (such as VC6). Also reformat the code to follow wx style and explicitly use UTF-8 for the test strings encoding instead of assuming the encoding of the current locale was UTF-8 (which is never the case under Windows).

2010-03-14 15:44 VZ, revision 63684

Set correct properties for the new file added in r63660.

2010-03-14 15:15 VZ, revision 63683

Use an appropriate icon automatically in wxMSW wxMessageDialog. wxMessageBox() functions uses wxICON_QUESTION or wxICON_INFORMATION automatically if no other icon style (including wxICON_NONE) is specified but wxMessageDialog under MSW didn't do this, unlike under e.g. wxGTK. Fix this by also determining the appropriate icon automatically in wxMessageDialog itself in wxMSW. Ideally we'd do this in all ports wxMessageDialog implementations and remove the code doing it from wxMessageBox() but right now it's still needed for the platforms other than wxMSW and wxGTK.

2010-03-14 15:15 VZ, revision 63682

Document that message box with wxYES_NO but without wxCANCEL can't be closed. Recommend using these styles together to avoid it.

2010-03-14 15:15 VZ, revision 63681

Add a "not specified" icon style to the message box test dialog. The sample allowed to test the behaviour with all wxICON_XXX including wxICON_NONE but not without any icon styles at all. Do allow it now. Also use symbolic names for the radiobox indices for clarity.

2010-03-13 22:58 VZ, revision 63680

Use event tables instead of Bind() in uiaction sample. This should fix VC6 build broken by addition of this sample as VC6 doesn't support Bind(). Luckily, there is no need to use it here anyhow.

2010-03-12 23:59 VZ, revision 63664

Add minimal support for QNX to configure. Recognize QNX and define __QNX__ under it. Don't use -lpthreads as the thread functions are in libc under QNX. Use wxX11 by default. See #11790.

2010-03-12 15:38 JMS, revision 63663

Fixed property editor re-positioning when additional column editor (e.g. label editor) is used

2010-03-12 10:36 VZ, revision 63662

Revert unneeded fix for list control headers from r63177. The call to SetItemMinSize() shouldn't be needed and the latest OS X version does work correctly without it. Apparently the real bug was fixed somewhere else in the meanwhile. Closes #11309.

2010-03-12 10:27 VZ, revision 63661

Correct query for formats supported by wxDataObject in wxGTK wxClipboard. We wrongly asked wxDataObject for the formats it could provide on output instead of those it accepted as input in wxClipboard::GetData() in wxGTK. This could result in clipboard not working for "asymmetrical" data objects. See #11811.

2010-03-10 14:57 FM, revision 63660

Fix function wxControlBase::DoEllipsizeSingleLine to really make sure that the ellipsized string takes less pixels than maxFinalWidthPx. Add comments to explain in more details what the function does and in particular the valid ranges of all internal variables; fix in that regard both the code of both wxELLIPSIZE_START, wxELLIPSIZE_MIDDLE and wxELLIPSIZE_END. Add more asserts to check the valid ranges and turn a couple of time-expensive checks in level-2 asserts. Add a test unit for the wxControl::Ellipsize function. Fix minor details in the docs of wxControl::Ellipsize. Closes #11567.

2010-03-10 12:07 FM, revision 63659

no real changes, just rename the variables to make the code more readable and to prepare everything for the next commit: - add postfix "Px" to all variables containing numbers of pixels - add postfix "ToRemove" to initialChar and nChars vars to make it clear what they are for

2010-03-09 12:08 VZ, revision 63658

Use _UNICODE instead of UNICODE in wx/msw/winundef.h. This is consistent with the other checks and generally more correct.

2010-03-09 00:34 VZ, revision 63655

Another German translation update from Herbert Breunung. German translation is now 100% complete again.

2010-03-08 20:37 VZ, revision 63654

Use correct style for the dialog shown by generic file/dir pickers. The picker styles don't make sense for the button so we don't use them when creating the button but we do need to somehow use the style the picker was created with to create an appropriate dialog when it's clicked. Fix the problem by simply storing the style in a member variable and using it instead of wxWindow::m_windowStyle. Closes #11635.

2010-03-08 13:21 VS, revision 63653

Fix wxTlsValue<> memory leaks. Win32 API doesn't provide pthreads-like destructors, so we need to emulate them to free per-thread allocated memory.

2010-03-08 12:08 SC, revision 63652

pending events detected didn't work properly, go the safe route now, fixes #11797

2010-03-07 17:03 FM, revision 63650

Provide more details about the major and minor version numbers returned by wxGetOsVersion() under linux,mac,windows. Document that wxOS_UNIX, wxOS_MAC and wxOS_WINDOWS enum values are combinations of other values (unfortunately doxygen does not show the definition of those symbols in the HTML docs so we need to explicitely state that).

2010-03-07 12:37 VZ, revision 63649

German translations update from Herbert Breunung.

2010-03-07 11:46 VZ, revision 63648

Skip wxChildFocusEvent in wxAuiNotebook handler. There doesn't seem to be any good reason to eat the event in this handler, leave it for the others if needed. See #11785.

2010-03-07 11:46 VZ, revision 63647

Show pages icons in window list menu in wxAuiNotebook. Reuse the tab icons in the wxAuiNotebook window list menu. Closes #11785.

2010-03-06 22:30 KO, revision 63646

Add uncommitted uiaction `sample bakefiles.

2010-03-06 21:15 KO, revision 63645

Rebake after wxUIActionSimulator addition.

2010-03-06 21:09 KO, revision 63644

Adding wxUIActionSimulator, a class for programmatically controlling the mouse and keyboard.

2010-03-06 14:30 VZ, revision 63642

Reset wxAuiNotebook selection to wxNOT_FOUND if it becomes empty. The selection was 0 in a notebook without any pages which was wrong as it must always be less than the page count. Fix this in wxAuiNotebook itself and add an assert checking for this invariant to the sample.

2010-03-06 05:51 KO, revision 63641

A call to wxPopupWindow::Show shouldn't automatically cause the popup window to steal focus.

2010-03-06 05:15 KO, revision 63640

Add git source control dirs to the list of excludes.

2010-03-06 05:08 KO, revision 63639

Add create-archive.py to wx source tree.

2010-03-06 01:31 VZ, revision 63638

Don't store header height in generic wxListCtrl member variable. This is simply unnecessary and resulted in a crash in wxDFB because the window was used for this variable initialization before being created. Closes #11711.

2010-03-06 01:31 VZ, revision 63637

Fix toggling the header in the generic wxListCtrl. We need to update the lfags first before deciding whether we should create or destroy the header. Also add a test for toggling the header to the listctrl sample.

2010-03-06 00:56 VZ, revision 63636

Don't stop dragging in the grid when the mouse leaves the window. Unexpected/unaccounted for mouse leaving and entering events stopped the drag operation currently in progress in wxGrid. And while it was resumed later, this resulted in the mouse being captured only twice but released only once. Fix this by ignoring the leaving and entering events and checking that we don't capture the mouse again. Closes #11662.

2010-03-06 00:55 VZ, revision 63635

Fix memory leak in wxDataViewListStore::DeleteItem(). The item data needs to be deleted in addition to simply removing it from the internal storage. Closes #11757.

2010-03-06 00:55 VZ, revision 63634

Correct IsMaximized() in wxOSX for non-resizable windows. NSWindow isZoomed always returns true in this case, so check the window rectangle ourselves to determine whether it's maximized. Closes #11734.

2010-03-06 00:55 VZ, revision 63633

Make the code more clear in aui sample and avoid g++ 4 warning. The code used bitwise XOR which was rather difficult to read and also resulted in g++ 4 warnings about suggested parentheses. Fix both issues by using bitwise AND and OR in two separate statements instead.

2010-03-06 00:55 VZ, revision 63632

Implement wxBookCtrlBase::CalcSizeFromPage() in the base class. The definition of this method was needlessly duplicated in all of wx{Choice,List,Tool,Tree}book and in all of them except the first one it didn't account correctly for the case when the size of the controller was greater than the size of the page. Avoid the duplication and fix the best size determination in such case by providing a single, correct version of the function in the base class itself. Closes #11793.

2010-03-06 00:55 VZ, revision 63631

Avoid conflict between accelerators in the notebook sample. Ctrl-5 was used both for the treebook in the "Type" menu and default orientation choice in the "Orientation" menu. Use Alt-[0..4] for the "Orientation" menu entries.

2010-03-06 00:55 VZ, revision 63630

No changes, just remove redundant GetControllerSize() definitions. For some reasons wxBookCtrlBase::GetControllerSize() was redefined in several derived classes even though it did exactly the same thing in all of them. Leave only the base class version and remove the other ones.

2010-03-06 00:55 VZ, revision 63629

Correct controller size determination in wxToolbook. The old code used the current toolbar size instead of determining its best size for some strange reason and this resulted in toolbar remaining of tiny (1 pixel) height at least under wxGTK. Fix this by simply using the best size of the toolbar. Closes #11606.

2010-03-06 00:55 VZ, revision 63628

Use wxWindow::ReleaseMouse() instead of MSW ::ReleaseCapture() function. As we capture the mouse using wxWindow::CaptureMouse(), we must release it with ReleaseMouse() and not just ReleaseCapture(). Closes #11791.

2010-03-05 21:51 FM, revision 63627

define TARGET_CPU (as a variable) also for formats using MSVS_PLATFORM; this allows a simpler logic in the following tests (and in the user bakefiles)

2010-03-04 16:09 JMS, revision 63624

Moved property unattachment code from wxPropertyGridInterface::RemoveProperty() to wxPropertyGridPageState::DoDelete() - fixes deferred removal issue

2010-03-04 09:29 SC, revision 63623

no existing on iphone

2010-03-04 00:00 SC, revision 63622

fixing leak, fixes #11781

2010-03-03 22:52 SC, revision 63621

fixing leak, fixes #11782

2010-03-03 17:53 SC, revision 63620

using native fullscreen support and ShowEvent triggers

2010-03-03 17:51 SC, revision 63619

fixing warning

2010-03-03 17:33 SC, revision 63618

make sure ShowEvent doesn't get triggered to early during construction

2010-03-03 15:19 VZ, revision 63617

Allow using version-specific vc prefix in msvc/wx/setup.h. We still use just "vc" by default for compatibility but allow the user to predefine either wxMSVC_VERSION or wxMSVC_VERSION_AUTO to use the specified or version-dependent prefix instead. This is very convenient when using multiple MSVC versions. See #11022.

2010-03-03 15:19 VZ, revision 63616

Use correct directory names in msvc/wx/setup.h for 64 bit builds. Use _amd64 and _ia64 suffixes if _M_X64 or _M_IA64 is defined. Closes #11022.

2010-03-03 15:19 VZ, revision 63615

Added Arabic translation from Abdullah Abouzekry.

2010-03-03 15:19 VZ, revision 63614

Fix wxCommandProcessor compilation with wxUSE_ACCEL==0. Leave the accelerator strings empty in this case. Closes #11783.

2010-03-03 08:17 RD, revision 63613

Layout the immediate parent of the info bar as described in the docs, not the top-level parent.

2010-03-03 02:08 VZ, revision 63609

Document that images in buttons and menus might not be shown under GTK. Mention gtk-{button,menu}-images GTK+ settings. See #11369.

2010-03-03 01:35 FM, revision 63608

add 64bit support to those formats which I could test and which support 64bit build modes (msvc, msvs2005prj and msvs2008prj) by adding a TARGET_CPU option similar to what wxWidgets bakefiles do (note the absence of the WX_ prefix since it does not make sense to have a wx-specific architecture); this additional feature allows correct inclusion of the vc_[amd64|ia64]_[lib|dll] path when building a wx-based project on Windows.

2010-03-03 00:21 FM, revision 63606

(minor change) update list of supported Windows versions

2010-03-02 21:46 VZ, revision 63605

Use user locale with Latin-1 as fallback for command line arguments. Command line arguments can contain characters outside of 7 bit ASCII range. Assume that they use the default user encoding but fall back to Latin-1 if conversion failed. Closes #11754.

2010-03-02 19:16 VZ, revision 63604

Don't use m_macToolbar in wxOSX wxToolBar if it is NULL. This fixes a crash when a native toolbar is not used by wxToolBar as it happens when it's used by wxToolbook for example. Closes #11775.

2010-03-02 19:16 VZ, revision 63603

Enclose code using m_macToolbar in #if wxOSX_USE_NATIVE_TOOLBAR. Don't use m_macToolbar which is only used when the toolbar is a native one when we don't really use the native toolbar. This should fix compilation in case wxOSX_USE_NATIVE_TOOLBAR is 0.

2010-03-02 01:23 RD, revision 63602

Document GetBitmapMargins

2010-03-02 01:20 VZ, revision 63601

Fix another incorrect file name conversion in wxGTK. GTK file paths are in UTF-8 and not ASCII. Really closes #11743.

2010-03-02 01:15 VZ, revision 63600

Always use UTF-8 for GTK+ strings [backport of r63549 from trunk]. Strings returned and accepted by GTK+ functions always use UTF-8 independently of the current locale and of the file name encoding we use. So use UTF-8 instead of wxConvFileName everywhere where we deal with GTK+ directly. Closes #11743.

2010-03-02 00:45 VZ, revision 63599

Fix crash when accessing clipboard before entering the main loop. Check that we have an event loop running before yielding to it. Notice that we really do need an event loop in wxClipboardSync as events must be dispatched for the clipboard code to work so while not using the event loop if it doesn't exist would have fixed a crash as well, it wouldn't allow to use the clipboard in e.g. wxApp-derived class OnInit().

2010-03-02 00:20 RD, revision 63595

Invalidate best size when the bitmap or bitmap position changes. Add GetBitmapMargins

2010-03-01 23:54 RD, revision 63594

Use the correct event class for the window modal notification

2010-03-01 16:30 JMS, revision 63593

Have to implement wxPGProperty::DeleteChildren() differently so that it will work with deferred property deletion

2010-03-01 16:26 JMS, revision 63592

Have to check for wxPG_SPLITTER_AUTO_CENTER style before setting propgrid column proportion in the sample

2010-02-28 18:29 SC, revision 63590

translate 0.5 offset into user space before applying translation, see #11769, see #11771

2010-02-28 18:27 SC, revision 63589

moving header for precomp builds

2010-02-28 12:30 VZ, revision 63587

Simplify and correct bugs in wxMSW wxScrollBar message handling. For some reason we computed scroll increment from the native message and not the new position directly which is actually simpler and probably would have never resulted in a bug which exchanged the meanings of SB_TOP and SB_BOTTOM. Get rid of nScrollInc and just update the position variable directly. Closes #11741.

2010-02-28 12:30 VZ, revision 63586

No real changes, just cleanup wxMSW wxScrollBar a little. Get rid of old, Win16-compatible, commented out code.

2010-02-28 12:09 VZ, revision 63585

Make it possible to use wxCharBuffer during program initialization. wxCharBuffer might be used during static initialization, even if only implicitly. E.g. it is used by wxString::Format() which can be used to initialize a global string. But it uses the global s_untypedNullData variable might not be initialized yet resulting in mysterious failures. Fix this in the usual way by wrapping access to the variable via a function.

2010-02-28 12:09 VZ, revision 63584

Only add -woff 3970 to C[XX]FLAGS when using SGI mipsPro 7.4.4 or later. Previous mipsPro versions don't give this warning but do warn about "unknown warning number 3970" if we use this -woff which is even more annoying than original warning we tried to suppress. This is a forward port of r45896 which somehow was only applied to 2.8 branch.

2010-02-28 12:09 VZ, revision 63583

Compilation fixes for wide char functions under IRIX with mipsPro. Use correct (XPG5, not XPG4) version of wcsftime(). Bring the wide char functions only declared in std namespace into global one under IRIX. Declare vswscanf() ourselves as we just don't seem to get its declaration from C++ code (only from C99). Add a cast to fix incorrect putws() signature. All these fixes apply to IRIX 6.5.18 with mipsPro 7.4.2. It doesn't seem to add configure checks for most of the above fixes as previous versions of both the OS and the compiler should be completely extinct by now but we may need to do it if anybody is still found to use them.

2010-02-28 12:09 VZ, revision 63582

Fix for wxStringCheck compilation under IRIX using mipsPro. IRIX mipsPro 7.4 refuses to instantiate a template with an inline function as parameter. Work around this by using a function taking a function pointer instead of using template wxStringCheck with inline wxIs{alpha,alnum,digit}.

2010-02-28 12:09 VZ, revision 63581

Always declare wxCStrData::As[W]Char() as being inline. This fixes warnings with IRIX mipsPro and not only mingw32 and probably doesn't do any harm with the other compilers.

2010-02-28 12:09 VZ, revision 63580

Rearrange functions order so that they are effectively inlined. Define wxSizer::Insert(size_t, wxSizerItem *) before it is used so that it could really be inlined. This also fixes an IRIX mipsPro compiler warning.

2010-02-28 12:08 VZ, revision 63579

Fix compilation with GTK+ 2.4. Support for ellipsization in GtkTreeView and gtk_window_set_focus_on_map() are new in 2.6, don't use them with 2.4.

2010-02-28 12:08 VZ, revision 63578

Support IRIX version of OpenGL multi sampling constants. Although OpenGL multi sampling extensions originated under IRIX, it doesn't seem to use the standard names for the constants used and uses "SGI" suffix for them instead of "ARB". Add support for IRIX versions of GLX_SAMPLE_BUFFERS_ARB and GLX_SAMPLES_ARB and also check if these constants are defined at all to avoid compilation errors if they are not.

2010-02-28 12:08 VZ, revision 63577

Fix the STC sources generation script to work with ancient Python. Don't use True, set and join method of string objects which didn't exist in prehistoric Python versions (such as 1.5 bundled with IRIX) as we can easily work around their lack by using 1, list and string module join method instead.

2010-02-28 12:08 VZ, revision 63576

No real changes, just remove an unused variable. This fixes a warning from IRIX mipsPro compiler.

2010-02-28 12:08 VZ, revision 63575

Remove unused NO_SORT constant. This fixrs an IRIX mipsPro compiler warning.

2010-02-28 12:08 VZ, revision 63574

Include <locale.h> to get LC_XXX constants declaration. This fixes a compilation error under IRIX when using mipsPro.

2010-02-28 12:08 VZ, revision 63573

Remove unnecessary comparison of unsigned variable with 0. m_httpsize is of type size_t and so is always >= 0, no need to check for it. And removing the check avoids a warning from at least IRIX mipsPro (and probably others).

2010-02-28 12:08 VZ, revision 63572

Remove unused static constant. HOURS_PER_DAY was used only in the part of the code which was moved to src/common/datetimefmt.cpp and some compilers (e.g. IRIX mipsPro) now warn about an unused static constant in datetime.cpp, so just remove it from there.

2010-02-28 12:08 VZ, revision 63571

Include the real iostream header and not just iosfwd from wx/stdstream.h. We need to include full [io]stream declaration and not just forward declare them to be able to define classes deriving from them. Surprisingly, including just <iosfwd> seems to work under most systems but it does not under IRIX. So include the full <iostream> (or <iostream.h>) to be sure to get what we need.

2010-02-28 11:16 JMS, revision 63570

Sometimes change in varscrollable window's size can result in unused empty space after the last item. Fix it by decrementing first visible item position as long there is available space (fixes #11758).

2010-02-27 03:51 KO, revision 63564

Override CanFocus because the wxWindow level test will check if the NSTextView's parent scrollview can get keyboard focus, and will return no, meaning that wx won't set the focus to the text ctrl.

2010-02-26 16:45 JMS, revision 63562

Must clear property selection in wxPGProperty::SetChoices() or risk a crash

2010-02-26 15:10 VZ, revision 63561

Fix assert when using year or decade view in Windows 7 calendar control. Windows 7 native calendar control is capable of showing more than 3 months simultaneously in its year or decade view which is shown when the user zooms out of the month view by double clicking the control header. This resulted in an assert failure in the code, update it to simply not do anything in this view.

2010-02-26 15:09 VZ, revision 63560

Fix assert on wxCalendarCtrl creation under Windows 7. Unlike previous versions of Windows, 7 includes the time component in the return value of MonthCal_GetCurSel() and because of it the comparison with m_date (which doesn't have any time part) fails. Fix this by comparing just the date parts of the two wxDateTime objects.

2010-02-26 15:09 VZ, revision 63559

Add pretty-printers for wxPoint, wxSize and wxRect. Also replace an if checking for the supported types with an array-based approach to make it easier to add pretty printers for more types in the future.

2010-02-25 16:05 JMS, revision 63557

Added work around in wxPropertyGrid for a wxTextCtrl beep on enter press

2010-02-25 15:04 JMS, revision 63556

Fixed property Hide command

2010-02-25 01:04 VZ, revision 63555

Initialize wxhInstance in console MSW applications too. Console applications still may need to create windows and for this a valid HINSTANCE is needed. So set it ourselves during wx initialization. Closes #11727.

2010-02-25 01:03 VZ, revision 63554

Use wxGetInstance() instead of wxhInstance in wxMSW code. No real changes, just use an accessor function instead of directly accessing the global variable.

2010-02-25 01:03 VZ, revision 63553

Include wx/defs.h from all our public headers, including wx/imaglist.h. Without including wx/defs.h first, symbols such as __WXMSW__ are not defined if this header is the first wxWidgets header to be included. Closes #11718.

2010-02-25 01:03 VZ, revision 63552

Fix harmless g++ 4.3 warning about suggested parentheses. Closes #11719.

2010-02-25 01:03 VZ, revision 63551

Fix multiple bugs in non-ownerdrawn wxListBox after recent merge. Changes done in ownerdraw-refactor branch have broken non-ownerdrawn list boxes as the code was now using m_aItems array even for them but it's not used in this case. Also remove unnecessarily overridden Delete() method which didn't add anything to the base class implementation but just deleted the same m_aItems pointer twice. Also use HasFlag(wxLB_OWNERDRAW) everywhere consistently instead of testing for it manually. Closes #11729.

2010-02-25 01:03 VZ, revision 63550

Document the use of --disable-gui for building wxBase. We don't have a special configure version for wxBase where GUI is off by default and it doesn't seem to be worth the trouble to create one. Instead just tell people to use --disable-gui themselves. Closes #11733.

2010-02-25 01:03 VZ, revision 63549

Always use UTF-8 for GTK+ strings. Strings returned and accepted by GTK+ functions always use UTF-8 independently of the current locale and of the file name encoding we use. So use UTF-8 instead of wxConvFileName everywhere where we deal with GTK+ directly. Closes #11743.

2010-02-25 01:03 VZ, revision 63548

Compilation fixes in wxHTML for wxUSE_CONFIG==0. Surround uses of wxConfig with #of wxUSE_CONFIG in wxHTML code. Closes #11750.

2010-02-25 01:03 VZ, revision 63547

Document more wxDC drawing functions overloads. Document overloads taking wxPoint/wxSize/wxRect in addition to the versions taking individual wxCoords. Closes #11752.

2010-02-24 23:09 BP, revision 63546

Fixed typo in wxDataViewIconTextRenderer docs.

2010-02-24 12:32 JS, revision 63543

wxTE_PROCESS_ENTER isn't just for Windows.

2010-02-23 18:32 SC, revision 63542

proper app shutdown support for iphone

2010-02-23 16:29 JMS, revision 63540

Set up default property grid unspecified value colour

2010-02-23 16:24 JMS, revision 63539

When drawing wxPropertyGrid check box editor, be consistent with the other editors and use dc.GetTextForeground() for obtaining check box colour

2010-02-22 18:04 JMS, revision 63535

Rename property pending for deletion so it won't be in the way of the user code

2010-02-22 17:44 JMS, revision 63534

Property removal and deletion done from wxPropertyGrid event handler is now postponed to idle event

2010-02-22 02:56 KO, revision 63533

Cocoa text fields and views have their own context menus, so we should use those instead.

2010-02-19 08:01 KO, revision 63522

Since wxDialog::Show(false) only calls wxWindow::Show, we must explicitly hide the dialog ourselves.

2010-02-19 08:00 KO, revision 63521

Typo fix.

2010-02-19 04:00 KO, revision 63519

Disable sending of events by OS X Combobox during programmatic changes.

2010-02-18 10:34 CE, revision 63512

fix trac 11733 (part2, missing xml.h in base tarball)

2010-02-16 17:24 JMS, revision 63502

Fixed auto-resizing behavior when double-clicking a splitter; Added wxPropertyGrid::ResetColumnSizes(); wxPropertyGrid::GetSplitterPosition() got splitterIndex argument

2010-02-16 16:38 JMS, revision 63501

Added wxPropertyGridInterface::GetColumnProportion()

2010-02-16 15:15 JMS, revision 63499

Added missing words in event documentation

2010-02-16 15:12 JMS, revision 63498

Document wxEVT_PG_CHANGED

2010-02-16 10:44 MW, revision 63497

Add user for buildbot notifications.

2010-02-15 18:34 RD, revision 63486

Apply new patch fixing problem of IsRunning always returning True. See #11699

2010-02-15 18:30 RD, revision 63485

Apply new patch fixing problem of IsRunning always returning True. See #11699

2010-02-15 05:23 KO, revision 63484

Implement case-insensitive find and read only support for Cocoa combobox.

2010-02-14 16:27 VS, revision 63483

Fix wxHtmlWindow to correctly decide whether to show scrollbars. wxHtmlWindow::CreateLayout()'s algorithm was both naive (not properly accounting for scrollbar visibility changes during layout) and broken (incorrectly rounding when computing scroll steps and adding GetCharHeight() value to the height in an attempt to mitigate the harm). This algorithm should properly for scrollbars in all situations. Rounding is done in such way that the content is fully viewable, while at the same time not showing scrollbars needlessly.

2010-02-14 15:37 JMS, revision 63482

Added note about removed member function wxPropertyGrid::CanClose()

2010-02-14 15:09 JMS, revision 63481

Added wxPropertyGridInterface::SetColumnProportion(); wxPG_SPLITTER_AUTO_CENTER window style now supports column counts higher than two.

2010-02-13 07:30 KO, revision 63477

Basic support for tooltips under OS X Cocoa.

2010-02-12 23:47 VZ, revision 63474

Fix compilation of wx/scopeguard.h with g++ -fno-exceptions. Don't use try/catch in public headers if exceptions support is disabled with a compiler switch.

2010-02-12 23:47 VZ, revision 63473

Remove wxHAS_NAMESPACES and gcc 2.95 checks. We use namespaces elsewhere without any checks now so it doesn't make sense to keep checking for them here. We also don't support g++ 2.95 since ages so no need to check for it neither.

2010-02-12 12:22 VZ, revision 63471

Ukrainian translations update from Yuri Chornoivan. Also changed charset from KOI8-U to UTF-8for ease of maintenance.

2010-02-11 13:48 VS, revision 63467

Make it possible to subclass wxMenuBar in XRC (patch #11679).

2010-02-11 13:47 VS, revision 63466

Make it possible to subclass wxMenuBar in XRC (patch #11679).

2010-02-11 13:36 VS, revision 63465

Fixed possible buffer overflow in wxXmlResource::GetXRCID() (patch #11715).

2010-02-11 13:36 VS, revision 63464

Fixed possible buffer overflow in wxXmlResource::GetXRCID() (patch #11715).

2010-02-10 17:45 JMS, revision 63458

Removed most of the propgrid '#ifndef SWIG' pre-compiler conditions

2010-02-10 14:31 VS, revision 63457

Fixed wxGauge's best size to conform to Windows HIG.

2010-02-10 12:38 VZ, revision 63456

Move wxPosixPermissions definition from wx/file.h to wx/filefn.h. This fixes compilation with wxUSE_FILE=0 as wxFileName::Mkdir() still uses these constants but their definitions were not available in this case.

2010-02-09 10:35 SC, revision 63437

support fullscreen display (translucent status) in all 4 orientations

2010-02-09 02:34 RD, revision 63434

Test m_nowpeer pointer before using it.

2010-02-09 02:33 RD, revision 63433

Set Id and EventObject for wxSetCursorEvent

2010-02-09 02:32 RD, revision 63432

Ignore the time portion of the datetime object when setting the date.

2010-02-09 02:24 RD, revision 63431

Remove functions duplicated in dnd_osx.cpp.

2010-02-08 21:06 RD, revision 63422

Allow more than one timer with the same ID. Closes #11699.

2010-02-08 20:52 VZ, revision 63421

Add support for showing "elevation" icon in wxMSW buttons. Add, document and test in the widgets sample wxButton::SetAuthNeeded(). Closes #11705.

2010-02-08 20:38 RD, revision 63420

Allow more than one timer with the same ID. See #11699.

2010-02-08 08:20 SC, revision 63419

adding carbon event missing in 10.4 headers

2010-02-07 03:43 KO, revision 63417

Implement EVT_MAXIMIZE support for OS X Cocoa.

2010-02-06 19:19 KO, revision 63416

Fix handling of the *.* extension case, before this fix it was being passed as a "*" filter to the Cocoa dialog which, not being a valid extension, meant that no files were selectable.

2010-02-06 18:00 KO, revision 63415

Get wxSearchCtrl text events working, and share the text event handler code among all the various wxTextCtrl-based classes.

2010-02-06 17:42 KO, revision 63414

Forgot about the drag source delegate, which is the perfect place to put GiveFeedback related handling.

2010-02-06 02:45 KO, revision 63412

Add an accessor to get the current drop source from window.mm so that we can implement GiveFeedback support, and also move a couple functions that check the current drop source into common DND OS X code as a result.

2010-02-05 20:05 VZ, revision 63406

Remove unnecessary <vector> inclusion. This header doesn't seem to be used anywhere and we try to avoid any STL dependencies in 2.8 branch.

2010-02-05 20:03 VZ, revision 63405

Don't include wx/rawbmp.h unnecessary from src/generic/graphicc.cpp. This is not only unneeded but also breaks wxX11 (and probably other ports) compilation because raw bitmap access is not available there. Closes #11700.

2010-02-05 02:17 VZ, revision 63393

Rebake Makefile.in with correct shared libraries version. Modifying version.bkl in r63297 wasn't enough, Makefile had to be rebaked as well.

2010-02-05 01:27 RD, revision 63392

subrelease number should be reset to zero when incrementing the release number

2010-02-05 01:26 RD, revision 63391

Set the ID and event object for wxSetCursorEvents

2010-02-05 01:26 RD, revision 63390

Backport r62977 and others from trunk to allow timers with ID of zero.

2010-02-04 08:26 JJ, revision 63384

undefine not working FSWATCHER from OpenVMS compile setup

2010-02-04 02:33 VZ, revision 63383

Extract wxSTOCK_WITHOUT_ELLIPSIS from wxSTOCK_FOR_BUTTON. Make it possible to use this flag on its own, without wxSTOCK_WITH_MNEMONIC which is also part of wxSTOCK_FOR_BUTTON. This can be useful for e.g. toolbar buttons. Closes #11681, #11682.

2010-02-04 02:20 VZ, revision 63382

Fix selection event sending for Ctrl-click in generic wxDataViewCtrl. Ctrl-clicking on the only currently selected item in wxDataViewCtrl crashed because we dereferenced first element of the empty m_selection array when generating the selection change event. Instead, send the event for the current item, this should be more consistent with the native versions behaviour and at the very least doesn't crash. Closes #11684.

2010-02-04 02:02 VZ, revision 63381

Make wxDataObjectComposite::GetObject() public. Allow retrieving individual wxDataObjects from wxDataObjectComposite and add an example showing how can this be done to the documentation. Closes #11692.

2010-02-03 22:07 VZ, revision 63379

Test wxTE_PROCESS_ENTER style in the widgets sample. Add a checkbox for toggling wxTE_PROCESS_ENTER to the text page and use this style by default. This makes it easier to check that this style works as intended, including that it generates the correct events. See #11691.

2010-02-03 22:07 VZ, revision 63378

Correct the bounding box calculation in wxGTK wxDC::DrawBitmap(). Take into account the axis direction when calculating the bounding box. This is consistent with not reversing the bitmap even when the axis are reversed which is probably the expected behaviour.

2010-02-03 22:07 VZ, revision 63377

Fix bug in wxMSW wxMessageDialog when the text was empty. Don't crash in ReplaceStaticWithEdit() dereferencing an invalid end()-1 iterator in this case, use the always valid rbegin() instead.

2010-02-03 22:07 VZ, revision 63376

Correct bounding box calculation in wxGTK wxDC::DrawText(). Physical coordinates were incorrectly used to update the bounding box instead of the logical ones.

2010-02-03 12:43 JS, revision 63374

Don't select all if there is nothing to select.

2010-02-03 12:42 JS, revision 63373

Don't select all if there is nothing to select.

2010-02-03 10:51 JS, revision 63372

Don't delete previous character when pressing Del at end of buffer.

2010-02-03 10:51 JS, revision 63371

Don't delete previous character when pressing Del at end of buffer.

2010-02-03 09:32 SC, revision 63370

safe degradation

2010-02-03 07:08 KO, revision 63366

Rebake after DND changes.

2010-02-03 06:31 KO, revision 63365

Refactor DND code into Carbon and Cocoa parts, and provide a basic OS X Cocoa implementation for wxDropSource::DoDragDrop.

2010-02-03 06:22 KO, revision 63364

Add sanity check on the item number.

2010-02-02 23:19 JS, revision 63358

Fixes for incorrect selection, extra newline insertion when undoing deletion of selection, insufficient refresh for operations on last line, HasCharacter/ParagraphAttributes bug.

2010-02-02 23:19 JS, revision 63357

Fixes for incorrect selection, extra newline insertion when undoing deletion of selection, incorrect SetScrollbar optimization, insufficient refresh for operations on last line, HasCharacter/ParagraphAttributes bug.

2010-02-02 16:19 JMS, revision 63356

Do not clear property selection when adding new properties, but instead correct positions of any open editor controls.

2010-02-02 12:23 JS, revision 63355

Don't crash if there's no top window.

2010-02-01 13:07 JS, revision 63345

Simplify SetSelectionRange and make consistent with SetSelection. Fix a bug that returns true for character and paragraph style tests if no characters or paragraphs were found. Fix SetSelection to position caret at end.

2010-02-01 11:45 JS, revision 63344

Simplify SetSelectionRange and make consistent with SetSelection. Fix a bug that returns true for character and paragraph style tests if no characters or paragraphs were found. Fix SetSelection to position caret at end.

2010-02-01 09:23 SC, revision 63343

adapting to new API variant

2010-02-01 02:20 KO, revision 63340

nschars is never used for the wxEVT_CHAR case, so don't assign it a different value for this case.

2010-02-01 01:48 KO, revision 63339

Use the correct type to fix Tiger compilation.

2010-01-31 19:31 VZ, revision 63338

Update bakefile.m4 to bakefile 0.2.8 which was used for makefiles. When a new bakefile version is used, build/aclocal/bakefile.m4 must be updated and configure must be regenerated to take into account the changes in autoconf_inc.m4, otherwise incorrect makefiles will be produced (for example, symbolic links for shared libraries were not created in Unix build this time).

2010-01-31 19:15 JMS, revision 63337

Added nominal wxPG_PROP_READONLY support for editor controls other than wxTextCtrl-based ones

2010-01-31 19:14 JMS, revision 63336

Added command to set wxPG_PROP_READONLY in the propgrid sample

2010-01-31 19:13 JMS, revision 63335

Fixed value column rendering for properties which do not create editor control when selected

2010-01-31 16:19 SC, revision 63334

fix for sleep mode on displays, fixes #11557

2010-01-31 15:42 SC, revision 63333

avoiding catching incorrect shortcuts, see #11676

2010-01-31 12:01 SC, revision 63332

supporting clipboard command shortcuts on osx_cocoa as well, simplifying code

2010-01-29 14:07 VZ, revision 63306

Disable wxUSE_FSWATCHER under Unix if neither inotify nor kqueue is available. Don't define wxUSE_FSWATCHER as 1 in configure if we can't implement it. Also add a check to wx/unix/chkconf.h to verify that we didn't end up with an inconsistent configuration somehow. Closes #11670.

2010-01-28 22:46 MW, revision 63303

Fix for file length fixup.

2010-01-28 22:46 MW, revision 63302

Fix for file length fixup.

2010-01-28 22:38 MW, revision 63301

Allow large file tests to run by default on more platforms.

2010-01-28 22:36 MW, revision 63300

Backport stdio large file support for VC++ and mingw.

2010-01-28 14:49 SC, revision 63299

storing modal returncode correctly for carbon

2010-01-28 14:48 SC, revision 63298

make sure modality is reflected correctly when rerouted from window-modal to app-modal

2010-01-28 13:30 CE, revision 63297

fix version as per email

2010-01-28 13:07 VZ, revision 63296

Disable wxUSE_OWNER_DRAWN for wxUniv to fix the build. wxMenuItem in wxUniv doesn't even use wxOwnerDrawn but linking in ownerdrwcmn.cpp is enough to break the DLL build of wxUniv at least under MSW as it references symbols normally defined in msw/ownerdrw.cpp which is not part of wxUniv. Fix this by simply disabling wxUSE_OWNER_DRAWN under wxUniv for now as it's unused anyhow.

2010-01-28 11:14 CE, revision 63295

bakefile 0.2.8 and wxw2.8.11

2010-01-28 10:54 SC, revision 63294

adding window-modal message box sample

2010-01-28 10:27 CE, revision 63293

version to 2.8.11

2010-01-28 09:28 SC, revision 63292

setting correct alertType

2010-01-28 05:06 KO, revision 63291

Get ShowWindowModal behavior working under OS X Cocoa for file, dir and message dialogs.

2010-01-27 00:04 VZ, revision 63282

Never block in wxSocket::Peek(). Peek() is not expected to block so ensure that it doesn't, independently of the currently used socket flags, by using wxSOCKET_NOWAIT. See #11528.

2010-01-26 22:09 JMS, revision 63281

wxPGProperty::GetHintText() function body was missing 'inline' keyword

2010-01-26 18:44 JMS, revision 63280

Fixed wxPGGlobalVars export declaration

2010-01-26 15:36 SC, revision 63279

optimizing creation of glcontexts, less flicker

2010-01-26 15:24 JJ, revision 63278

Fixes for compilation on OpenVMS platforms

2010-01-26 13:43 VZ, revision 63277

Add wxTreeCtrl::SelectChildren() method. Add MSW and generic implementation, documentation and change to the sample showing it. Closes #11620.

2010-01-26 13:39 VZ, revision 63276

Try to prevent users from forgetting to include wx.rc from their resources. Document that some of the standard cursors are defined in this file. Also add a (hopefully) helpful assert if loading one of such cursors failed. Closes #11424.

2010-01-26 13:33 VZ, revision 63275

Don't pass logs at unknown levels to wxLog::DoLogRecord() from wxLogGui. This results in an assert in DoLogText() which is not implemented in the base class but ends up being called as DoLogTextAtLevel() doesn't know how to handle non-standard log levels otherwise. This assert happened if you simply called wxLogMessage(wxLOG_User, ...) in the program. Just ignore messages at unknown log levels instead in wxLogGui, by definition it can't handle them anyhow. See also r63167.

2010-01-26 13:33 VZ, revision 63274

Another compilation fix for wxMSW without PCH. Need to include <commctrl.h> as we use HIMAGELIST and related functions now. See #11595.

2010-01-26 13:16 VZ, revision 63273

Implement RequestUserAttention() for wxOSX/Cocoa. Simply use NSApplication:requestUserAttention to do it.

2010-01-26 10:01 VZ, revision 63272

Compilation fixes for PCH-less build after ownerdraw-refactor branch merge. Forward declare more classes, in particular use tagRECT which can be forward declared, instead of RECT typedef in public headers. Also include more header in #ifndef WX_PRECOMP case. See #11595.

2010-01-26 10:01 VZ, revision 63271

Avoid g++ warning about unhandled wxFONTFAMILY_XXX value in a switch. Add wxFONTFAMILY_UNKNOWN case to the switch as it will allow us to be warned if we add a new family in the future and forget to update this code to take it into account.

2010-01-26 10:01 VZ, revision 63270

No real changes, just don't initialize extern variable to avoid g++ warning. g++ warns about initialized extern variables so separate the declaration from the initialization to avoid this warning.

2010-01-26 10:00 VZ, revision 63269

Make wxWindow::MSWGetThemeColour() const. There doesn't seem to be any reason for this method to not be const.

2010-01-26 10:00 VZ, revision 63268

Compilation fix for wxUniv. We need explicit casts to wxWindow in wxWindowMSW code.

2010-01-25 23:27 SC, revision 63266

simplifying code, removing outdated API

2010-01-25 23:24 SC, revision 63265

adding note for correct wheel params

2010-01-25 20:19 JS, revision 63264

Added symbol for wxEVT_WIZARD_PAGE_SHOWN

2010-01-25 19:48 JS, revision 63263

Added EVT_WIZARD_PAGE_SHOWN event for wxWizard, to give apps a chance to initiate processing after a page is presented.

2010-01-25 19:47 JS, revision 63262

Added EVT_WIZARD_PAGE_SHOWN event for wxWizard, to give apps a chance to initiate processing after a page is presented.

2010-01-25 18:12 SC, revision 63261

better wheel support

2010-01-25 18:12 SC, revision 63260

make sure we can override GetModality

2010-01-25 14:27 SC, revision 63259

adding wxWindow::Show in order to make the sheet showing its children as well

2010-01-25 14:26 SC, revision 63258

fixing building on iphone

2010-01-25 12:32 JJ, revision 63257

Update compile support for OpenVMS

2010-01-25 00:28 KO, revision 63254

Fix mistake, though this assert is unfortunate since now FindString("whatever") will always assert under OS X Cocoa, even when it would find and return the position correctly.

2010-01-24 20:09 SC, revision 63253

supporting auto-rotate for translucent statusbar

2010-01-24 15:15 VZ, revision 63252

Compilation fix after ownerdraw-refactor branch merge. Don't use HDC in public headers, it may not be declared there. Use WXHDC instead even if this means having ugly casts. This fixed mingw32 compilation (see #11595).

2010-01-24 12:51 VS, revision 63251

Fixed dialog units <-> pixels conversion. The computation is now identical to Windows native one. To achieve this, MSDN-recommended GetTextExtent() call is used instead of GetCharWidth(). wxMulDivInt32() is used instead of integer arithmetics to achieve correct rounding. Use toplevel parent's font instead of window's own. This makes more sense, as dialog units are defined for TLWs, not individual subcontrols. Also fixed wxMSW's wxButton::GetDefaultSize() to compute dialog units correctly.

2010-01-24 12:51 VS, revision 63250

Determine wxButton size correctly in wxMSW. Instead of using default size for default GUI font, use the default font for this dialog's current font.

2010-01-24 12:33 VZ, revision 63249

Fix bug in wxStringOutputStream unit test. We wrote an extra NUL byte to the stream and, unsurprisingly, contents of its buffer didn't match the original string resulting in the test failure. Also get rid of a #if wxUSE_UNICODE.

2010-01-24 12:33 VZ, revision 63248

Override IsSeekable() in wxString{Input,Output}Stream to return true. These streams are seekable but somehow IsSeekable() was never overridden for them resulting in test failures in Input_SeekI().

2010-01-24 12:33 VZ, revision 63247

Document that wxComboBox::Dismiss() and Popup() generate events. Currently these functions generate events in both of the existing implementations (GTK and MSW) so it is simpler to let them to continue to do it but this must at least be documented as this is probably unexpected by users.

2010-01-24 11:13 VZ, revision 63246

Correct UTF-32BE BOM detection in wxConvAuto. On the fly detection of the BOM was wrongly implemented for UTF-32BE in r63064 and returned BOM_None for it if we tried to read exactly 2 bytes. Fix this by returning BOM_Unknown if the first 2 bytes are NUL.

2010-01-24 11:13 VZ, revision 63245

Correct bug with returning 0 for non-empty input from wxConvAuto::ToWChar(). Since the changes of r63064 we could return 0 when asked to convert a non-empty buffer containing only a BOM. This confused the logic in wxTextInputStream::NextChar() and was generally unexpected so now return wxCONV_FAILED in this case.

2010-01-24 11:13 VZ, revision 63244

Check the result of ToWChar() call in wxTextInputStream::NextChar() better. The logic in this function depends on ToWChar() working correctly so check that it doesn't return obviously wrong results, e.g. 0 output length for non-empty input. This was mostly done to detect the problem in wxConvAuto currently but it could also be useful with user-defined conversions and shouldn't have a big performance effect on wxTextInputStream so leave these checks in to facilitate debugging in the future.

2010-01-24 10:13 VZ, revision 63243

Replace wxLogWarning()s in wxOSX wxComboBox code with asserts. This incidentally fixes compilation when not using PCH as wx/log.h was not included but is also more correct as the messages meant for the programmer, and not the user, should be given using asserts and not wxLog. Also correct some asserts messages. In particular, don't mention the function name in the message itself as it's already shown by the assert and using it in the string itself isn't useful and simply introduces the risk of forgetting to update it after refactoring, as happened here in r63105.

2010-01-24 02:00 VZ, revision 63242

Add wxComboBox::Popup() and Dismiss() to manually show or hide its popup. Add implementations for wxMSW and wxGTK. Closes #11506.

2010-01-24 02:00 VZ, revision 63241

No changes, just remove the strange "#if 1". This was apparently unintentionally added in r15050 to all files of the widgets sample and somehow survived in this one only until now.

2010-01-24 02:00 VZ, revision 63240

Fix sending of wxEVT_COMMAND_LIST_COL_DRAGGING events in wxMSW wxListCtrl. We were not getting HDN_TRACK from the system because apparently it is not sent for header controls with HDS_FULLDRAG style which is used by default by the native list control. A possible solution would be to forcefully unset this style but this would make the UI look old fashioned and less intuitive so instead send these DRAGGING events from HDN_ITEMCHANGING. Closes #9471,

2010-01-24 02:00 VZ, revision 63239

Move wx/evtloop.h from GUI_CMN_HDR to BASE_CMN_HDR in files.bkl. And rebake. Now that wxEventLoop can be used in wxBase as well, we need this file to be installed as part of wxBase too. Closes #11617.

2010-01-24 02:00 VZ, revision 63238

Fix wxHTTPStream::Eof() to return true for empty HTTP resources. Eof() never returned true when attempting to read an empty resource before. Closes #11596.

2010-01-24 01:59 VZ, revision 63237

Use a helper wxNEEDS_DECL_BEFORE_TEMPLATE symbol in wxStrcoll() workaround. The condition for which this workaround is needed has already changed once (see #11605) and may change again in the future as we test with more compilers so use a symbolic name for it. No real changes otherwise.

2010-01-24 01:59 VZ, revision 63236

Apply workaround for wxStrcoll() template for g++ to 3.4 too. At least mingw32 version of g++ 3.4.5 needs the same workaround to be able to compile wx. Closes #11605.

2010-01-23 23:45 KO, revision 63235

Fix for generic implementation.

2010-01-23 22:17 KO, revision 63234

Fix for non-Mac builds.

2010-01-23 21:10 KO, revision 63233

Remove assert that was used during testing while changing style flags.

2010-01-23 21:06 KO, revision 63232

Start on ShowWindowModal for OS X Cocoa. Not working properly as children do not display.

2010-01-23 16:25 VZ, revision 63231

Output wxT() and not _T() in code generated by wxrc. Also use wxT() in wxrc.cpp itself, just to be sure that there are no other occurrences of _T() left. Closes #11649.

2010-01-23 14:44 VZ, revision 63230

Add virtual wxSizer::DoInsert() to replace Insert(). This allows to avoid problems with hiding all but the overridden overloads of Insert() in wxSizer-derived classes, see #11616, without having to explicitly write any using statements. Keep Insert(size_t, wxSizerItem) virtual to allow the existing code overriding it to keep working.

2010-01-23 14:22 VZ, revision 63229

Allow to not create wxPaintDC in EVT_PAINT handler in wxMSW. Failure to create a wxPaintDC in EVT_PAINT handler resulted in many serious and difficult to debug problems under wxMSW. We used to document that the user shouldn't do it but this wasn't enough (see #11648). We could also assert if we detected that a handler didn't create a wxPaintDC but it seems better to just handle this case gracefully for consistency with the other platforms. Add wxDidCreatePaintDC global variable which is reset before generating wxPaintEvent and set to true when ::BeginPaint() is called from wxPaintDC ctor and validate the update region of the window ourselves if it wasn't set (meaning that wxPaintDC wasn't created). Update the documentation to emphasize the link between EVT_PAINT handlers and wxPaintDC but without saying that wxPaintDC object must always be created in the handler as this is not true any more.

2010-01-23 14:22 VZ, revision 63228

Don't crash when input is empty in wxFileConfig(wxInputStream) ctor. Fix crash due to dereferencing a NULL pointer when the input buffer in wxFileConfig ctor is empty. Closes #11636.

2010-01-23 14:22 VZ, revision 63227

Fix off by 1 errors in owner-drawn menu drawing code in wxMSW. The label was offset by 1 pixel vertically and the check marks were 1 pixel too wide compared to the native ones under XP, correct this. Closes #11420 (again).

2010-01-23 14:22 VZ, revision 63226

Improve wxCheckListBox appearance under Vista/Win7. Fix the items alignment and also code cleanup: fix indentation, remove magic numbers &c. Closes #10286.

2010-01-23 14:21 VZ, revision 63225

Correct drawing of check marks for owner-drawn items without bitmaps. Standard check mark was not drawn correctly for check/radio items without bitmaps. Closes #11480.

2010-01-23 14:21 VZ, revision 63224

Correct alignment of menu accelerator strings in owner-drawn menus. Draw them right-aligned as the native menus do. Closes #11479.

2010-01-23 14:21 VZ, revision 63223

Use theme functions for drawing owner-drawn menus. This makes the menu items with custom attributes or bitmaps look more native, especially on post-XP systems. Closes #11420.

2010-01-23 14:21 VZ, revision 63222

Fix calculation of the margins for owner-drawn menu items. Take into account the widths of the bitmaps properly. Closes #11268.

2010-01-23 14:21 VZ, revision 63221

Set up menu bitmaps correctly for checkable items. We must not set MENUITEMINFO::hbmpItem for the checkable items as it would then be used for both checked and unchecked state. Closes #11244.

2010-01-23 14:21 VZ, revision 63220

Refactor owner-drawing code. Only keep common code in the base class and extract all menu/listbox-specific stuff into derived classes. This makes the code cleaner and more maintainable but introduces some problems in wxCheckListBox appearance which will be fixed by the next patch. Closes #10635.

2010-01-23 14:20 VZ, revision 63219

Return old, not new, selection from wxMSW wxNotebook::ChangeSelection(). The function is documented to return the old selection and not the new one, so correct it to behave as expected. Closes #11646.

2010-01-22 23:01 VZ, revision 63218

Fix harmless g++ 4.3 warning about "suggested braces".

2010-01-22 23:01 VZ, revision 63217

Don't place NULL pointers in the GDK window array in GTKGetWindow(). This avoids an assert in GTKUpdateCursor() later on. Backport of r60458 from trunk.

2010-01-22 22:24 RD, revision 63213

Print the configure command

2010-01-22 22:24 RD, revision 63212

Use DESTDIR for installing to a location other than the prefix. Fixup install_name_tool usage.

2010-01-22 16:52 JJ, revision 63204

Correction on previous commit: statement order corrected

2010-01-22 08:55 JJ, revision 63203

Get wxDC defined when nescessary

2010-01-20 03:07 KO, revision 63197

Handle the case of NSNotFound result properly.

2010-01-20 01:17 VZ, revision 63195

Disable size grip for TLW status bar if TLW is not resizeable. wxSTB_SIZEGRIP is part of default status bar style but it doesn't make sense for non-resizeable TLWs, so turn it off in this case.

2010-01-19 23:02 VS, revision 63194

Fix wxMulDivInt32() to round the result like win32 MulDiv() does.

2010-01-19 18:53 VS, revision 63193

Make ConvertPixelsToDialog() and ConvertDialogToPixels() const.

2010-01-19 17:32 VS, revision 63192

Don't query metrics that won't be used. If ConvertPixelsToDialog() or ConvertDialogToPixels() was called with one of the two input values set to -1, the respective font metric was queried needlessly.

2010-01-19 15:47 VS, revision 63191

Support XHTML &apos; entity.

2010-01-19 14:49 VZ, revision 63190

Further enhancement to the samples overview page. Add links to samples sources in svn to all the individual samples and be even more explicit about their location on the local disk. Move the paragraph explaining the samples location further below -- but <hr> still doesn't work somehow.

2010-01-19 14:02 VZ, revision 63189

Explain the location of samples better in the samples overview page. Don't mention controls sample, just the widgets one, as the latter is much richer and easier to understand.

2010-01-19 14:02 VZ, revision 63188

Don't set initial size as min size for top level windows in wxMSW. This was accidentally done because wxWindowBase::CreateBase() didn't recognize the window as being top level as it was called before the window was appended to wxTopLevelWindows list. Fix this by doing the same thing wxGTK already did: just call wxTopLevelWindows.Append() before CreateBase().

2010-01-19 14:01 VS, revision 63187

Add wxThreadEvent::SetPayload<T>(). This makes it possible to easily pass custom data between threads, in type-safe way (thanks to internal use of wxAny). This adds sizeof(wxAny)==16+sizeof(void*) overhead to wxThreadEvent, but I think it's cheaper than doing malloc/free on copying.

2010-01-19 14:01 VS, revision 63186

Don't make full copy of string in wxThreadEvent::Clone(). It's enough to do it once to ensure thread-safety. Doing it twice (once in copy ctor called by Clone(), once in Clone() itself) only wastes time.

2010-01-18 12:05 SC, revision 63182

moving GetPageInfo to later stage, closes #11494

2010-01-18 11:56 SC, revision 63181

switching to LaunchServices implementation, fixes #11508

2010-01-18 11:09 SC, revision 63180

fixing type for 64 bit, closes #11550

2010-01-18 10:45 SC, revision 63179

avoiding Insert shadowing superclass methods, closes #11616

2010-01-18 10:12 SC, revision 63178

setting correct 'default' for m_filterIndex, closes #11541

2010-01-18 10:03 SC, revision 63177

applying patch, closes #11309

2010-01-18 09:56 SC, revision 63176

setting correct refcon in menus (was incorrectly changed to menuimpl), fixes #11611

2010-01-18 09:52 SC, revision 63175

avoiding double define warning

2010-01-18 01:29 VZ, revision 63174

Document wxCENTRE style for wxMessageDialog. This is currently only implemented for MSW but we could implement it for the other ports in the future.

2010-01-18 01:29 VZ, revision 63173

Don't set stretchable spacers size to 0, this doesn't work so use 1 instead. If the toolbar is not big enough for its fixed-size contents, we set the size of the tools corresponding to stretchable spacers to 0 but this didn't really work and resulted in bad toolbar appearance even after resizing it to be big enough (as could be seen in samples/xrc). So set the spacers size to at least 1 to ensure that we do resize them correctly.

2010-01-18 01:29 VZ, revision 63172

Add support for stretchable spacers to XRC wxToolBar handler. Notice that currently only stretchable spacers are supported via separator-like "space" XRC element. If we ever add support for fixed spacers in the toolbar we should do it via its fixed sub-element, e.g. they would be specified with <fixed>1</fixed> in XRC file. Also use spacers instead of separator in the XRC sample and ensure that the toolbars in it are resized.

2010-01-18 01:28 VZ, revision 63171

Correct test for parent being on screen in wxTLW::DoCentre(). The old test was needlessly complicated, didn't take all cases into account and had a typo in it which prevented it from working in half of the cases which it did [try to] take into account. Correct this by simply checking if the parent rectangle intersects the visible display area at all. Also simplify the code a little by checking for the window being maximized from the beginning as centering a maximized window on either screen or parent is a no-op.

2010-01-18 01:28 VZ, revision 63170

Invalidate stored wxTreeItemIds when the corresponding item is deleted in wxMSW. m_htSelStart and m_htClickedItem stored in wxTreeCtrl must be invalidated when the item they point to is deleted (which also happens when all the items are deleted), otherwise the selection doesn't behave correctly after doing it. Closes #11619.

2010-01-18 01:28 VZ, revision 63169

Generate wxEVT_KEY_DOWN events for navigation keys in wxMSW wxTreeCtrl. We only generated wxEVT_COMMAND_TREE_KEY_DOWN events for the keys which can be used for tree control navigation and which are handled specially in the code but not the wxEVT_KEY_DOWN ones. This was inconsistent with the other keys and incompatible with wx 2.8 and other ports, so generate both events unless the wxEVT_KEY_DOWN one was handled by the user code. Closes #11621.

2010-01-18 01:28 VZ, revision 63168

Show the more metrics for the selected font in the sample. Show the result of wxDC::GetChar{Width,Height}() and the font size in pixels in addition to the font size in points.

2010-01-18 01:28 VZ, revision 63167

Don't call base class version unnecessarily in wxLogWindow::DoLogTextAtLevel(). This is unnecessary as the log message is already passed to the previous logger by the base class wxLogChain::DoLogRecord() implementation. Worse, it's actively harmful as it resulted in asserts in wxLog::DoLogText() when built with WXWIN_COMPATIBILITY_2_8==0. Closes #11526.

2010-01-18 01:28 VZ, revision 63166

No changes, just fix an unused parameter warning. Fix warning in mingw32 wxMSW build.

2010-01-18 01:28 VZ, revision 63165

Add wxIsascii() function and use it instead of isascii() in our code. isascii() is non-ANSI and is not available under all platforms. While we currently define it ourselves in wx/wxcrtbase.h in this case, it's not a good idea as this can't be easily done correctly for all platforms so start transitioning away from using isascii() by adding wxIsascii() and using it in our own code. The only remaining occurrences of isascii() are in Scintilla code which we probably don't want to modify.

2010-01-18 01:27 VZ, revision 63164

Only disable use of non-ANSI functions in strict ANSI mode under Windows. The changes of r62518 fixed compilation of wx headers in g++ strict ANSI mode (enabled by th use of -ansi or -std=c++{98,0x} options) with mingw32 but broke it when using g++ in ANSI mode under Unix. The problems arose at least due to redeclaration of isascii() with different exception specifier and due to the lack of wxCRT_StrdupA() definition in the library. Fix this by simply not disabling the use of non-ANSI functions such as isascii() and strdup() under Unix as they are still available in the headers by default because of _GNU_SOURCE predefined by g++. Notice that if _GNU_SOURCE is explicitly undefined, compilation would probably still be broken. To fix this we might check whether __USE_SVID is defined under Linux. Unfortunately doing tests in configure is not an answer as wxWidgets might not be compiled with the same -std option as the programs using it, so there is no obviously correct way to fix this. See #11374.

2010-01-17 13:10 JMS, revision 63163

Added entry on generic wxDatePickerCtrl keyboard navigation fix

2010-01-16 05:14 PC, revision 63162

update docs for wxMAXIMIZE on GTK

2010-01-15 18:19 JMS, revision 63161

When checking whether the parent has wxTAB_TRAVERSAL style, take into account that the wxComboCtrl can be part of a composite control

2010-01-15 18:09 PC, revision 63160

honor wxMAXIMIZE frame style, fixes #11631

2010-01-15 17:06 JMS, revision 63158

When checking whether the parent control has wxTAB_TRAVERSAL, take into account that the wxComboCtrl can be part of a composite control, such as generic wxDatePickerCtrl (fixes #11630).

2010-01-14 23:51 VZ, revision 63157

More wx(Flex)GridSizer constructors documentation improvements. Mention that the number of columns may also be automatically deduced. Don't duplicate the same documentation in wxGridSizer and wxFlexGridSizer as this inevitably results in forgetting to update one of the versions (as in the previous commit). Instead, just link to wxGridSizer from wxFlexGridSizer.

2010-01-14 23:43 VZ, revision 63156

Minor corrections to wxFlexGridSizer ctor documentation. Be more clear about what does it mean to specify the number of rows. Don't use @code for inline expressions. Remove an extraneous "it".

2010-01-14 20:04 SC, revision 63155

fixing comments, making sure sound always gets the completion call in the same thread as it was created, otherwise iphone sometimes crashes

2010-01-14 19:02 VZ, revision 63154

No real changes, just fix a typo in comments and documentation. Use "surprising" instead of (common) "surprizing" misspelling. Closes #11627.

2010-01-13 19:29 JMS, revision 63139

Fixed bug: wxPGEditor::SetControlAppearance() was calling SetValueToUnspecified() unconditionally, disregarding value of 'unspecified' argument.

2010-01-12 16:51 VZ, revision 63138

Add wx/osx/textentry.h to the list of OS X headers. Fix problem with "make install" which didn't install this header. Backport of r63137 from HEAD. Closes #11624.

2010-01-12 16:47 VZ, revision 63137

Check for a function existing in all libpng releases in configure. We tested for png_check_sig() which was deprecated and is not available in the latest libpng 1.4 any more. Just use another, not deprecated and not new, function for the test. See #11625.

2010-01-12 16:47 VZ, revision 63136

Add wx/osx/textentry.h to the list of OS X headers. Fix problem with "make install" which didn't install this header. Closes #11624.

2010-01-11 15:19 SC, revision 63135

adding protocol support for 10.6

2010-01-10 02:52 KO, revision 63129

Remove duplicate fields in wxTextCtrl / wxTextEntry. Fixes #11618.

2010-01-10 01:57 RD, revision 63116

Lots of build tweaks needed for building wxPython releases. Allow prefix and installdir to be different, update the install_name before lipo on the Mac, etc.

2010-01-10 01:48 RD, revision 63115

Use GraphicsContext (if available) for drawing in SurfaceImpl::AlphaRectangle. Fixes #10542.

2010-01-10 01:40 RD, revision 63114

Use GraphicsContext (if available) for drawing in SurfaceImpl::AlphaRectangle. Fixes #10542.

2010-01-09 20:56 KO, revision 63106

Rebake.

2010-01-09 20:50 KO, revision 63105

Implement native OS X ComboBox for OS X Cocoa, and implement wxTextEntry methods to share code between wxComboBox and wxTextCtrl.

2010-01-09 18:57 VZ, revision 63104

Restore default WM_ERASEBKGND handling for wxMDIParentFrame. We pretended that we erased the background ourselves but actually we did not. Just let DefWindowProc() do whatever it does by default to fix the problem with wrong toolbar background colour since r62971. Also removed the unused and unneeded WM_SIZE handler as well. Closes #11607.

2010-01-09 18:39 VZ, revision 63103

Minor fixes and enhancements to wxWindowID documentation. Document NewControlId() more precisely. Fix various spelling and grammar problems. Closes #11613.

2010-01-08 19:20 KO, revision 63100

Rebake.

2010-01-08 19:19 PC, revision 63099

for file load/save, always try wxImage first, fallback to pixbuf

2010-01-08 05:33 PC, revision 63098

fix broken #elif

2010-01-08 05:05 PC, revision 63097

fix broken #elif

2010-01-08 02:29 KO, revision 63096

Support mouse click through as otherwise clicking inside an inactive window causes us to lose the first mouse down, unlike with MSW.

2010-01-07 20:43 JMS, revision 63095

Improved documentation for wxPGProperty::DoSetAttribute()

2010-01-07 20:37 JMS, revision 63094

Fixed deprecation message (brings include file in line with the the interface)

2010-01-07 20:35 JMS, revision 63093

Do not use deprecated property attribute wxPG_ATTR_INLINE_HELP (fixes #11605)

2010-01-07 20:31 JMS, revision 63092

Fixed a deprecation message

2010-01-07 19:30 PC, revision 63091

remove unused function GetGdkVisual()

2010-01-07 19:16 PC, revision 63090

defer creating bitmap representation until it is needed

2010-01-07 14:16 VZ, revision 63089

Improve hit detection in wxMSW wxTreeCtrl with wxTR_FULL_ROW_HIGHLIGHT style. When wxTR_FULL_ROW_HIGHLIGHT is used, the item visually takes up the entire breadth of the window so clicking both to the left or to the right of the item should have the same effect as clicking on it. So add a MSWIsOnItem() helper which tests for whether a point is above the item correctly and use it in order to: 1. In multi selection mode, allow clicking anywhere to select the item(s) when Ctrl or Shift is pressed (Closes #11598). 2. Generate activation event when clicking to the right of the item too (Closes #11602). 3. Detect item bounds correctly in WM_LBUTTONUP handler (although it's not really clear what does this code do and hence what problem does this fix...).

2010-01-07 14:15 VZ, revision 63088

German translations update from Thomas Krebs. Closes #11562.

2010-01-07 14:15 VZ, revision 63087

Fix typos in IMediaPlayer2 and INSPlay interfaces declarations. Fix missing/extraneous parentheses. Closes #11600.

2010-01-06 23:02 KO, revision 63085

Forward port 2.8 fix.

2010-01-06 03:22 KO, revision 63083

Fix another line somehow missing from the wxGraphicsBitmap forward port.

2010-01-05 19:27 SC, revision 63079

added zlib directly to dynamic targets

2010-01-05 18:53 PC, revision 63078

remove never-implemented palette support

2010-01-05 17:42 JMS, revision 63077

Call virtual ctrl->GetDefaultAttributes() instead of static GetClassDefaultAttributes()

2010-01-05 14:55 SC, revision 63075

added zlib directly to dynamic targets

2010-01-05 14:54 SC, revision 63074

add zlib only in dynamic build targets

2010-01-05 13:56 VZ, revision 63072

Brazilian Portuguese translations updae from Allann Jones. Closes #11597.

2010-01-04 17:07 JMS, revision 63066

Allow wxPropertyGridInterface::EnableProperty() to work even if property->GetGrid() returns NULL.

2010-01-04 13:51 VZ, revision 63065

Add assert checking that window has no event handlers when destroyed. Forgetting to pop custom event handlers pushed onto the window before it is destroyed will result in a crash later on, so try to detect this immediately with an assert. We might want to forcefully pop them off too, this could result in memory leaks but would be still better than crashing. Closes #11533.

2010-01-04 13:22 VZ, revision 63064

Fix wxConvAuto behaviour when it is used by wxTextInputStream. wxConvAuto implicitly supposed that the chunk of data passed to it for translation was big enough to allow it to at least detect the BOM from it. However this isn't necessarily the case and never is with wxTextInputStream which reads the bytes one by one. Fix this by waiting until we have enough data to be able to detect the BOM. This still doesn't fix the problem with streams without BOM and the corresponding unit test still fails -- it will need to be fixed at the level of wxTextInputStream itself later but handling correctly the cases when a BOM is present is already better than before. See #11570.

2010-01-04 13:22 VZ, revision 63063

Make calling wxLog::IsAllowedTraceMask() safe during static init time. Although using wxLog during statics initialization is not recommended, it may still happen, possibly indirectly so make it work correctly by using an accessor function for the array of trace masks which ensures that this array is always correctly initialized before being used. Closes #11592.

2010-01-04 13:22 VZ, revision 63062

Compilation fix for VC6 after r63061. VC6 doesn't support empty struct initializers apparently.

2010-01-04 12:05 VZ, revision 63061

Correctly parse times without seconds in wxDateTime::ParseTime(). This was always supposed to work but never did because of a typo in the "24 hour format without seconds" format specification. Fix this by removing the extra "%S" from it and add a test for this case.

2010-01-04 11:59 VZ, revision 63060

Don't dereference invalid iterator in wxDateTime::ParseDate(). If the string passed to this method contained only spaces (possibly 0 of them, i.e. was empty) we would dereference the end string iterator. Fix this by adding an explicit test for "p != pEnd".

2010-01-04 11:08 SC, revision 63059

fixing include type

2010-01-04 08:53 SC, revision 63057

adding stc support

2010-01-04 08:52 SC, revision 63056

adding kqueue define for xcode builds

2010-01-04 08:50 SC, revision 63055

fixing include types

2010-01-04 02:57 KO, revision 63053

Get the OS X Cocoa native combobox building by having the native code compile if wxOSX_USE_NATIVE_COMBOBOX is defined. It must be explicitly enabled by adding that define to the build flags as the native implementation is mostly just stubs right now.

2010-01-04 01:45 KO, revision 63052

Rebake from clean wx tree.

2010-01-04 00:59 KO, revision 63051

Don't use a destroy event handler to disconnect the native control's delegate as the destroy event propagates and can cause the TLW to remove its delegate at unexpected times, such as when a child control is destroyed but the TLW remains active. Instead, do it in response to the Destroy() call.

2010-01-03 23:52 KO, revision 63050

Create a text measuring context until a real context is assigned, this allows things like text measurement code using wxMemoryDC to work on Mac.

2010-01-03 20:58 SC, revision 63049

correcting error message

2010-01-03 19:55 SC, revision 63048

fixing name collision ocuring in a specific script runner

2010-01-03 19:29 VS, revision 63045

Removed some outdated compiler checks in OLE code. We don't support VC++ 4 for ages and any recent version of GCC has cVal, too.

2010-01-03 19:29 VS, revision 63044

Removed wxClearVariant() and wxReleaseVariant(). Replaced them with standard VariantInit() and VariantClear() functions respectively. They appear to be just reimplementations of these.

2010-01-03 19:28 VS, revision 63043

Moved wxConvertVariantToOle and wxConvertOleToVariant to oleutils.cpp. These are declared in oleutils.h, so that's where they should be. More importantly, they are used by wxActiveXContainer and so are required even if wxUSE_OLE_AUTOMATION is off. Also added "wx" prefix to (Clear|Release)Variant, because they cannot be static any longer.

2010-01-03 19:20 SC, revision 63042

building xcode projects from files.bkl

2010-01-03 18:37 VZ, revision 63041

Romanian translation update from Catalin. This is more of a replacement than an update but apparently the old translation had a lot of problems. The new translation is undoubtedly more complete (1523 translated messages against 230 for the old one).

2010-01-03 11:24 JMS, revision 63040

Added missing ResetEditorAppearance() call

2010-01-03 11:23 JMS, revision 63039

In wxPGEditor::SetControlAppearance() use GetClassDefaultAttributes() instead of GetDefaultAttributes()

2010-01-02 14:07 VS, revision 63038

Added wxAutoOleInterface<T> template. This replaces WX_DECLARE_AUTOOLE with easier-to-debug version. The macro is still preserved for backward compatibility.

2010-01-02 12:31 MBN, revision 63037

Document wxPerl interface differences for wxRichTextCtrl.

2010-01-02 12:29 MBN, revision 63036

Document wxPerl interface differences for wxRichTextCtrl.

2010-01-02 12:22 MBN, revision 63035

Build with WXINTL_NO_GETTEXT_MACRO defined.

2010-01-02 11:40 MBN, revision 63034

Fix method name in wxInfoBar interface.

2009-12-31 14:37 VZ, revision 63032

Change the year in copyright messages to 2010. Backport of r63031 from trunk. See #11584.

2009-12-31 14:36 VZ, revision 63031

Change the year in copyright messages to 2010. Happy new year to all wx-ers! Closes #11584.

2009-12-31 14:32 VZ, revision 63030

Add wxWinVersion_7 to the private wxMSW wxWinVersion enum. Also correct wxWinVersion_2003 definition, it should have the same value as wxWinVersion_XP. And add wxWinVersion_XP_SP2 == wxWinVersion_2003_SP1.

2009-12-31 09:39 SC, revision 63028

adding placeholders and work in progress files

2009-12-31 00:40 KO, revision 63027

Fix issue that was causing ShowWithoutActivating to indirectly call wxNonOwnedWindow::Show.

2009-12-30 18:44 MW, revision 63024

Add another test for sparse file support so that the large file tests can run as part of the default suite for more platforms.

2009-12-30 18:41 KO, revision 63023

To support playing async sounds on the stack on Mac, do not delete the wxSoundData when its wxSound object is destroyed if it's in the queue of sounds to be played. Instead, mark it to be deleted and delete it after it has played.

2009-12-30 18:39 MW, revision 63022

Repair the stream tests.

2009-12-30 18:38 MW, revision 63021

Support large files with stdio on mingw.

2009-12-30 18:07 JMS, revision 63020

wxOwnerDrawComboCtrl -> wxComboCtrl

2009-12-30 18:06 JMS, revision 63019

Updated entries regarding wxPropertyGridManager

2009-12-30 14:46 VZ, revision 63017

Don't create an invalid iterator in wxDateTime::ParseTime(). Creating an iterator pointing beyond the string end resulted in an assert from MSVC 9 CRT. Fix this by using wxString ctor taking length (which may be greater than the length of the string) instead of the one taking two iterators (which must both be valid).

2009-12-30 14:38 VZ, revision 63016

Explicitly mention MSVC std::fstream(wxString) incompatibility issue. The fact that std::fstream provides a non-standard constructor in MSVC CRT implementation is sufficiently confusing to merit a special mention.

2009-12-30 09:35 SC, revision 63015

fixing SetSubMenu for OSX_Cocoa, fixes #11581

2009-12-29 17:04 JMS, revision 63012

Changed wxPropertyCategory to use same cell rendering code as regular properties. This allows labels for category columns other than the first. Rendering code was heavily modified to allow 'merging' of cells when needed.

2009-12-28 21:01 VZ, revision 63008

Use memmove() instead of memcpy() in wxString::AssignCopy(). This allows the code like "s = s.c_str()" to work correctly, although it doesn't fix all self-assignment-related bugs. See #11245.

2009-12-28 17:18 VZ, revision 63007

Ensure that frame is re-laid out when its toolbar is deleted. The code in wxFrameBase::SetToolBar() didn't work correctly when toolbar was unset using SetToolBar(NULL) because the frame toolbar pointer was reset before layout was done resulting in the frame not recognizing its (still existing) toolbar child as one of its bars and so nothing was done at all when the frame had a single child, as in the toolbar sample. Correct this by carefully ensuring that the toolbar pointer is still set at the moment of the layout but hide the toolbar to ensure that no place is allocated for it. Also mention that it is not necessary to call SetToolBar(NULL) at all if the toolbar is being deleted anyhow in the sample as toolbar does this itself in its destructor.

2009-12-28 17:18 VZ, revision 63006

Correct initial value of "Toggle toolbar" check menu item in the sample. This item should initially be checked because the toolbar is initially shown.

2009-12-28 02:56 PC, revision 63003

don't use ==, fixes ##11580

2009-12-27 20:40 VZ, revision 63001

Account for cells spanning multiple grid cells better when autosizing. The total size of a multi-span cell was accounted for each row/column it covered, resulting in too much space being allocated to them. Only take into account the average size of each row/column computed by dividing the total cell size by number of rows/columns it occupies to fix this. Closes #11498.

2009-12-27 20:40 VZ, revision 63000

Return the kind of cells span from wxGrid::GetCellSize(). Behaviour of GetCellSize() may be very surprising for the unwary as it can return negative or null "size" of the cell. Add CellSpan return value to allow the caller to check what kind of cell are we dealing with easier. Also document the new return value as well as the function (and matching SetCellSize()) itself carefully as its behaviour is far from obvious.

2009-12-27 20:40 VZ, revision 62999

Don't call SetMinSize() when creating the window if no initial size was given. Calling SetMinSize() is unnecessary in this case. It also results in GTK+ errors when creating wxFileDialog as it is not created yet when this is called (but it does take care to pass wxDefaultSize to this function as its size can't be set yet). See r62814 and r62817.

2009-12-27 20:40 VZ, revision 62998

Avoid defining COMPILER_PREFIX for autoconf format. This fixes a fatal bakefile error due to undefined COMPILER variable when using wx presets with autoconf backend introduced in r62458.

2009-12-27 20:40 VZ, revision 62997

Correct wxUSE_MACOSX_VERSION_MIN setting when running under OS X 10.4. sw_vers outputs e.g. 10.4.11 under 10.4 so comparing its result with just 10.4 is wrong, match it against "10.4*" using case instead to ensure that 10.4.11 is indeed recognized as 10.4. Closes #11579.

2009-12-27 20:40 VZ, revision 62996

Document wxString::operator<<(wxUniChar). wxUniChar overload was somehow omitted from the list. Closes #11568.

2009-12-27 20:39 VZ, revision 62995

Override some methods in wxF(F)ileStream to resolve ambiguities. Override virtual methods IsSeekable(), GetLength() and OnSysSeek/Tell() to forward to wxF(F)InputStream base class as otherwise it's impossible to use them at all because of ambiguity between the versions inherited from this class and wxF(F)OutputStream (even though the two versions should do the same thing as they operate on the same file descriptor/handle). Also improve documentation of these classes: provide a brief description, correct the base classes. Closes #11577.

2009-12-26 17:36 VZ, revision 62994

Take into account the initial buttons state when creating wxGTK toolbar. With wxMSW it is possible to call e.g. wxToolBarTool::Enable(false) on a tool before calling wxToolBar::Realize() to create the tool in an initially disabled state but this wasn't done in wxGTK version. Override Realize() now under wxGTK to bring the native toolbar buttons state in sync with the internal state of the corresponding wxToolBarTools.

2009-12-26 17:36 VZ, revision 62993

Don't forward declare wxSystemColour enum. Forward declaring enums is illegal in standard C++ and while MSVC allows this as an extension, it doesn't compile with g++. Just include wx/settings.h instead.

2009-12-26 17:36 VZ, revision 62992

No changes, just fix a typo in and rephrase a comment. Comment in wxToolBarBase::Realize() was probably copied from some port-specific file but didn't make sense any more in common code.

2009-12-26 11:51 JMS, revision 62991

Reduced unnecessary wxT usage

2009-12-26 11:45 JMS, revision 62990

Replaced 'InlineHelp' property attribute with 'Hint'; Use SetHint() wxTextCtrl and wxComboCtrl member function to set it; Added a small section about help string and hint text in propgrid overview

2009-12-26 11:33 JMS, revision 62989

Added wxComboCtrl::SetHint(), GetHint()

2009-12-25 21:43 KO, revision 62988

Remove the native toolbar from the frame in Destroy() rather than the destructor, as removing it in the destructor causes resize / repaint events to fire on the native control, which then goes to wx controls being deleted.

2009-12-25 21:40 KO, revision 62987

Use NSTrackingArea when available (building for 10.5+) so that we can get mouse moved events for inactive / non-focused windows too.

2009-12-25 12:36 VZ, revision 62986

Always show hint in text entries, even when they have focus. It was impossible to show the hint for the initially focused child of a dialog before, as the hint was hidden from the very beginning. By showing it always we avoid this problem. We may want to add an option/flag for SetHint() to make this configurable later if somebody really needs to show hints only for as long as the control doesn't have focus.

2009-12-25 10:47 SC, revision 62985

removing event handlers on non-owned windows when the destroy event is sent

2009-12-25 10:18 JMS, revision 62984

Refactored a very confusing condition in wxPGComboBox item paint code

2009-12-25 10:04 JMS, revision 62983

Added wxComboCtrlBase::SetFore/BackgroundColour()

2009-12-25 09:39 SC, revision 62982

fixing parameter names

2009-12-25 09:33 JMS, revision 62981

Added documentation for wxPGEditor::SetControlAppearance()

2009-12-23 22:42 VZ, revision 62980

Erase toolbar background even if it doesn't contain any controls/spaces. Minor correction to changes in r62971: we still need to hook WM_ERASEBKGND in toolbar parent when painting the toolbar itself even when there are no dummy separators in it (and so we don't need to paint them over). Without this, the background of simple toolbars without controls was not erased correctly.

2009-12-23 14:56 VZ, revision 62977

Don't pass 0 timer ids to ::SetTimer(). Creating timers with 0 id failed because Windows SetTimer() function requires a non-zero id. Fix this by using a (impossible at wx API level) -1 id value in this case instead. Closes #11392.

2009-12-22 22:22 MW, revision 62974

Add support for large stdio files for VC 8+. What versions of the other Windows compilers?

2009-12-22 17:12 JMS, revision 62973

Added wxPropertyGrid::SetUnspecifiedValueAppearance(); Added wxPGEditor::SetControlAppearance() for applying wxPGCell attributes on a property editor.

2009-12-22 16:37 VZ, revision 62972

Remove the test of erase background events from the toolbar sample. Handling erase background events for toolbars never worked for the ports other than wxMSW and now it doesn't work for MSW neither as we need to skip erasing the background in WM_ERASEBKGND handler to avoid flicker which would result from erasing the background twice, from there and from WM_PAINT handler which must do it. So don't even try to test if it works, it's unlikely to be very useful anyhow. This reverts the change to this file in r62805.

2009-12-22 16:37 VZ, revision 62971

Finally really correct background erasing for wxMSW wxToolBar. Do use TBSTYLE_FLAT and TBSTYLE_TRANSPARENT (the former actually implies the latter) for MSW toolbar as it is the only way to avoid the flicker of toolbar buttons. These styles were disabled before because of lack of understanding about how they worked: with them, the toolbar supposes that its parent takes care of erasing its background but wx didn't do this (in fact wxFrame did accidentally erase toolbar background because of the use of Win32 client rectangle, including tool/status bars, instead of wx client rectangle, excluding them, in wxWindowMSW::DoEraseBackground(), but it didn't do it correctly). Now we allow hooking WM_ERASEBKGND events processing in a parent window by a child one and use this to handle toolbar background erasing in toolbar itself. We still prevent the native toolbar from drawing dummy separators and always erase the area occupied by them ourselves and thus avoid the flicker entirely. The only remaining flicker in the toolbar sample is that of embedded wxStaticText control. It does appear with correctly transparent background and bitmaps with alpha channel also (still) are drawn correctly in wxStaticBitmaps embedded in the toolbar. Finally, we still use solid background brush for toolbar but we can easily use a themed background if really desired, there is just a single function to change to do it (MSWGetToolbarBgBrush()).

2009-12-22 16:37 VZ, revision 62970

Fix best size computation for buttons without image and with empty label. If a button was initially created with an empty label (but without image neither), its best size was computed and cached as being null. Correct this by giving the button the default size instead, as expected.

2009-12-21 16:20 JMS, revision 62960

Added wxMSW wxChoice::GetClassDefaultAttributes(), initially used in wxComboCtrl

2009-12-21 11:04 CE, revision 62959

remove ;

2009-12-20 16:07 FM, revision 62958

fix miscellaneous Doxygen 1.6.1 warnings

2009-12-20 15:50 FM, revision 62957

fix a few doxygen warnings

2009-12-20 15:24 FM, revision 62956

add a detailed description to wxMenuItem::SetItemLabel() partially moving docs from wxMenu::Append; add usage examples; organize wxMenuItem functions in 3 sections (getters, setters, checkers) to make it easier to browse the docs; use @onlyfor tag where necessary instead of the (Windows only) text

2009-12-20 13:48 JMS, revision 62955

Added wxPropertyGrid::GetUnspecifiedValueText(). Use it instead of assuming that the unspecified value text is always an empty string.

2009-12-20 13:31 JMS, revision 62954

Added some missing SetupTextCtrlValue() calls

2009-12-19 16:07 JMS, revision 62948

Suppress 'unused argument' warnings

2009-12-19 15:47 JMS, revision 62947

Added wxWindowMSW::MSWGetThemeColour(); initially use it in wxComboCtrl::OnThemeChange()

2009-12-19 13:08 JMS, revision 62946

Properly notify active editor control when it receives the focus.

2009-12-19 13:00 VZ, revision 62945

Document wxSpinCtrlDouble in correct header file. The public header for this class is wx/spinctrl.h, but it was documented in wx/generic/spinctrg.h which didn't even correspond to an existing real header file (which is called spinctlg.h). Move the documentation to wx/spinctrl.h and remove the old file. Closes #11548.

2009-12-19 13:00 VZ, revision 62944

Document wxSizerItem::Assign{Window,Sizer,Spacer}() methods. Also explain why SetSpacer() and SetSizer() are deprecated. Closes #11555.

2009-12-19 12:59 VZ, revision 62943

Document wxDV_NO_HEADER style. Closes #11559.

2009-12-19 12:17 VZ, revision 62942

Corrections to expander position calculations and drawing in generic wxDVC. Correct the calculation of the indent for the columns following the expander and the calculation of the position of the expander itself. See #11558.

2009-12-19 12:17 VZ, revision 62941

Correct selection/drop highlight rectangles width in generic wxDataViewCtrl. The third parameter of wxRect ctor is the width, not the right edge. See #11558.

2009-12-19 12:17 VZ, revision 62940

Always draw standard-sized checkboxes in generic wxDataViewToggleRenderer. The checkbox should be always shown in its normal size, otherwise it looks strange. And this also fixes the overflow of the checkbox in the next column which happened if the size passed to Render() had negative width before. See #11558.

2009-12-19 12:17 VZ, revision 62939

Use correct width in wxDataViewCustomRendererBase::RenderText(). The text should be ellipsized to fit in the text rectangle, not the total cell one (which is larger). See #11558.

2009-12-19 12:13 JMS, revision 62938

In wxPropertyGrid::HandleCustomEditorEvent(), also filter out excess wxEVT_COMMAND_TEXT_UPDATED events that originated from wxComboCtrl-derived editors.

2009-12-18 23:31 VZ, revision 62935

Don't create labels with wxST_NO_AUTORESIZE flag with empty size by default. Since r57627 wxStaticText objects with wxST_NO_AUTORESIZE flag created with wxDefaultSize were created with zero width. This accounted for the disappearance of the labels for the toolbar controls (as could be seen in the toolbar sample where the combobox label was not shown any more). Fix this by explicitly setting the correct initial size after the correct label is set.

2009-12-18 23:31 VZ, revision 62934

Don't draw over dummy separators in MSW toolbar, just don't draw them at all. Prevent the native toolbar from drawing the separators which we use simply as placeholders by excluding them from the update region when handling WM_PAINT. This reduces flicker by not redrawing the areas occupied by these separators twice and also prevents them from ever being shown (you could see them briefly appear before being erased before). The other toolbar tools still flicker though, there doesn't seem to be any simple way to prevent the control from entirely invalidating itself whenever it is resized.

2009-12-18 21:49 VZ, revision 62933

Don't explicitly set the background colour for wxChoice. This is unnecessary and results in flicker when the control is resized because we explicitly erase its background ourselves and then it does it itself.

2009-12-18 21:49 VZ, revision 62932

No real changes, just change type of MSWGetBgBrush() argument. Pass wxWindow instead of HWND to it as in most cases we already have wxWindow for the HWND we have and calling wxFindWinFromHandle() once more is unnecessary. This also makes the code of MSWGetBgBrushForChild() slightly simpler.

2009-12-18 21:49 VZ, revision 62931

Don't force themed background for wxToolBar under MSW, just use the default. Native toolbars don't have themed background under Vista/7 and don't look good with rebar background (which is the same one as used for the menus) as toolbars don't appear on the top of the window. Erasing background ourselves also results in flicker and display problems and makes the code much more complicated. Simply don't do this to avoid all the problems.

2009-12-18 18:28 JMS, revision 62930

Have wxComboCtrl honour any custom foreground and background colour.

2009-12-18 18:03 JMS, revision 62929

In wxComboCtrl, prefer focus rectangle colours over custom ones.

2009-12-18 17:42 JMS, revision 62928

Have wxComboCtrl honour any application-specified foreground and background colour.

2009-12-18 15:47 VZ, revision 62927

Don't access the first character of a possible empty USEMAP parameter. This fixes an assert when using debug CRT in VC9.

2009-12-18 15:47 VZ, revision 62926

Only call GetTextMetrics() in wxDC::GetTextExtent() if necessary. A micro-optimization: avoid ::GetTextMetrics() call if we don't use its results (as is the case if neither descent nor external leading were requested).

2009-12-18 15:47 VZ, revision 62925

Call SymCleanup() in wxStackWalker to fix problem with next call to it. Calling SymInitialize() second and subsequent times failed (and hence so did wxStackWalker::WalkFrom() and other methods) as we didn't call SymCleanup() because of some problems with old versions of debughlp.dll. These problems don't seem to exist any more so do call SymCleanup() so that we can walk the stack more than once. Closes #11544.

2009-12-18 15:46 VZ, revision 62924

Don't use "-I @" in ctags command line as cmd.exe handles '@' specially. Just use the file path instead as '@' is used for the "response files" by cmd.exe, at least under Windows 7.

2009-12-18 15:46 VZ, revision 62923

No changes, just minor cleanup. Don't call wxWindow::PrepareDC() which doesn't do anything anyhow. Use wxBitmap::IsOk() instead of Ok().

2009-12-18 15:46 VZ, revision 62922

Restore the use of the correct brush for toolbar background erasing. The call to SetBrush() was mistakenly removed in r62850 but it is needed because wxClientDC only inherits background colour but not the brush used by DrawRectangle() call in wxToolBar::MSWEraseRect(), so the wrong colour was used under systems < Vista. Restore this call now.

2009-12-17 22:52 VZ, revision 62919

Compilation fixes and cleanup for wxSymbian. Avoid duplicating Unix files, reuse the existing ones instead. Remove unnecessary gcc pragmas. Add Symbian-specific chkconf.h. Closes #11551.

2009-12-17 18:51 VZ, revision 62916

Correct wxDateTime::GetWeekOfMonth() for days in the beginning of January. This function was implemented in terms of GetWeekOfYear() which made it tricky to get it right as GetWeekOfYear() can, correctly, return week number for the previous year for the first days of January (and also from the next one for the last days of December). Replace this implementation with a simple one directly counting the number of weeks since the first of the month, this seems to be much simpler and does pass the new unit test case which the old version failed. Also make the unit test failures more informative by using WX_ASSERT_EQUAL_MESSAGE() instead of CPPUNIT_ASSERT_EQUAL(). See #11561.

2009-12-17 17:44 VZ, revision 62914

Add test of accelerators using both ASCII and non-ASCII keys to the sample. Test using 'Ctrl-A', just 'A' and 'Esc' as accelerators as all of them except the first one were reported not to work in some cases.

2009-12-17 17:44 VZ, revision 62913

Always use FVIRTKEY for the accelerators under MSW. Not using FVIRTKEY results in problems in non-US keyboard layouts and, in fact, we were already always using it because wxCharCodeWXToMSW() returned true in its output IsVirtual argument most of the time. Just do it always now and also remove IsVirtual parameter with badly (if at all...) defined meaning from wxCharCodeWXToMSW() as it's not used anywhere any longer.

2009-12-17 15:41 JMS, revision 62912

Allow wxPropertyGrid::RecalculateVirtualSize() execute even if pg is not completely initialized (otherwise virtual size calculations may go wrong)

2009-12-17 14:39 SC, revision 62911

fix for sleep mode on displays, fixes #11557

2009-12-17 13:15 SC, revision 62909

supporting sleep mode properly, see #11557

2009-12-17 11:52 VZ, revision 62908

Initialize all fields of EXCEPINFO object to avoid crashes later. We could call SysFreeString() on uninitialized pointers if IDispatch::Invoke() failed.

2009-12-16 20:27 VZ, revision 62903

Correct typo in wxEVT_COMMAND_LISTBOX_DOUBLECLICKED. An underscore was omitted between LISTBOX and DOUBLECLICKED.

2009-12-16 19:59 JMS, revision 62902

Fixed display of 'InlineHelp' attribute

2009-12-16 19:48 JMS, revision 62901

Slightly improved check whether or not to execute wxPropertyGrid::RecalculateVirtualSize()

2009-12-16 18:10 PC, revision 62900

preserve type when loaded image is rescaled, #11543

2009-12-16 09:30 CE, revision 62899

force rebuild of all docs

2009-12-16 07:32 PC, revision 62898

allow setting client size to work properly before window is shown

2009-12-15 23:44 VZ, revision 62896

Avoid GTK+ errors when using AUI wxPseudoTransparentFrame hack. wxPseudoTransparentFrame is not a top level window at all and the code in wxGTK wxTopLevelWindow::DoSetSizeHints() fails for it when it is called from wxWindowBase::CreateBase() because of it and spits GTK+ errors as it calls gtk_window_set_geometry_hints() with NULL widget. Fix this by simply skipping wxTopLevelWindow implementation of this method in wxPseudoTransparentFrame. A better fix would be to get rid of this hack completely, of course.

2009-12-15 22:12 VZ, revision 62895

Remove asserts in wxChoicebook::Get/SetPageImage(). It's better to silently return an error code than assert when these methods are called as their failure is relatively harmless and the user code may call them via base class pointer without caring if it works with a control which supports images or not.

2009-12-15 16:38 VS, revision 62894

define NDEBUG if not using debug CRT

2009-12-15 16:38 VS, revision 62893

define NDEBUG if not using debug CRT

2009-12-15 12:25 VS, revision 62891

compilation fix for wxUSE_IMAGE=0 case

2009-12-15 12:24 VS, revision 62890

compilation fix for wxUSE_IMAGE=0 caseinclude/wx/iconbndl.h

2009-12-15 12:24 VS, revision 62889

PCH compilation fix

2009-12-14 20:17 VZ, revision 62886

Avoid painting generic wxDataViewCtrl if it has no columns. The code in wxDataViewMainWindow::OnPaint() relied on having at least the first column and didn't work for a completely empty control. Just don't paint it at all in this case as it's unnecessary anyhow.

2009-12-14 17:13 JMS, revision 62885

Make wxPG_EX_MULTIPLE_SELECTION behave more like a Windows list box (regarding Ctrl and Shift keys)

2009-12-14 16:33 JMS, revision 62884

Determine better whether the property editor needs to be refreshed in wxPGProperty::SetValue()

2009-12-14 16:18 JMS, revision 62882

'Set to Unspecified' -> 'Set Value to Unspecified'

2009-12-14 16:17 JMS, revision 62881

Set correct m_state in wxPGCheckBoxEditor::SetValueToUnspecified()

2009-12-14 16:15 JMS, revision 62880

Always refresh the editor when setting property value to unspecified.

2009-12-14 16:12 JMS, revision 62879

Fixed unspecified property value rendering for various editor types (including check box)

2009-12-14 13:41 VZ, revision 62877

Restore correct access to wxGenericStaticText::Set{Font,Label}. Accessibility of these methods was accidentally changed to protected in r62821 and this broke wxUniv compilation, make them public again.

2009-12-14 10:38 CE, revision 62876

fix for second bug in bug 11438

2009-12-13 13:52 VZ, revision 62871

Remove unnecessary Mac-specific TOOLKIT_LOWERCASE setting. TOOLKIT is never set to "MAC" at all (it is one of OSX_{CARBON,COCOA,IPHONE}) so it is not necessary to test for it. And for the other cases the special logic for OS X ports was the same as the general case so it seems to be unnecessary as well.

2009-12-13 13:52 VZ, revision 62870

Add --with-[osx_]iphone switch to configure. This is another Mac (wxUSE_MAC is defined) port with TOOLKIT=OSX_IPHONE. Also use this port by default for arm-apple-darwin platforms.

2009-12-13 13:52 VZ, revision 62869

Test for sw_vers availability before calling it in configure. There is no sw_vers when cross-compiling, just assume 10.4 system in this case and point the user to --with-macosx-version-min which can be used to override this.

2009-12-13 13:52 VZ, revision 62868

Rename --with-cocoa configure switch to --with-old_cocoa to avoid confusion. Change --with-cocoa to be synonym for --with-osx_cocoa, add --with-carbon as a synonym for --with-osx_carbon for consistency and --with-osx as a synonym for --with-mac.

2009-12-13 13:00 JMS, revision 62867

Added wxPropertyGridManager header support; Refactored wxPropertyGrid DoSetSplitterPosition() code

2009-12-12 15:01 SC, revision 62866

rearranging contentview, adding toolbar

2009-12-12 14:40 SC, revision 62865

rearranging contentview, adding toolbar

2009-12-12 13:24 JMS, revision 62864

wxHeaderColumnBase -> wxHeaderColumn; Fixed UpdateColumnWidthToFit() sample code

2009-12-12 11:10 JMS, revision 62863

On Windows, force read-only property editor wxTextCtrl to have 'white' background (for now...)

2009-12-12 10:59 JMS, revision 62862

Added a proper log frame to the propgrid sample

2009-12-12 10:38 JMS, revision 62861

Generate wxPropertyGrid splitter (column divider) events: wxEVT_PG_COL_BEGIN_DRAG, wxEVT_PG_COL_DRAGGING, wxEVT_PG_COL_END_DRAG

2009-12-11 16:50 JMS, revision 62859

Fixed incorrect use of RemoveAt() in wxPropertyGridPageState::SetColumnCount() (fixes #11539)

2009-12-11 14:55 CE, revision 62857

fix for bug 11438

2009-12-10 04:04 VZ, revision 62850

Add support for stretchable spaces to wxToolBar. Stretchable spaces consume all extra toolbar space not allocated to the fixed size items. They can in particular be used to right-align (some) toolbar tools. Add and document the new API, change the sample to show it and implement it for MSW, GTK and OS X/Cocoa. Also refactor MSW background erasing/repainting code to avoid duplicated calls to DrawThemeBackground(), call it from a new helper MSWEraseRect() function. Note that we may want to add support for "invisible" separators, IOW non-stretchable spaces. This could be easily done for MSW after the changes in this commit and is supported natively by GTK+ and Cocoa so implementing this would be trivial if there is any interest.

2009-12-10 04:04 VZ, revision 62849

Rename gtk{,1}/tbargtk.{h,cpp} to toolbar.{h,cpp}. We don't use crptknm$port.cpp naming convention even for MSW any more and there is really no reason to continue to do it for just this one file in wxGTK.

2009-12-10 03:59 VZ, revision 62848

Set correct toolbar width in wxMSW wxFrame. The hack introduced in r22410 artificially set wrong size for toolbar under MSW. This completely breaks any calculations that can be done using it (e.g. to find the space available for the stretchable part of the toolbar) and is completely and utterly unexpected. Revert it, toolbar flicker must be dealt in another way if it is still a problem.

2009-12-10 03:59 VZ, revision 62847

No changes, just refactor wxToolBarToolBase ctors. Add the usual Init() function for common initialization.

2009-12-10 03:59 VZ, revision 62846

No changes, just slightly simplify the tool insertion code. Added a helper DoInsertNewTool() function to avoid code duplication and ensure that we never forget to delete a new tool if inserting it into the toolbar failed. Also explicitly document that the tool passed to the public InsertTool() is not owned by the toolbar and so must be deleted by the caller if its insertion failed.

2009-12-09 19:48 PJC, revision 62845

Rewrote wxRibbonPage realisation and layout code to avoid setting the position and size of panels multiple times. Fixed memory leak in wxRibbonToolBar::Realize().

2009-12-09 15:59 VZ, revision 62844

Avoid outputting the assert message twice in non-GUI code. As we always log the assert message in ::ShowAssertDialog() itself there is no need to log it again in wxAppTraitsBase::ShowAssertDialog(). Also show the "please wait while generating stack trace information" in wxAppTraitsBase::GetAssertStackTrace() itself instead of doing it in both places which call it.

2009-12-09 15:59 VZ, revision 62843

Don't limit the number of stack frames in GTK assert dialog to 20. This dialog uses a scrollbar to keep its vertical size reasonable in any case so there is absolutely no danger of making it too tall even if we show more frames in it.

2009-12-09 15:59 VZ, revision 62842

Better handling for asserts in non-main threads. Don't call wxTrap() when an assert in a non-main thread fails. As asserts are now always enabled by default, this is not a good idea. Instead just show the full details about the assert failure using wxMessageOutputDebug under the platforms without MT-safe message box function (i.e. everything but MSW currently). Add a possibility to test an assert happening in non-main thread to the except sample.

2009-12-09 15:59 VZ, revision 62841

No real changes, just remove __WXDEBUG__ tests. These tests are unnecessary now because asserts are almost always enabled. We could test for wxDEBUG_LEVEL but the code still compiles even if it's defined as 0 so there doesn't seem to be any need for it.

2009-12-09 15:58 VZ, revision 62840

Override OnAssertFailure() and not deprecated OnAssert() in except sample. Also make the overridden version more interesting instead of just calling the base class method from it.

2009-12-09 14:45 VZ, revision 62839

Document that wxTrap() now traps [almost] always. Don't mention the words "release mode" as there is no such thing now, instead refer to wxDEBUG_LEVEL explicitly.

2009-12-09 14:40 VZ, revision 62838

Add wxSymbian-specific headers and sources and build files. Patch by Andrei Matuk. Closes #11489.

2009-12-09 14:31 VZ, revision 62837

Explicitly link the SDK application example with user32.lib. As this sample uses GUI Windows functions, it requires this library. Not sure why it isn't added by bakefile automatically for app-type==gui target.

2009-12-09 14:27 VZ, revision 62836

STL build compilation fix. Explicitly cast wxWindowBase pointer to wxWindow before passing it to wxWindowList::Find().

2009-12-09 09:21 SC, revision 62835

support for getting current event loop on iPhone

2009-12-09 08:38 SC, revision 62834

avoiding string conversions on 1st param of wxStat, as the latter is having a param of wxString now always and does the conversion internally

2009-12-09 08:29 SC, revision 62833

using on all OSX variants

2009-12-09 08:28 SC, revision 62832

fixing toolbar support, adding iphone

2009-12-09 08:27 SC, revision 62831

make sure it is compilable w/o menus (eg on iPhone)

2009-12-09 08:26 SC, revision 62830

remove workaround

2009-12-09 08:24 SC, revision 62829

avoid double define warnings

2009-12-09 06:25 KO, revision 62828

Add OSX prefix, and be clear that this is OS X only API to avoid any expectation that this API may work elsewhere.

2009-12-08 17:36 VZ, revision 62825

Use X64 machine type for MSVC linker instead of old AMD64. The officially supported machine type name is X64 now, even if AMD64 is still supported. Closes #10711.

2009-12-08 17:35 VZ, revision 62824

Fix duplicate accelerator use in animate sample. Both "Play" and "Stop" used Ctrl+P. Closes #11425.

2009-12-08 17:35 VZ, revision 62823

Make wxPORTRAIT and wxLANDSCAPE elements of wxPrintOrientation enum. Change wxPrintData::SetOrientation() to take wxPrintOrientation instead of int. Closes #11393.

2009-12-08 16:56 VZ, revision 62822

Visually show the cells boundaries in layout sample grid sizer test. Closes #11456.

2009-12-08 16:56 VZ, revision 62821

Don't override DoGetBestSize() in wxGenericStaticText, it's unnecessary. The base class already does exactly the same thing -- except that it also accounts for the borders properly. Also fix access for a couple of DoXXX() member functions which should be protected and an event handler which can be private.

2009-12-08 16:56 VZ, revision 62820

Implement wxWindow::DoGetBorderSize() in the trivial case of wxBORDER_NONE. This fixes an assert in wxGenericStaticText which overrode DoGetBestClientSize() but not DoGetBorderSize(). It would still be useful to implement DoGetBorderSize() in wxGTK (and other ports) in general too as using wxGenericStaticText with non-default border still doesn't work.

2009-12-08 16:56 VZ, revision 62819

Fix unused parameter warning after last commit (r62818).

2009-12-08 16:36 VZ, revision 62818

Fix event object in wxSysColourChangedEvent. The handler for this event in the base class incorrectly changed the event object of the original event instead of setting it for the event being sent to the window children as it was supposed to. Closes #11458.

2009-12-08 16:24 VZ, revision 62817

Don't set the initial size as minimal size for top level windows. Correct the change of r62814: only call SetMinSize() for non-top-level windows as the user should be able to resize the top-level ones to be smaller than their initial size. This also fixes the GTK+ warning resulting from calling wxTLW::SetMinSize() from the ctor, before the window is realized.

2009-12-08 15:07 JS, revision 62816

Speed up adding pages during freezing

2009-12-08 15:07 JS, revision 62815

Speed up adding pages during freezing

2009-12-08 00:37 VZ, revision 62814

Set initial window size as its minimal size. The change of r62306 broke the code which relied on the window created with a given initial size to never become smaller than this size. This was to be expected because the best size of such window is now (1, 1) and not its initial size but we still need to preserve the old behaviour for compatibility and also because it usually does make sense to avoid shrinking the window with an explicitly specified initial size beneath this value. So call SetMinSize() with the initial size explicitly now in wxWindowBase ctor.

2009-12-07 18:03 VZ, revision 62813

Reset wxTheApp when starting to destroy the object it points to. Using wxTheApp when the corresponding object is already half destroyed can't be a good idea so reset it to NULL as soon as possible. Closes #11525.

2009-12-07 17:27 VZ, revision 62812

Add a very simple example of a Win32 application using wx DLL.

2009-12-07 17:27 VZ, revision 62811

Use __declspec(dllexport) instead of WXEXPORT in dll sample header. This header can be included from non-wx code so we can't use wx symbols in it.

2009-12-07 16:26 VZ, revision 62810

Document wxListCtrl::FindItem() return value. In particular mention that it returns -1 if no items were found. Closes #11523.

2009-12-07 16:23 JS, revision 62809

Don't crash if no document

2009-12-07 16:22 JS, revision 62808

Don't crash if no document

2009-12-07 16:06 JS, revision 62807

Safer access of member variables

2009-12-07 16:05 JS, revision 62806

Safer access of member variables

2009-12-07 14:37 VZ, revision 62805

Generate erase background events for native controls too under MSW. Remove the test which prevented the generation of erase background events from wxMSW::wxWindow::HandleEraseBkgnd(). Although it is true that native controls mostly erase background on their own, there are exceptions: we must erase the background of wxToolBar ourselves, for example. More importantly, there is no reason to prevent the user code from defining wxEVT_ERASE_BACKGROUND handlers for the native controls as this works just fine under MSW (although it doesn't under GTK nor probably other ports...). So also add a test erase background handler to the toolbar sample to verify that this does work. Closes #11514.

2009-12-07 06:01 VZ, revision 62804

Use white background by default for multiline readonly wxTextCtrl under MSW. The best default behaviour seems to be to use white background for multiline text controls even when they're read-only, as in previous wx versions. Also see #11521 which could be implemented to make this configurable.

2009-12-07 06:01 VZ, revision 62803

Move wxMSW wxTextCtrl::GetDefaultAttributes() to wxTextCtrlBase. This commit doesn't introduce any changes in the control behaviour, it simply moves the existing method to the base class because it is not MSW-specific. Also implement wxTextCtrlBase::GetClassDefaultAttributes() because if a class implements GetDefaultAttributes() it should implement it as well.

2009-12-07 04:04 VZ, revision 62802

Define MY_DLL_BUILDING symbol for dll sample DLL build. This is necessary to properly define MY_DLL_DECL as either WXIMPORT or WXEXPORT depending on whether my_dll.h is included from DLL itself or from outside it. Without this, MSVC generated warnings about inconsistent dll linkage.

2009-12-07 04:04 VZ, revision 62801

Add semi-public wxDynamicLibrary::MSWGetModuleHandle(). Rename old private wxGetModuleHandle() function to wxDynamicLibrary:: MSWGetModuleHandle() to allow its use in the dll sample. This fixes the sample compilation with VC6 which lacks GetModuleHandleEx()- related declarations.

2009-12-07 04:04 VZ, revision 62800

Correct placement of calling convention keyword: must follow the return type. Using __stdcall before the return type results in a warning with VC6 and an error with VC9, place it after the return type. Also use wxSTDCALL instead of just __stdcall for potentially better compatibility with other compilers.

2009-12-07 04:04 VZ, revision 62799

Regenerate dll samples makefiles using the correct source file name. The file is called wx_exe.cpp and not dll_user_wx.cpp in the svn, do use the correct name.

2009-12-07 03:20 VZ, revision 62798
  • D /wxWidgets/trunk/samples/dll/dll.dsw
  • D /wxWidgets/trunk/samples/ribbon/ribbon.dsw

Remove a couple of VC6 workspace files for the samples. See r62797.

2009-12-07 03:18 VZ, revision 62797
  • D /wxWidgets/trunk/samples/dll/dll_vc7.sln
  • D /wxWidgets/trunk/samples/dll/dll_vc8.sln
  • D /wxWidgets/trunk/samples/dll/dll_vc9.sln

Remove the MSVC solution files added with the new dll sample. We don't keep solution files in svn for the other samples, there is no reason for this one to be exceptional.

2009-12-07 02:54 KO, revision 62796

Add wxTLW::SetModified to allow apps to set the TLW's dirty state. On Mac this gives us the dot in the close button, not implemented elsewhere yet.

2009-12-06 17:32 KO, revision 62795

Handle deprecated style so we don't assert and then crash.

2009-12-06 16:31 VZ, revision 62794

Restore TAB in accelerator string wrong removed by r62791. See #11512.

2009-12-06 03:30 VZ, revision 62793

Correct two bugs in wxMBConv::FromWChar() with non NUL-terminated strings. The variable "lenChunk" was incorrectly used as the length of the wide string chunk which could result in wrong output. Worse, the output buffer could be overflown for the final chunk because it didn't have to have enough space for the trailing NUL(s) in it. Fix both bugs and added unit tests for them. Based on patch by Kuang-che Wu. Closes #11486.

2009-12-06 03:29 VZ, revision 62792

Minor corrections to ToWChar() comment. Don't refer to the non-existent outputBuf parameter and don't imply that the value of dstLen matters to decide whether we really convert or not -- only whether dst pointer itself is NULL or not does. See #11486.

2009-12-06 03:29 VZ, revision 62791

Use wxAcceleratorEntry::ToString() for undo/redo accelerator labels. Don't hardcode the string representation of the accelerators, it was inconsistent with the rest of wxWidgets which used '-' while here a '+' was used. Closes #11512.

2009-12-06 03:29 VZ, revision 62790

Fix wxFD_CLR() definition for Intel compiler under Linux. wxFD_CLR() should be void, not bool. Closes #11517.

2009-12-05 20:57 PC, revision 62789

minor cleanup

2009-12-05 20:45 PC, revision 62788

remove unused variables, minor cleanup

2009-12-05 20:29 PC, revision 62787

remove -I on nonexistent directory

2009-12-05 20:26 PC, revision 62786

remove unnecessary DoGetBestSize

2009-12-05 20:25 PC, revision 62785

simplify Enable()

2009-12-05 19:54 VS, revision 62784

Added samples/dll for showing how to use wxWidgets to implement a DLL that is used from another application written with a different toolkit (or different wx version).

2009-12-05 18:31 VZ, revision 62783

Implement wxNativeContainerWindow::IsShown() for MSW. Simply use native ::IsWindowVisible() for IsShown() implementation. Closes #11503.

2009-12-05 18:31 VZ, revision 62782

Add support for MSW unique volume names to wxFileName. Recognize the paths starting with "\\?\Volume{GUID}" under MSW and provide a way to test for them. Closes #8874.

2009-12-05 18:30 VZ, revision 62781

Don't lock global mutex when deleting wxThread to avoid deadlocks. Calling out the user-defined wxThread dtor while holding gs_mutexDeleteThread lock is a bad idea as it may result in deadlocks if the dtor deletes another thread. Only lock the mutex directly before manipulating the data it protects. Thanks to Neno Ganchev. Closes #11501.

2009-12-05 18:24 PC, revision 62780

correct parameter type

2009-12-05 15:25 VZ, revision 62779

Don't crash in wxActiveXContainer if FindConnectionPoint() failed. This method is supposed to succeed but don't crash by calling Advise() on NULL pointer if it did not.

2009-12-05 10:05 VS, revision 62778

Documented that wxCriticalSection can be used before wxInitialize(), as a global object.

2009-12-05 02:32 VZ, revision 62777

Fix wxLogChain (and wxLogWindow deriving from it) broken by wxLog changes. wxLogChain::DoLogRecord() only called DoLogRecord() on the old logger but not the new one when the new logger was the same object as wxLogChain itself as is always the case for wxLogWindow. The result was that nothing was logged into the window.

2009-12-03 19:19 JMS, revision 62773

Exit wxPropertyGrid::RecalculateVirtualSize() immediately if it was called before the grid state was initialized.

2009-12-03 19:08 JMS, revision 62772

Handle the rare case where wxPropertyGrid::HandleCustomEditorEvent() may receive event before the grid state has been initialized.

2009-12-03 18:20 PC, revision 62771

make access for virtuals match base

2009-12-03 17:26 VZ, revision 62770

Suppress errors from static bitmap page of widgets sample. Don't fail loudly if the image file is not found (which can happen under Unix if the image sample wasn't built yet or if we're not running the sample from its own directory) but just don't create the bitmap.

2009-12-03 17:26 VZ, revision 62769

Don't assert if the path is not absolute in wxFileDialog::SetPath(). Remove the assert added in r62101 (see #10917), it was wrong as the other ports do not assert in this case. Instead, just ensure that the path we use with the GTK+ native chooser is absolute.

2009-12-02 18:28 PC, revision 62764

make array data fully const

2009-12-02 18:27 PC, revision 62763

use const_cast where appropriate

2009-12-02 17:36 PC, revision 62762

check for self assignment in operator=

2009-12-02 14:27 VZ, revision 62761

Compilation fix after r62754. Don't pass second argument to wxPizza::New() any more in wxStaticBox.

2009-12-02 01:57 BP, revision 62760

Removed hard-coded timer Id in wxAUI for the transparent hint fade functionality. (fixes #11435)

2009-12-01 21:23 BP, revision 62759

Forward-port of r62758 (Added wxHtmlEasyPrinting name accessor and modifier).

2009-12-01 21:21 BP, revision 62758

Added wxHtmlEasyPrinting name accessor and modifier (only one wxHtmlEasyPrinting instance is supposed to be used for multiple printouts).

2009-12-01 18:16 PC, revision 62756

remove m_backing_window member, to keep people from trying to use it

2009-12-01 17:47 VZ, revision 62755

Add wxOSX_10_6_AND_LATER macro and use it. Replace all occurrences of @interface wxFoo : NSFoo #if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_6 <NSProtocol> #endif which we used for protocols new in 10.6 with just @interface wxFoo : NSFoo wxOSX_10_6_AND_LATER(<NSProtocol>) which looks better and simpler.

2009-12-01 17:23 PC, revision 62754

remove unused data member

2009-12-01 01:43 VZ, revision 62753

Define _CRT_NONSTDC_NO_WARNINGS to suppress MSVC warning in libtiff. Defining lfind as _lfind is not enough and a warning C4996 is still generated by MSVC9 when the function is called.

2009-12-01 01:42 VZ, revision 62752

Define _CRT_SECURE_NO_WARNINGS when building 3rd party libs with MSVC. Avoid dozens of warnings about "unsafe" use of the standard C library functions in 3rd party code which are harmless and which we don't care about in any case.

2009-11-30 18:47 SC, revision 62749

using 64bit APIs, closes #10184

2009-11-30 14:17 FM, revision 62748

partially revert changes of r58531 as wxCollapsiblePane currently doesn't work with GTK+ 2.18.3 (altough it does work with GTK+ 2.12.2); all following changes (r58632,58718,61109) should have been preserved

2009-11-30 02:08 KO, revision 62747

orderBack puts it behind all windows in its level, including in other apps, so use orderFront instead.

2009-11-30 01:30 VZ, revision 62746

Fix compilation of image sample with wxUSE_LIBPNG==0. Also don't propose to save the file using the extensions not supported in this library build. Closes #11495.

2009-11-30 01:30 VZ, revision 62745

Fix compilation in wxUSE_STL==1 case broken by r62738. We need to use wxString::c_str() explicitly to convert wxString to const char * in STL build.

2009-11-29 22:46 KO, revision 62744

Make sure we setup the base's Show state correctly and send a show event.

2009-11-29 10:42 JMS, revision 62743

Fixed regression: forgot to set wxPropertyGridPageState::m_anyModified to false in wxPropertyGridInterface::ClearModifiedStatus().

2009-11-28 21:09 KO, revision 62741

Fix needed to allow shaped windows, and other windows without a title bar, to get the focus when clicked under OS X.

2009-11-28 21:05 SC, revision 62740

64bit builds had problems with full circles, as we can use 10.4+ only APIs, use new implementation, fixes #11471

2009-11-28 15:37 VZ, revision 62738

Allow calling wxStrchr() with a narrow string and wide character. Calls to wxStrchr(char-string, wide-char) would previously fail if wide character couldn't be converted to a single character in the current locale encoding. Change it to simply return NULL in this case as it's a safe and useful generalization: a narrow string will never contain a wide character not representable in the current locale. Add wxUniChar::GetAsChar() to help with implementing this. Closes #11487.

2009-11-28 04:37 VZ, revision 62737

Define INVALID_FILE_ATTRIBUTES in filename.cpp too. Fix VC6 compilation: INVALID_FILE_ATTRIBUTES is not defined in its headers so we need to do it ourselves (this was done in filefn.cpp before but part of the code using this constant was moved to filename.cpp in r62735 so now we need to define it here too).

2009-11-28 04:37 VZ, revision 62736

No changes, just remove unnecessary UTF-8 bytes. The patch of #11187 (applied in r61884) unnecessarily used +U2019 which can't be converted to latin1, remove it.

2009-11-28 03:40 VZ, revision 62735

Implement wx{File,Dir}Exists() in terms of wxFileName methods. Use wxFileName from the global functions instead of using global functions in wxFileName methods as wxFileName is the preferred API for all these operations. Closes #11488.

2009-11-28 03:29 VZ, revision 62734

Don't override msw.remap system option value in wxToolbook. Introducing a system option for all toolbars and then ignoring it inside wx itself is ridiculous and just goes to prove that this option itself was a mistake. But as we have it, we should respect whatever value it's set to (which should hopefully be 0 anyhow for most modern systems) instead of overriding it forcefully making the mockery of the whole "option" concept.

2009-11-28 03:29 VZ, revision 62733

Avoid infinite recursion in wxToolbook::OnSize() under wxMSW. Reset m_needsRealizing flag before calling wxToolBar::Realize() as doing this can result in another call to wxToolbook::OnSize() itself. Closes #11942.

2009-11-28 03:28 VZ, revision 62732

Use OUTLINETEXTMETRIC::otmpFamilyName to get wxFont face name from MSW. In spite of the name, we need to use otmpFamilyName member of OUTLINETEXTMETRIC struct and not otmpFaceName to get the font face name: the latter may contain (locale-dependent, so the changes of r62708 didn't work for non-English versions of Windows) "Italic" or "Bold" suffix while the former does not and is what we want. This should really fix the unit test failures, even in French locale.

2009-11-27 22:36 VZ, revision 62731

Compilation fix for wxUSE_CAIRO==0 after last commit. Include wx/graphics.h when wxUSE_CAIRO==0 but wxUSE_GRAPHICS_CONTEXT==1 (as in e.g. MSW builds).

2009-11-27 22:06 VZ, revision 62730

Define wxUSE_CAIRO in wx/chkconf.h to ensure that it's always defined. wxUSE_CAIRO used to be defined only in wx/cairo.h but this header wasn't included by src/common/dcgraph.cpp so the code there was compiled as if we were not using Cairo even when we were (thanks g++ for the warning). Define it in wx/chkconf.h (included from wx/defs.h, i.e. always) now to ensure that not only this bug is fixed but also that it can't happen any more.

2009-11-27 22:05 VZ, revision 62729

Use #ifdef to check for __WXMSW__ and __WXGTK__ and not #if. Using #if doesn't work when symbols are not defined.

2009-11-27 02:47 VZ, revision 62728

Allow changing horizontal alignment of numeric cells in wxGrid. wxGridCellAttr didn't provide any way to query its alignment attributes without falling back to the (always defined) default alignment so the code in wxGridCellNumberRenderer and similar classes simply always used right alignment, Add a new wxGridCellAttr::GetNonDefaultAlignment() function which allows to retrieve the alignment defined in the attribute and use it to use right alignment by default but allow overriding it. Add a test to the sample showing a non right-aligned numeric cell. Incidentally fix a long-standing bug in wxGridCell{DateTime,Enum}Renderers which used wxRIGHT instead of wxALIGN_RIGHT and so were not aligned properly even by default.

2009-11-27 02:47 VZ, revision 62727

Add symbolic constant wxALIGN_INVALID and use it instead of -1 in wxGrid. wxGridCellAttr was using literal -1 to indicate "no alignment" which wasn't immediately obvious, use a new wxALIGN_INVALID (which has the same value) instead.

2009-11-27 00:14 KO, revision 62726

Build fix for OS X <= 10.5.

2009-11-27 00:11 KO, revision 62725

Allow OS X Cocoa (or any OS X port) to override GetBestSize and provide a native OS X Cocoa impl. Also, fix the line ending check under OS X Cocoa, and a sanity check for SetStyle.

2009-11-26 22:52 KO, revision 62724

Add CheckSpelling support for OS X Cocoa, make sure NSTextView-based wxTextCtrls emit EVT_TEXT, and a fix for GetStyle when position == length.

2009-11-26 17:17 VZ, revision 62722

Make wxFileDialog::Set/SetPath() behave consistently. wxFileDialog::GetPath() didn't return the value set by a previous call to SetPath() in wxMSW version. Fix this and also implement SetPath() and SetDirectory() methods in the generic versions in the same way as SetFilename(). Closes #3672.

2009-11-26 17:10 VZ, revision 62721

Fix off by 1 errors in owner-drawn menu drawing code in wxMSW. The label was offset by 1 pixel vertically and the check marks were 1 pixel too wide compared to the native ones under XP, correct this. Closes #11420 (again).

2009-11-26 16:59 VZ, revision 62720

Don't set wxTextAttr font family to invalid value. wxTextAttr::HasFontFamily() shouldn't return true if there is no valid font family in this attribute but this could happen if it was constructed from a font which didn't know its own family. This fixes asserts on the startup of the text sample in wxMSW due to passing wxFONTFAMILY_UNKNOWN to wxFont::SetFamily() when trying to use such invalid attribute later.

2009-11-26 16:59 VZ, revision 62719

Use wxTE_RICH style for the log window in the text sample. This makes it have nicer colour (white instead of grey by default) under MSW and wxTE_RICH was already in the code, just commented out -- it seems it's better to enable it (as it also allows more text to be shown in the control under old Windows versions) than to remove it.

2009-11-26 04:29 VZ, revision 62718

Explicitly set the cursor when showing popup menu on text control in wxMSW. Without this, an I-beam cursor is used when a menu is shown by a rich text control. Set the arrow cursor explicitly to work around this apparent bug in the native control. Closes #11314.

2009-11-26 03:34 VZ, revision 62717

No changes, just avoid overriding GetNativeFontInfoDesc() in wxMSW wxFont. wxFont::GetNativeFontInfoDesc() and GetNativeFontInfoUserDesc() were overridden just to ensure that the font is realized but it makes sense to do it in wxFontRefData::GetNativeFontInfo() itself as detecting the face name won't work if the font is not realized anyhow. And then we don't need these functions at all as the only thing they do is checking that the font is valid when they are called but this can be done in the base class itself as this should happen in all ports (document that this is the case).

2009-11-26 03:33 VZ, revision 62716

Return face name from wxFont::GetNativeFontInfo() under MSW. Retrieve the face name from the system if we don't have it already before returning the native font info. This fixes the currently failing font unit tests.

2009-11-26 02:51 VZ, revision 62715

Improve wxCheckListBox appearance under Vista/Win7. Fix the items alignment and also code cleanup: fix indentation, remove magic numbers &c. Closes #10286.

2009-11-25 15:17 VZ, revision 62713

Correct drawing of check marks for owner-drawn items without bitmaps. Standard check mark was not drawn correctly for check/radio items without bitmaps. Closes #11480.

2009-11-25 15:17 VZ, revision 62712

Correct alignment of menu accelerator strings in owner-drawn menus. Draw them right-aligned as the native menus do. Closes #11479.

2009-11-24 01:02 VZ, revision 62709

Don't use unsafe strcpy() when parsing wxNativeFontInfo. Fix a nice buffer overflow waiting to happen due to the use of wxStrcpy(). Call wxNativeFontInfo::SetFaceName() which uses wxStrlcpy() instead.

2009-11-24 01:02 VZ, revision 62708

Don't return italic/bold suffix from wxFont::GetFaceName() in wxMSW. These suffixes don't make part of the face name in wx API but the native MSW API which we use since r62675 does return them. This made the unit test fail in SettingsTestCase::GlobalFonts() as a face name with such suffix wasn't recognized as a valid face name any more, so simply remove them.

2009-11-24 01:01 VZ, revision 62707

Make the assert in SettingsTestCase::GlobalFonts() more informative. Show the index of the font and the face name which was invalid.

2009-11-24 01:01 VZ, revision 62706

Fix wxListCtrl::GetSubItemRect(wxLIST_RECT_ICON/LABEL) in wxMSW for column 0. Wrong width was returned for the icon or label rectangle when querying the first column. Fix this and add a test to the sample allowing to check this. GetSubItemRect() still returns wrong results for second and subsequent columns, see #11355.

2009-11-24 01:01 VZ, revision 62705

Don't change file access time implicitly when setting it explicitly. wxFileHandle helper class used in wxFileName::SetTimes() under MSW modified the file access time by setting it to the current time because it opened the file in a wrong mode. Closes #10567.

2009-11-24 01:01 VZ, revision 62704

Enable wxGraphicsContext and related classes by default if supported. For MSW, check for gdiplus.h availability when using configure but only support it for MSVC 7+ otherwise. For the other platforms, always support it.

2009-11-23 23:38 VZ, revision 62703

Use theme functions for drawing owner-drawn menus. This makes the menu items with custom attributes or bitmaps look more native, especially on post-XP systems. Closes #11420.

2009-11-23 10:34 JS, revision 62700

Made Unicode the default in symbols dialog.

2009-11-23 10:34 JS, revision 62699

Made Unicode the default in symbols dialog. Fixed wrongly sized symbols dialog.

2009-11-22 12:24 VZ, revision 62698

Define wxNO_RTTI if RTTI support is disabled for g++ or MSVC. For g++ it could have been possible to define wxNO_RTTI in configure itself but it seems better/simpler/more maintainable to do it in C++ code. As for MSVC, we already define wxNO_RTTI correctly if build/msw/makefile.vc is used but not if (modified or rebaked) project files are used and detecting RTTI support in the code is the only way to fix it.

2009-11-22 12:24 VZ, revision 62697

Document that throwing exceptions from wxTimer::Notify() is unsupported. Currently exceptions thrown from this function are not passed to wxApp:: OnExceptionInMainLoop() (unlike exceptions thrown from timer event handlers).

2009-11-22 12:00 SN, revision 62696

Fixed Cut&Paste error in wxTextCtrl::ChangeValue documentation (fixes #11469).

2009-11-21 18:02 SC, revision 62695

making sure creation is setup correctly for wx-frame coordinates into cocoa-content coordinates, fixes #11463

2009-11-21 12:39 JMS, revision 62694

Added a new documentation overview section 'Caveats When Not Using C++ RTTI', describing possible problems with Bind() and wxAny when C++ RTTI is disabled.

2009-11-21 10:28 JMS, revision 62693

Unified meaning of wxTypeIdentifier in RTTI and RTTI-less type info systems; Fixed and added some comments

2009-11-19 23:34 VZ, revision 62692

Fix compilation for some wxMSW configurations. wx/scopeguard.h was not always included when using PCH, so include it in any case, not just #ifndef WX_PRECOMP.

2009-11-19 22:16 JMS, revision 62691

Fixed builds without wxHAS_EVENT_BIND (typeinfo.h include was misplaced)

2009-11-19 20:27 JMS, revision 62690

Added typeinfo.h which implements wxTypeId, using C++ RTTI if available. wxAny and Unbind<>() code are updated to use it. Added and updated related unit tests.

2009-11-19 02:36 VZ, revision 62686

Compilation fix for wxUSE_STL build: another missing _str(). Use utf8_str() to convert wxString to GTK+ string instead of relying on implicit conversion which doesn't exist when wxUSE_STL==1 (and also when using wchar_t-based Unicode build).

2009-11-18 22:01 KO, revision 62683

Fix accidental commit of 2.8 ABI compat. code.

2009-11-18 20:22 KO, revision 62682

Rebake after last commit.

2009-11-18 20:05 KO, revision 62681

Forward port of r60190 (wxMSW Cairo support) to trunk.

2009-11-18 15:01 JS, revision 62680

Fixed #11212 [RichText sample] Assert/Crash when Styles combo box opened Patch by Catalin

2009-11-18 10:56 VZ, revision 62679

Suppress harmless g++ warnings about converting float/double to int. The conversion is done on purpose on these places so just suppress the warning by using explicit casts.

2009-11-18 10:56 VZ, revision 62678

Fix harmless g++ warning about using NULL for non-pointer. PostQueuedCompletionStatus() may be either an int or a pointer, pass 0 instead of NULL when we don't care about its value anyhow.

2009-11-18 04:45 VZ, revision 62677

Fix handling of invalid paths with multiple columns in wxFileName. SplitVolume() didn't handle colons in the initial position correctly which surprised SetPath() and led to accessing an out-of-range string element. Fix SplitVolume() and also add a check to SetPath() itself as it seems like it could be called with a path containing the volume only. Closes #11453.

2009-11-18 04:18 VZ, revision 62676

Remove unnecessary manual face name selection code. The change of r60391 made specifying the face name explicitly unnecessary but left the code which filled "facename" array in wxNativeFontInfo::SetFamily() with face names even though it was never used -- simply remove this code.

2009-11-18 04:18 VZ, revision 62675

Implement wxFont::GetFaceName() to return the face name being really used. Since the change of r60391 empty face name was returned for all fonts created using the standard wxFont constructor (so basically all fonts except for those created from native font info and the default/normal font which we retrieve from the system). Use Windows GetOutlineTextMetrics() function to get the real face name being used independently of the way the font was created.

2009-11-17 21:20 VS, revision 62674

Improved handling of anchors in wxHTML: scroll to better position (patch #11406).

2009-11-17 15:47 VZ, revision 62672

Fix typo in Bind() documentation: s/binded/bound/ Closes #11450.

2009-11-17 15:47 VZ, revision 62671

Explicitly document event types for EVT_CLOSE(). Closes #11445.

2009-11-16 22:57 BP, revision 62670

Backport of r62669 to 2.8 branch. Fix crash when dragging toolbars in wxAuiManager::OnFloatingPaneMoveStart(). (fixes #10170)

2009-11-16 22:55 BP, revision 62669

Fix crash when dragging toolbars in wxAuiManager::OnFloatingPaneMoveStart(). (fixes #10170)

2009-11-16 22:31 RD, revision 62668

Add some missing commas. Fixes #11443

2009-11-16 22:28 RD, revision 62667

Add some missing commas. Fixes #11443

2009-11-16 19:39 RR, revision 62666

Always set focus to the item selected using Select()

2009-11-16 16:03 VZ, revision 62665

Fix wxDataViewRenderer::GetEllipsizeMode() for kDataBrowserTruncateTextMiddle. The value of this constant is 0 so don't test for it using operator "&", it's just the default if no others are specified. Fixes assert on startup of the dataview sample.

2009-11-15 16:07 RR, revision 62664

Maybe fixed assertion when using built-in searching non-string columns

2009-11-15 15:54 RR, revision 62663

Don't use Ctrl-F as it hides a bug

2009-11-15 14:39 RR, revision 62662

Do earlier and better checking for matching actions and data format, hopefully fixes #11201

2009-11-15 13:05 SC, revision 62661

fixing typo for builds < 10.6

2009-11-15 11:29 RR, revision 62660

Disable GTK cast checks in wx code

2009-11-15 10:40 RR, revision 62659

Revert wxFlexGridSizer constr. change

2009-11-15 05:02 PC, revision 62657

look for backtrace() in -lexecinfo, fixes #9783

2009-11-15 02:36 KO, revision 62656

ShowWithoutActivating fix for OS X Cocoa, and also add support for shaped windows at least when the image being drawn has proper alpha/mask set. I'm not sure if we can support it by setting a region on the TLW, as the way to do this in Cocoa is just to make the TLW's background transparent and use alpha in whatever you draw.

2009-11-15 00:15 VZ, revision 62655

Implement support for wxSL_<DIR> in wxGTK, show them better in the sample. Support wxSL_{LEFT,TOP,RIGHT,BOTTOM} in wxGTL version of wxSlider. Make the display of the orientations in the slider page of the widgets sample more clear. Also document wxSL_<DIR> meaning better.

2009-11-15 00:15 VZ, revision 62654

No changes, just removed trailing spaces.

2009-11-15 00:15 VZ, revision 62653

Correct wxSL_VERTICAL addition in r62618. It was incorrectly added to the case label value instead of flags.

2009-11-15 00:14 VZ, revision 62652

Minor corrections to wxSL_LABELS definition and documentation. Use parentheses around the macro expansion to ensure that code like "whatever & ~wxSL_LABELS" still works as expected. Be more explicit in wxSL_LABELS description and mark wxSL_MIN_MAX_LABELS and wxSL_VALUE_LABEL as being new in 2.9.1.

2009-11-14 22:50 RR, revision 62651

Restore ability to create wxFlexGridSizer with 2 params (number of columns and vertical gap)

2009-11-14 20:52 KO, revision 62650

Don't assert when we get wxBG_STYLE_TRANSPARENT.

2009-11-14 20:51 KO, revision 62649

Fix typo that broke compilation and adjust the defines to avoid an empty #if.

2009-11-14 19:56 RR, revision 62648

Hide value label explicitly

2009-11-14 18:34 VZ, revision 62645

Undo test code accidentally committed as part of r62643.