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

2009-10-06 00:58 VZ, revision 62307

Refactor initialization code in wxTopLevelWindowMSW::Create(). No real changes as the old code was, in fact, correct (although Create() didn't initialize m_parent explicitly, it was still done in AddChild() if the parent was not NUL) but just make it more explicit and clear. Add a new helper wxWindowBase::CreateBase() overload for top level windows, not taking the validator parameter which doesn't apply to them. Also make CreateBase() protected as it is only meant to be called from derived classes Create().

2009-10-06 00:58 VZ, revision 62306

Don't use the current size in DoGetBestSize() by default. Doing this means that a window which was made initially large because no other windows were present or shown will refuse to shrink to make space for them later even if it doesn't need to be that large. The issue was masked under MSW and GTK because the first size event under these ports is sent so early that the top level parent window is not realized yet and has default size of 20*20 pixels meaning that its children will cache their initial (very small) size as their best size, but it was very visible under OS X where the initial layout is done using the real top level window size and broke wxInfoBar showing in the dialogs sample, for example.

2009-10-06 00:58 VZ, revision 62305

Make wxWindow::ShowWithEffect() synchronous under wxOSX/Cocoa. As explained in the previous commit, while Cocoa support asynchronous animation, wx API doesn't really, so block in Cocoa implementation of ShowWithEffect() until the animation terminates for compatibility with wxMSW and hence expectations of the existing code.

2009-10-06 00:57 VZ, revision 62304

Implement wxWindow::ShowWithEffect() for wxOSX/Cocoa. This version animates the window asynchronously and is being checked in just to preserve it in svn if we later decide to return to this semantics. It will be replaced by synchronous animation in the next commit.

2009-10-06 00:57 VZ, revision 62303

Added a virtual wxWindow::OSXGetViewOrWindow() method. This can be used to retrieve either an NSView for child windows or NSWindow for non-owned ones without resorting to dynamic casts.

2009-10-06 00:57 VZ, revision 62302

Determine the appropriate show effect automatically in wxInfoBar. Slide the info bar from top or bottom of the parent window depending on its location.

2009-10-06 00:57 VZ, revision 62301

Remove the hack with changing the parent background colour in wxInfoBar. Finding the closest info bar to copy the background colour from only worked for very simple layouts and failed for more complicated ones with nested sizers so don't try to change the colour automatically, it's easy enough to do it manually as shown in the updated dialogs sample.

2009-10-06 00:57 VZ, revision 62300

Implement DrawTitleBarBitmap() for OS X using hard coded PNG images. Use a simple implementation working under all OS X versions, including 10.4 which doesn't have standard system images for the close button. Added the images themselves under art/osx and png2c.py helper script to convert them to a form used in C++ code.

2009-10-06 00:57 VZ, revision 62299

Return smaller images for wxART_MENU/BUTTON under OS X. Requesting images with client id of wxART_MENU/BUTTON used to return the large 32*32 icons because GetNativeSizeHint() wasn't implemented for these client ids. Moreover, under Mac some icons (notably message box ones) are created from the corresponding icon bundle and the code in wxArtProvider::GetBitmap() didn't resize them correctly in this case, fix this.

2009-10-06 00:57 VZ, revision 62298

Use wxART_BUTTON instead of wxART_MENU for info bar icons. wxART_BUTTON seems to be more appropriate, although in practice this doesn't make any difference.

2009-10-06 00:57 VZ, revision 62297

Make info bar buttons smaller. This looks better under Mac OS X (and currently has no effect under the other platforms).

2009-10-06 00:57 VZ, revision 62296

Use wxRendererNative::DrawTitleBarBitmap() for info bar close button. If supported by the current platform, draw natively-looking close button using multiple bitmaps for normal, pressed and current stats. Otherwise fall back on the old wxArtProvider-based bitmap.

2009-10-06 00:57 VZ, revision 62295

Added wxRendererNative::DrawTitleBarBitmap(). This is currently only implemented for wxMSW as there is no advantage to use a generic implementation compared to using wxArtProvider directly under the other ports. But for MSW this allows to have perfectly natively looking titlebar-like buttons.

2009-10-06 00:56 VZ, revision 62294

Replaced GraphicsHDC from src/msw/renderer.cpp with wxDC::GetTempHDC(). wxDC::GetTempHDC() method provides a convenient and safe way to retrieve HDC from a wxDC object, whether it is using GDI or GDI+. It is implemented using (MSW-specific) virtual functions in wxDC and so doesn't need ugly hacks like wxDynamicCast which were used in src/msw/renderer.cpp to achieve the same effect. Also, we now use GetTempHDC() consistently in all wxMSW rendering methods as the old GraphicsHDC was only used in some of them meaning that many methods didn't work at all with wxGCDC.

2009-10-06 00:56 VZ, revision 62293

Refactor wxRendererXP button drawing methods. Avoid code duplication in wxRendererXP as well and fix a bug in DrawRadioBitmap() which incorrectly drew it in hot state when it was disabled but wxCONTROL_CURRENT was specified.

2009-10-06 00:56 VZ, revision 62292

Implement wxRenderer::DrawRadioBitmap() for classic MSW renderer. Clean up the functions added in r57313: - Versions using wxUxThemeEngine should be in wxRendererXP - Provide implementation using DrawFrameControl() in wxRendererMSW too - Refactor the code to avoid triplication in wxRendererMSW

2009-10-06 00:56 VZ, revision 62291

Add demonstration of flags to the render sample. Allow to select the flags to pass to DrawXXX() functions.

2009-10-06 00:56 VZ, revision 62290

Add demonstration of a few more wxRenderer methods. Also show the effect of calling several more DrawXXX() methods in the sample.

2009-10-06 00:56 VZ, revision 62289

Correct custom renderer method override example in the sample. The implementation of DrawHeaderButton() in MyRenderer should restore the text foreground colour and brush to avoid messing up drawing done after it.

2009-10-06 00:56 VZ, revision 62288

Don't use possibly uninitialized pen in wxMSWDCImpl. Check that m_pen is valid before checking if it is transparent in DoDrawRoundedRectangle() too (this was already done in DoDrawRectangle() in r53150).

2009-10-06 00:56 VZ, revision 62287

Don't use themed border for the generic info bar. Since the switch to deriving from wxControl instead of wxWindow, the info bar gained a themed border which doesn't look nice for it, especially when it is shown progressively, as happens under Windows. Restore the old behaviour by overriding GetDefaultBorder() to return wxBORDER_NONE for it. This doesn't look perfect neither however, we may want to draw a separator line between it and the parent window ourselves as even wxBORDER_SIMPLE looks too heavy for it (and there should be definitely no border on its sides as it always touches the parent window edges).

2009-10-06 00:56 VZ, revision 62286

Ensure that info bar message uses the set font/colours in wxGTK. Propagate the font and colours set on wxInfoBar window itself to its label in the native GTK implementation.

2009-10-06 00:56 VZ, revision 62285

No real changes, just inline wxSuspendStyleEvents. wxSuspendStyleEvents helper class was used in one place only and the code is more clear if its ctor and dtor are inlined directly into DoApplyWidgetStyle() itself instead of being located far away from it. Also, we only need to suppress the events for top level windows so don't bother doing anything at all when changing styles for m_widget and not m_wxwindow.

2009-10-06 00:56 VZ, revision 62284

Added wxInfoBar::Dismiss(). Add a method to conveniently hide the info bar and update the parent layout.

2009-10-06 00:55 VZ, revision 62283

Use more native appearance in the generic wxInfoBar implementation. Use default font for the text and left align it instead of centering. Also use smaller bitmaps for the icon and the button.

2009-10-06 00:55 VZ, revision 62282

Added wxART_CLOSE art id. This id corresponds to the close button bitmap. Currently only wxGTK returns a natively-looking button from here, MSW and OS X versions will be added later.

2009-10-06 00:55 VZ, revision 62281

Added wxArtProvider::GetMessageBoxIconId(). This function translates between wxICON_XXX constants and wxART_YYY values. It was extracted from the existing GetMessageBoxIcon().

2009-10-06 00:55 VZ, revision 62280

Only show the default close button in wxInfoBar if there are no others. Assume that user-added buttons can be already used to close the message so don't show the default close button if any were added.

2009-10-06 00:55 VZ, revision 62279

Generate the button clicks in GTK version of wxInfoBar. Also add an example of handling info bar buttons events to the sample and mention that this must be done using Connect() or by deriving from wxInfoBar in the documentation.

2009-10-06 00:55 VZ, revision 62278

Use event tables instead of Connect() in wxInfoBarGeneric. This allows to handle events from the info bar buttons in the derived classes using the event tables while if the base class used Connect(), the derived classes static event handlers would be never executed.

2009-10-06 00:55 VZ, revision 62277

Add wxInfoBar::RemoveButton() method. Also change the GTK implementation to use a separate wxInfoBarGTKImpl to store its data, this object won't be even allocated if a generic implementation is used under GTK.

2009-10-06 00:55 VZ, revision 62276

Added native wxInfoBar implementation for wxGTK. Straightforward implementation of wxInfoBar using GtkInfoBar widget available in GTK+ 2.18. Some side effects of this change: - Rename wxInfoBar version in wx/generic/infobar.h to wxInfoBarGeneric and define wxInfoBar in wx/infobar.h. - Also change default value of flags argument to ShowMessage() to wxICON_INFORMATION from wxICON_NONE as the default colour for wxICON_NONE messages is surprisingly ugly in GTK native version.

2009-10-06 00:55 VZ, revision 62275

Add wxWindowGTK::GTKConnectWidget() helper. This trivial wrapper function allows to omit "m_widget" and "this" arguments when calling g_signal_connect().

2009-10-06 00:54 VZ, revision 62274

Small code cleanup in wxWindowGTK::PostCreation(). No real changes, just check for 2.8.0 GTK+ version once instead of doing it twice in a row.

2009-10-06 00:54 VZ, revision 62273

Added GTKShouldConnectSizeRequest() to prevent size_request handling. Don't hard code the exception for GtkFileChooserButton in wxWindow::PostCreation() in wxGTK, handling size_request signal also breaks other controls (e.g. upcoming wxInfoBar native implementation). Instead, define a virtual function which may be overridden to return false if size_request shouldn't be connected.

2009-10-06 00:54 VZ, revision 62272

No real changes, just removed unnecessary SetInitialSize() call. wxControl::PostCreation() already calls SetInitialSize() so there is no need to call it explicitly in wxHyperlinkCtrl::Create().

2009-10-06 00:54 VZ, revision 62271

Extract conversion from wx to GtkMessageType in a separate file. Add wxGTKImpl::ConvertMessageTypeFromWX() function to convert from wxICON_XXX styles to GTK_MESSAGE_XXX values. This will be reused by wxInfoBar in the next commits.

2009-10-06 00:54 VZ, revision 62270

Added wxInfoBar::AddButton(). Allow adding custom buttons to wxInfoBar and show this in the sample.

2009-10-06 00:54 VZ, revision 62269

Made wxInfoBar::SetFont() change the text message font.

2009-10-06 00:54 VZ, revision 62268

Initial wxInfoBar implementation. Add generic implementation, documentation and examples showing the use of the new class in the samples.

2009-10-06 00:53 VZ, revision 62267

Added wxSHOW_EFFECT_NONE. Calling Show/HideWithEffect() with this effect is the same as calling just the normal Show/Hide(). This is convenient as it allows to use the same API, whether with effects or without them.

2009-10-06 00:53 VZ, revision 62266

Added wxICON_NONE to wxICON_MASK. Absence of icon is also an icon flag.

2009-10-06 00:53 VZ, revision 62265

Store canvas attributes in the canvas itself in the dialogs sample. Simplify the code by not transferring font and colours between canvas and wxTheApp but use canvas font and colours directly instead.

2009-10-06 00:53 VZ, revision 62264

Minor cleanup and copyright updates in the dialogs sample. No real changes otherwise.

2009-10-06 00:53 VZ, revision 62263

Use member variable instead of a global in the dialogs sample. Made MyCanvas member of MyFrame instead of using a global variable which was put inside the frame by wxApp.

2009-10-06 00:53 VZ, revision 62262

Partially implement wxTextCtrl::GetStyle() in wxGTK. Support retrieving the (both foreground and background) colours for the given position. Closes #11281.

2009-10-05 18:11 KO, revision 62261

Fix the line endings to be CRLF after the property change.

2009-10-05 17:12 KO, revision 62260

Setting eol-style property to CRLF for some project files.

2009-10-05 16:50 JJ, revision 62259

configure stc support for OpenVMS

2009-10-05 11:13 JJ, revision 62258

set up for OpenVMS richtext & regex and add more samples in compile cascade

2009-10-04 23:19 VS, revision 62255

fixed wxXmlDocument::Save() to interpret the indentstep argument correctly

2009-10-04 21:05 JMS, revision 62254

Changed the ultimate fall-back popup window classes: wxMSW now uses wxFrame, wxMAC uses wxNonOwnedWindow

2009-10-04 02:21 PC, revision 62252

add missing break

2009-10-04 02:00 RD, revision 62251

exclude SWIG generated files from being checked

2009-10-03 21:58 SC, revision 62237

commenting never used code

2009-10-03 18:39 PC, revision 62234

Remove unused global bitmap, which caused crash on startup with wxUSE_XPM==0. Use new pen style enums

2009-10-03 18:37 PC, revision 62233

revert, checked in the wrong file

2009-10-03 18:32 PC, revision 62232

QuickTime is needed by wxBitmap

2009-10-03 18:23 PC, revision 62231

Remove unused global bitmap, which caused crash on startup with wxUSE_XPM==0. Use new pen style enums

2009-10-03 12:43 JMS, revision 62230

Added wxDECLARE_ANY_TYPE(CLS, DECL) and documented for what kind of situation it is intended: wxAny used across DLL and EXE boundaries.

2009-10-03 10:27 JMS, revision 62229

Added change log entries for major new wxPropertyGrid features in wx2.9.1

2009-10-02 21:56 SC, revision 62227

fixing typo

2009-10-02 21:45 SC, revision 62226

adding construction from native bitmaps

2009-10-02 19:51 SC, revision 62225

adding NSImage to CGImageRef conversion

2009-10-02 16:15 JMS, revision 62224

Added note about dangers of adding and deleting items in wxEVT_COMMAND_COMBOBOX_CLOSEUP (works only on wxMSW)

2009-10-02 11:31 JJ, revision 62223

Fix compilation for wxUniversal

2009-10-01 18:06 JMS, revision 62222

Fixed bug: wxEditEnumProperty's initial string value could not be outside the list of choices.

2009-10-01 10:59 SC, revision 62221

fixing setting initial value under osx_cocoa for single line text controls

2009-10-01 02:33 VZ, revision 62218

Don't exit on errors in the pre-commit svn hook. Errors in grep, when it fails to find any changed or updated files, also count so the "set -e" line was causing the hook to reject any commits only deleting files (without any error message).

2009-10-01 02:32 VZ, revision 62217
  • D /wxWidgets/trunk/distrib/msw/splitwise.cpp

Remove old and unused file. We don't use WISE since many years, so remove the source of an utility which was supposed to help with using it. Closes #11270.

2009-09-30 20:25 SC, revision 62216

overriding to allocate an outer autorelease pool

2009-09-30 19:50 SC, revision 62215

fixing text matrix (dataview custom renderer showed problems) and reordering SaveGState

2009-09-30 18:38 VZ, revision 62214

Fix harmless unused parameters warnings. Also assert in the not implemented wxSound methods instead of silently returning false.

2009-09-30 18:18 VZ, revision 62213

Fix calculation of the margins for owner-drawn menu items. Take into account the widths of the bitmaps properly. Closes #11268.

2009-09-30 17:39 PC, revision 62212

use proper signature for callback function

2009-09-30 17:39 VZ, revision 62211

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.

2009-09-30 17:38 PC, revision 62210

build fix for wxUSE_CONSOLE_EVENTLOOP==0

2009-09-30 17:38 PC, revision 62209

build fix for wxUSE_SOCKETS==0

2009-09-30 17:20 SC, revision 62208

support backgroundcolor on osx_cocoa

2009-09-30 08:58 JS, revision 62205

Applied patch #11261 (found a missing '{' in file src/palmos/imaglist.cpp) Martin Ettl

2009-09-30 08:53 JS, revision 62204

Applied #11260 (found a regression while checking in src/motif/menu.cpp with static code analysis tool cppcheck) Marin Ettl

2009-09-30 08:53 JS, revision 62203

Applied #11260 (found a regression while checking in src/motif/menu.cpp with static code analysis tool cppcheck) Marin Ettl

2009-09-30 02:15 VZ, revision 62201

Correct checks for conversion success in wxUniChar. Correct the checks in wxUniChar::From/ToHi8bit() to check for conversion success correctly as it always failed otherwise: wxMBConv::To/FromWChar() conversion functions should return 2, not 1, when conversion of 2 characters succeeded, even if one of them is a NUL. Closes #11243.

2009-09-29 19:04 VS, revision 62199

fix message box icons sizes in wxWindowsArtProvider: they should respect client ID and not be 32x32 all the time

2009-09-29 15:38 JMS, revision 62198

Removed dst buffer delete responsibility from wxAnyValueType::CopyBuffer(), clarified documentation regarding it.

2009-09-29 09:19 JS, revision 62197

#11259: Correction for bad help button on OSX

2009-09-29 09:15 JS, revision 62196

Added help button

2009-09-29 08:45 JS, revision 62195

Context menu now created in constructor; old context menu deleted when new one set.

2009-09-29 08:45 JS, revision 62194

Added context menu accessors; context menu now created in constructor.

2009-09-29 08:36 JS, revision 62193

SetItemFont correction

2009-09-29 01:44 BP, revision 62192

Forward port of r62191 to SVN trunk fixing regression from r37982 (missing ')'). Fixes #11257.

2009-09-29 01:42 BP, revision 62191

Fix regression in r37982 (missing ')'). Fixes #11257.

2009-09-28 18:15 JS, revision 62190

Moved WinPrinter from private.h to printdlg.cpp.

2009-09-28 18:02 JS, revision 62189

Moved WinPrinter from private.h to printdlg.cpp.

2009-09-28 17:36 PC, revision 62188

linking fix for wxUSE_VALIDATORS==0

2009-09-28 17:35 PC, revision 62187

build fix for wxUSE_SOCKETS==0

2009-09-28 12:02 JS, revision 62185

Applied #10560 (Missing wxUSE_CONFIG checks.)

2009-09-28 11:54 JS, revision 62184

Applied #9956 (wxGenericTreeControl: Cache GetTextExtent results to greatly speedup CalculatePositions)

2009-09-28 11:40 JS, revision 62183

Compilation fix

2009-09-28 10:19 JS, revision 62182

Added additional wxSound::Create

2009-09-28 10:12 JS, revision 62181

Applied #10362: wxMac's wxSound doesn't work By Cyball

2009-09-28 09:21 JS, revision 62180

Compile fix on Mac

2009-09-28 09:06 JS, revision 62179

Applied #9076 (scrolling bars grow box fix) By lillo

2009-09-28 08:40 JMS, revision 62178

Do not use wxS in array of const wxChar*

2009-09-28 08:25 JMS, revision 62177

wxUSE_THREAD -> wxUSE_THREADS

2009-09-28 08:07 JS, revision 62176

Attempt at compile fix

2009-09-27 18:30 JMS, revision 62172

Use long double instead of double in wxAnyValueBuffer, moved alignment-specific values into sub-union

2009-09-27 17:28 JMS, revision 62171

Added function and member function pointers in wxAnyValueBuffer to make memory alignment problems even less likely.

2009-09-27 16:52 JMS, revision 62170

Make sure there are no memory alignment issues with wxAnyValueBuffer

2009-09-27 16:39 JMS, revision 62169

Do not process editor control events when propgrid event is currently being processed. Doing otherwise could lead to a crash if application is doing something time-consuming (such as displaying a message box) in the event handler.

2009-09-27 16:35 JMS, revision 62168

Store property name and value in wxPropertyGridEvent, keep track of live event instances, and clear property/grid information in them in wxPropertyGrid dtor. This allows application to relay events for later processing without fear of losing most relevant information within.

2009-09-27 13:44 JMS, revision 62166

wxFontProperty: Added support for wxFONTFAMILY_TELETYPE and wxFONTFAMILY_UNKNOWN, moved Family child-property to the back.

2009-09-27 13:09 JS, revision 62165

Applied #9465 (Error reading GIF with incorrect animation size) By Marc Oldenhof

2009-09-26 22:04 JS, revision 62161

Applied #10190 (WINCE and wxLaunchDefaultBrowserBaseImpl error)

2009-09-26 21:47 JS, revision 62160

Applied modified #10655 (Added Cookie (receive) support to wxHTTP)

2009-09-26 20:50 SC, revision 62159

adding ProcessPendingEvents as ProcessIdle doesn't call it anymore, closes #11132

2009-09-26 19:47 JS, revision 62158

Applied #10857 (wxGenericListCtrl does not recalculate positions on Thaw nor Update, preventing Refresh)

2009-09-26 19:09 JS, revision 62157

Applied #10029: Incorrect _MOTIF_WM_HINTS set for borderless top-level windows

2009-09-26 18:43 VZ, revision 62156

No real changes, just small cleanup in wxMac wxDVC. Use wxDC{Pen,Brush}Changer classes instead of setting/restoring pen and brush manually.

2009-09-26 18:43 VZ, revision 62155

Use FWD version of DLL export macro in forward declaration. Forward declarations must use WXDLLIMPEXP_FWD_XXX and not WXDLLIMPEXP_XXX to avoid g++ warnings about "type attributes are honored only at type definition".

2009-09-26 18:43 VZ, revision 62154

Fixed wxDataViewCtrl::Set{Foreground,Background}Colour() to work under GTK too. Implement DoApplyWidgetStyle() in wxGTK version of wxDataViewCtrl to propagate the main window style to the GtkTreeView which is what the user mostly sees.

2009-09-26 18:43 VZ, revision 62153

Don't hard code white background colour in generic wxDataViewCtrl. wxDataViewMainWindow::OnPaint() always used the white brush to erase the control background which was wrong, change it to use the background colour of the control. Also add tests for setting wxDataViewCtrl foreground and background colours to the dataview sample.

2009-09-26 18:43 VZ, revision 62152

Use default composite controls attributes for wxDataViewCtrl. wxDataViewCtrl should use the same colours/fonts as the native list and tree controls.

2009-09-26 18:43 VZ, revision 62151

Move wxControl::GetCompositeControlsDefaultAttributes() from MSW to common. This function is not MSW-specific and should be used in generic implementation of controls such as wxListCtrl, wxTreeCtrl and wxDataViewCtrl. Even if it is needed by MSW only now, move it to the common code to avoid #ifdefs in these controls code.

2009-09-26 18:42 VZ, revision 62150

Fix harmless warning about -1 to WPARAM conversion. This was introduced by the last change to this file in r62058.

2009-09-26 18:39 SC, revision 62149

reducing key event handling complexity

2009-09-26 18:27 JS, revision 62148

Backported #10813: wxGTK: Clipboard stops working after some hours

2009-09-26 15:31 VZ, revision 62143

Don't use invalid pen in wxDCImpl::DoGradientFillConcentric(). The old code stored the original colour of m_pen before changing it and restored it on exit but this didn't work if the pen was invalid to start with. Just store the pen itself instead, this works in any case. Closes #11235.

2009-09-26 15:31 VZ, revision 62142

Use checked bitmap for menu items under Vista. The normal (unchecked) bitmap was always used for the menu items under Vista, fix this and do use the checked bitmap if needed. Closes #11244.

2009-09-26 15:31 VZ, revision 62141

Fix another off-by-1 bug in wxMBConv::ToWChar(). When converting a fixed number of characters we need to take any NULs inside the buffer being converted into account for our return value -- but this wasn't done and converting 2 characters 'x' and '\0' returned only 1, even if the length 2 was explicitly specified. Fix this bug and add a unit test checking for it.

2009-09-26 15:31 VZ, revision 62140

No changes, just convert file to UTF-8. All files in svn are supposed to use UTF-8 now so convert this one to UTF-8 too before committing more changes to it (which would be otherwise rejected by pre-commit hook).

2009-09-26 15:26 VZ, revision 62139

Refactor wxStyledTextCtrl to share common file save/load code. Keep the code for saving and loading text contents from files in a single place instead of doing it differently in wxTextCtrl and wxStyledTextCtrl. This required adding Set/GetValue() methods to wxTextAreaBase just so that its DoLoad/SaveFile() could use them, even if they are the same as wxTextEntryBase methods and are overridden in wxTextCtrlBase to be implemented in terms of the latter. Notice that wxRichTextCtrl might need to be refactored to use this code too in the future. Also notice that this reverts the change of r62081 which replaced SetValue() with ChangeValue() in DoLoadFile() as wxTextAreaBase only has SetValue() and it's not worth adding ChangeValue() to it too just to preserve this recent change in behaviour. Closes #10715.

2009-09-26 15:26 VZ, revision 62138

Compilation fix for non-MSW: don't use ProcessCommand(). wxControl::ProcessCommand() is MSW-only, use HandleWindowEvent() to fix compilation under Unix.

2009-09-26 12:39 SC, revision 62137

cleaning up key handling, closes #10406

2009-09-26 11:15 JMS, revision 62136

Have wxComboCtrl generate wxEVT_COMMAND_COMBOBOX_DROPDOWN and wxEVT_COMMAND_COMBOBOX_CLOSEUP events

2009-09-26 01:17 JS, revision 62135

Compile correction

2009-09-25 20:53 SC, revision 62134

using native key handling, closes #10406

2009-09-25 18:57 SC, revision 62133

using common notification mechanism for selection changes (key or mouse), see #10406

2009-09-25 18:15 JS, revision 62132

Raise the scrollbars on reparenting (part of patch #9076)

2009-09-25 18:15 JS, revision 62131

Raise the scrollbars on reparenting (part of patch #9076)

2009-09-25 17:50 JS, revision 62130

Fixed compilation for no CG mode

2009-09-25 17:25 JS, revision 62129

Applied #8804 ([wxMac] wxSpinCtrl behaviour)

2009-09-25 17:24 JS, revision 62128

Applied #8804 ([wxMac] wxSpinCtrl behaviour)

2009-09-25 17:07 JS, revision 62127

Warning fix

2009-09-25 16:32 JS, revision 62126

Applied part of #9142 (wxMac: Fixes missing translation of "Window" menu name)

2009-09-25 15:39 JS, revision 62125

Backported equivalent of patch #10835 (Make Carbon ShowModal work with IMPLEMENT_APP_NO_MAIN)

2009-09-25 15:23 JS, revision 62124

Applied #9140 (wxMac: Calculate size of bitmaps correctly when w or h is 0)

2009-09-25 15:14 JS, revision 62123

Applied #8697 (Improve error detection for MacFindFont )

2009-09-25 15:13 JS, revision 62122

Applied #8697 (Improve error detection for MacFindFont )

2009-09-25 13:59 JS, revision 62121

Backported #10494 (Possible wrong result of sqrt-function in wxDC::DoDrawArc, caused by integer-overflow)

2009-09-25 13:14 JS, revision 62120

Applied #11238: Wrong text positioning if fonts with different Ascent/Descent ratio are on the same line

2009-09-25 13:14 JS, revision 62119

Applied #11238: Wrong text positioning if fonts with different Ascent/Descent ratio are on the same line

2009-09-25 12:11 JS, revision 62118

Applied #10007: SetWindowGroupParent hangs in Mac Carbon dialog.cpp

2009-09-25 12:11 JS, revision 62117

Applied #10007: SetWindowGroupParent hangs in Mac Carbon dialog.cpp

2009-09-25 11:57 JS, revision 62116

Applied #10753: WarpPointer() for Mac

2009-09-25 11:57 JS, revision 62115

Applied #10753: WarpPointer() for Mac

2009-09-25 11:18 JS, revision 62114

Applied #10356: Duplicate help menu in wxMac as a plugin

2009-09-25 11:06 JS, revision 62113

Applied #9011: Native wxListCtrl::HitTest on OS X

2009-09-25 11:02 JS, revision 62112

Applied #9011: Native wxListCtrl::HitTest on OS X

2009-09-25 10:35 JS, revision 62111

Changed order of calls to avoid crash after deletion of window in kill focus event

2009-09-25 09:52 JS, revision 62110

Applied #9520: Fix to allow repeated use of wxFileDialog object

2009-09-25 09:51 JS, revision 62109

Applied #9520: Fix to allow repeated use of wxFileDialog object

2009-09-25 09:45 JS, revision 62108

Applied #10858: wxListCtrl on Mac does not route Freeze/Thaw/Update to m_genericImpl

2009-09-25 09:31 JS, revision 62107

Removed comment

2009-09-25 09:29 JS, revision 62106

Applied #9481: submenus for help menu

2009-09-25 09:29 JS, revision 62105

Applied #9481 - submenus for help menu

2009-09-25 09:17 SC, revision 62104

make sure build script for copying setup.h doesn't get lost, fixes #11193

2009-09-24 22:47 JS, revision 62103

Added missing const

2009-09-24 22:41 JS, revision 62102

Applied #10546: GTK support for multi-colored wxCursor

2009-09-24 22:36 JS, revision 62101

Applied #10917: wxGTK wxFileDialog::SetDirectory and ::SetFilename problems

2009-09-24 22:36 JS, revision 62100

Applied #10917: wxGTK wxFileDialog::SetDirectory and ::SetFilename problems

2009-09-24 22:05 JS, revision 62099

Applied part of #10034: wxImage::ConvertToDisabled()

2009-09-24 21:13 JS, revision 62098

wxDateTime timezone functions now dynamic (no caching).

2009-09-24 21:12 JS, revision 62097

Applied #9668: made wxGetTimeZone() dynamic

2009-09-24 21:12 JS, revision 62096

Applied #9668: made wxGetTimeStatic() dynamic

2009-09-24 20:20 JS, revision 62095

Reverted change

2009-09-24 19:04 JS, revision 62094

Applied #11106: wxGenericDirCtrl can get into a state where it will no longer expand

2009-09-24 19:04 JS, revision 62093

Applied #11106: wxGenericDirCtrl can get into a state where it will no longer expand

2009-09-24 18:46 JS, revision 62092

Applied #11005: use purple instead of black as default wxHyperlinkCtrl::m_visitedColour

2009-09-24 18:46 JS, revision 62091

Applied #11005: use purple instead of black as default wxHyperlinkCtrl::m_visitedColour

2009-09-24 18:25 JS, revision 62090

Applied #10892: Remove wxDocManager instance check

2009-09-24 18:04 JS, revision 62089

Applied #10811: Image in docview sample

2009-09-24 17:54 JS, revision 62088

Applied #10860: adding test to show that a list being manipulated inside a long task updates correctly

2009-09-24 17:48 JS, revision 62087

Applied #10829: docview sample: enable canvas in --single mode

2009-09-24 17:42 JS, revision 62086

Applied #11236: Event from thread not processed

2009-09-24 17:42 JS, revision 62085

Applied #11236: Event from thread not processed

2009-09-24 17:36 JS, revision 62084

Applied #9789: missing wxBORDER_THEME style in XRC

2009-09-24 17:36 JS, revision 62083

Applied #9789: missing wxBORDER_THEME style in XRC

2009-09-24 16:36 JS, revision 62082

Applied #10891: ChangeValue instead of SetValue in wxTextCtrlBase::DoLoadFile

2009-09-24 16:35 JS, revision 62081

wxTextCtrl::LoadFile no longer sends a text event, to correct problems with spurious modification of documents.

2009-09-24 16:22 JS, revision 62080

Applied #10069: performance improvement to mime type initialization

2009-09-24 15:54 JS, revision 62079

Applied #10828 (Hourglass in wxDocManager::OnPreview)

2009-09-24 15:54 JS, revision 62078

Applied #10828 (Hourglass in wxDocManager::OnPreview)

2009-09-24 15:49 JS, revision 62077

Applied: wxDocument: Adding an asterix to the title

2009-09-24 15:33 JS, revision 62076

Applied better/Win98-proof method of getting edit window

2009-09-24 15:17 JS, revision 62075

Applied #10799: using CallTipUseStyle() doesn't enable wxSTC_STYLE_CALLTIP

2009-09-24 15:16 JS, revision 62074

Applied #10799: using CallTipUseStyle() doesn't enable wxSTC_STYLE_CALLTIP

2009-09-24 15:08 JS, revision 62073

Applied part of #9115 (STC sample cleanup) by troelsk

2009-09-24 14:38 JS, revision 62072

Applied #9127: patch to remove blank under wxFrame with Hildon

2009-09-24 14:36 JS, revision 62071

Applied patch #9058 (add Hildon 2.0 support)

2009-09-24 12:18 JS, revision 62070

Applying patch #10784: eliminate gauge flicker

2009-09-24 12:18 JS, revision 62069

Applying patch #10784: eliminate gauge flicker

2009-09-24 12:15 JS, revision 62068

Applied patch #9510: wxIAccessible access freed memory by Cyball

2009-09-24 12:15 JS, revision 62067

Applied patch #9510: wxIAccessible access freed memory by Cyball

2009-09-24 11:54 SC, revision 62066

avoiding double define warnings on osx

2009-09-24 11:54 JS, revision 62065

Applied patch #11078 - DEVMODE creation in wxWindowsPrintNativeData::TransferFrom plus SetQuality to dpi by Martin Perktold

2009-09-24 11:52 JS, revision 62064

Applied patch #11078 - DEVMODE creation in wxWindowsPrintNativeData::TransferFrom plus SetQuality to dpi by Martin Perktold

2009-09-24 11:52 SC, revision 62063

support PerformClick for NSControls, closes #11129

2009-09-24 11:46 SC, revision 62062

no focus on Show for toolwindows, closes #10872

2009-09-24 11:41 SC, revision 62061

documenting events that are not available on OSX, closes #10776

2009-09-24 11:39 SC, revision 62060

removing unneeded method, closes #11073

2009-09-24 11:15 SC, revision 62059

removing unneeded method, closes #11073

2009-09-24 11:07 JS, revision 62058

Applied #10025 (Patch to allow proper sizing of simple combo box)

2009-09-24 10:36 JS, revision 62057

Alternate fix for #9954 (simple combobox assert) except on WinCE which probably shouldn't be using a simple combobox anyway

2009-09-24 10:16 SC, revision 62056

supporting disabled items, closes #11130

2009-09-24 10:05 SC, revision 62055

fixing styles, closes #11128

2009-09-24 09:42 JS, revision 62054

Applied #10659 (year change in copyright)

2009-09-24 09:42 JS, revision 62053

Applied #10659 (year change in copyright)

2009-09-24 09:36 JS, revision 62052

Applied #10639 (Not all previewed fonts are displayed with the correct nameface)

2009-09-24 09:35 JS, revision 62051

Applied #10639 (Not all previewed fonts are displayed with the correct nameface)

2009-09-24 08:48 JS, revision 62050

Fixed compile problem

2009-09-24 02:22 VZ, revision 62049

Handle deprecated background styles correctly in wxMSW. Handle wxBG_STYLE_TRANSPARENT as wxBG_STYLE_PAINT and wxBG_STYLE_COLOUR as wxBG_STYLE_ERASE instead of asserting (and almost surely crashing next, as this assert is in the code called when the window is repainted and so will be called again when the assert dialog is shown resulting in reentrant assert). Closes #11208.

2009-09-24 02:21 VZ, revision 62048

Fix wxGrid compilation with MSVC7. Due to what seems a compiler bug, MSVC tries to instantiate objects of abstract wxGridXXXHeaderRenderer classes when compiling operators ?: using references to them. Add explicit static_cast<>s to help it do the right thing. Fixes compilation with this compiler broken in r62037.

2009-09-24 02:21 VZ, revision 62047

Display correct minimal and maximal pages numbers under OS X. Set min and max page fields in m_printDialogData before showing the print dialog in the Mac version. Closes #8349.

2009-09-24 02:21 VZ, revision 62046

Minor corrections to sorted arrays documentation. Mention that Remove() uses binary search for sorted arrays so the item removed by it is not necessarily the first one. Also correct documentation of Index() for sorted arrays which was incorrectly the same as for the normal kind. Closes #11233.

2009-09-23 22:33 VZ, revision 62045

Exclude binary files from the checks done by the pre-commit hook. We shouldn't check that binary files are UTF-8 so determine whether the file is binary by looking at its svn:mime-type and only do the check for the text files.

2009-09-23 18:32 PC, revision 62042

build fixes for wxUSE_VALIDATORS==0

2009-09-23 18:03 VZ, revision 62041

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.

2009-09-23 18:00 VZ, revision 62040

Fix bug in the hook which prevented committing makefiles. If both makefiles and any source files were committed, makefiles were mistakenly added to changed_sources and were flagged as containing TABs.

2009-09-23 16:30 VZ, revision 62039

Create branch ownerdraw-refactor

2009-09-23 16:29 VZ, revision 62038

Suppress harmless mingw32 warning about unused value. Add an explicit cast to void to Header_SetImageList() call to avoid "warning: value computed is not used".

2009-09-23 16:28 VZ, revision 62037

Extract default grid header renderers from wxGridCellAttrProvider. We must be able to use them even when we have no attributes at all and even when we have no associated table, so use default renderers in wxGrid implementation of Draw{Row,Column}Label()/DrawBorder() in this case. Closes #11230.

2009-09-23 16:28 VZ, revision 62036

Remove DLL export declaration from wxScrolled. As this class has only inline methods it doesn't need to be exported from the DLL and actually exporting it results in linking problems when using wxScrolled<wxWindow> (which, unlike wxScrolled<wxPanel>, is not used in wx itself and so doesn't seem to be instantiated) in DLL client even with VC > 6. An alternative solution would be to change WXDLLIMPEXP_TEMPLATE_INSTANCE_CORE macro to explicitly instantiate the template in the DLL even for VC > 6 but this wouldn't solve the problem for wxScrolled<CustomClass> while removing the DLL export declaration should. Also use wxScrolled<wxWindow> in addition to wxScrolled<wxPanel> in the scroll sample to test that it links correctly.

2009-09-23 16:28 VZ, revision 62035

Don't use deprecated integer mask with wxLogTrace(). Use string mask instead of the deprecated wxTraceMessages to fix compilation with WXWIN_COMPATIBILITY_2_8==0. Closes #11229.

2009-09-23 15:16 VZ, revision 62034

Add ribbon libraries sources to the monolithic build. Closes #11231.

2009-09-23 13:06 JS, revision 62033

Added wxRICHTEXT_HANDLER_USE_CSS flag for HTML handler to use CSS where possible.

2009-09-23 13:05 JS, revision 62032

Added wxRICHTEXT_HANDLER_USE_CSS flag for HTML handler to use CSS where possible.

2009-09-23 10:15 JS, revision 62031

Resolved #4842 (accessors for member variables)

2009-09-23 09:53 JS, revision 62030

Fixed #10702 (encoding not used in HTML handler)

2009-09-23 09:53 JS, revision 62029

Fixed #10702 (encoding not used in HTML handler)

2009-09-23 09:45 JS, revision 62028

Compile fix

2009-09-23 09:38 JS, revision 62027

Fix for wrong line placement when centering or right-aligning

2009-09-23 09:38 JS, revision 62026

Fix for wrong line placement when centering or right-aligning

2009-09-22 18:46 JS, revision 62022

Clarified difference between SetInsertionPoint and MoveCaret.

2009-09-22 18:36 JS, revision 62021

Fix for #4696: added SetDefaultStyleToCursorStyle() to SetInsertionPoint() so style is taken from context, not the style at a previous location.

2009-09-22 18:36 JS, revision 62020

Fix for #4696: added SetDefaultStyleToCursorStyle() to SetInsertionPoint() so style is taken from context, not the style at a previous location.

2009-09-22 17:20 JS, revision 62019

Returning WVR_REDRAW triggers Windows bug that moves child windows, so don't use it.

2009-09-22 17:20 JS, revision 62018

Returning WVR_REDRAW triggers Windows bug that moves child windows, so don't use it.

2009-09-22 16:52 JMS, revision 62017

Minor clarifation and typo fix

2009-09-22 16:13 JJ, revision 62016

Include compile support for propgrid & ribbon on OpenVMS