]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
15 years agoCorrect checks for conversion success in wxUniChar.
Vadim Zeitlin [Wed, 30 Sep 2009 00:15:11 +0000 (00:15 +0000)] 
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.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agofix message box icons sizes in wxWindowsArtProvider: they should respect client ID...
Václav Slavík [Tue, 29 Sep 2009 17:04:08 +0000 (17:04 +0000)] 
fix message box icons sizes in wxWindowsArtProvider: they should respect client ID and not be 32x32 all the time

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoRemoved dst buffer delete responsibility from wxAnyValueType::CopyBuffer(), clarified...
Jaakko Salli [Tue, 29 Sep 2009 13:38:20 +0000 (13:38 +0000)] 
Removed dst buffer delete responsibility from wxAnyValueType::CopyBuffer(), clarified documentation regarding it.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years ago#11259: Correction for bad help button on OSX
Julian Smart [Tue, 29 Sep 2009 07:19:38 +0000 (07:19 +0000)] 
#11259: Correction for bad help button on OSX

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoAdded help button
Julian Smart [Tue, 29 Sep 2009 07:15:14 +0000 (07:15 +0000)] 
Added help button

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoContext menu now created in constructor; old context menu deleted when new one set.
Julian Smart [Tue, 29 Sep 2009 06:45:36 +0000 (06:45 +0000)] 
Context menu now created in constructor; old context menu deleted when new one set.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoForward port of r62191 to SVN trunk fixing regression from r37982 (missing ')')....
Bryan Petty [Mon, 28 Sep 2009 23:44:34 +0000 (23:44 +0000)] 
Forward port of r62191 to SVN trunk fixing regression from r37982 (missing ')'). Fixes #11257.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoMoved WinPrinter from private.h to printdlg.cpp.
Julian Smart [Mon, 28 Sep 2009 16:15:34 +0000 (16:15 +0000)] 
Moved WinPrinter from private.h to printdlg.cpp.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agolinking fix for wxUSE_VALIDATORS==0
Paul Cornett [Mon, 28 Sep 2009 15:36:06 +0000 (15:36 +0000)] 
linking fix for wxUSE_VALIDATORS==0

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agobuild fix for wxUSE_SOCKETS==0
Paul Cornett [Mon, 28 Sep 2009 15:35:48 +0000 (15:35 +0000)] 
build fix for wxUSE_SOCKETS==0

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoApplied #9076 (scrolling bars grow box fix)
Julian Smart [Mon, 28 Sep 2009 07:06:14 +0000 (07:06 +0000)] 
Applied #9076 (scrolling bars grow box fix)
By lillo

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoDo not use wxS in array of const wxChar*
Jaakko Salli [Mon, 28 Sep 2009 06:40:26 +0000 (06:40 +0000)] 
Do not use wxS in array of const wxChar*

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agowxUSE_THREAD -> wxUSE_THREADS
Jaakko Salli [Mon, 28 Sep 2009 06:25:44 +0000 (06:25 +0000)] 
wxUSE_THREAD -> wxUSE_THREADS

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoAttempt at compile fix
Julian Smart [Mon, 28 Sep 2009 06:07:43 +0000 (06:07 +0000)] 
Attempt at compile fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoUse long double instead of double in wxAnyValueBuffer, moved alignment-specific value...
Jaakko Salli [Sun, 27 Sep 2009 16:30:26 +0000 (16:30 +0000)] 
Use long double instead of double in wxAnyValueBuffer, moved alignment-specific values into sub-union

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoAdded function and member function pointers in wxAnyValueBuffer to make memory alignm...
Jaakko Salli [Sun, 27 Sep 2009 15:28:06 +0000 (15:28 +0000)] 
Added function and member function pointers in wxAnyValueBuffer to make memory alignment problems even less likely.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoMake sure there are no memory alignment issues with wxAnyValueBuffer
Jaakko Salli [Sun, 27 Sep 2009 14:52:34 +0000 (14:52 +0000)] 
Make sure there are no memory alignment issues with wxAnyValueBuffer

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoDo not process editor control events when propgrid event is currently being processed...
Jaakko Salli [Sun, 27 Sep 2009 14:39:03 +0000 (14:39 +0000)] 
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.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoStore property name and value in wxPropertyGridEvent, keep track of live event instan...
Jaakko Salli [Sun, 27 Sep 2009 14:35:02 +0000 (14:35 +0000)] 
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.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agowxFontProperty: Added support for wxFONTFAMILY_TELETYPE and wxFONTFAMILY_UNKNOWN...
Jaakko Salli [Sun, 27 Sep 2009 11:44:25 +0000 (11:44 +0000)] 
wxFontProperty: Added support for wxFONTFAMILY_TELETYPE and wxFONTFAMILY_UNKNOWN, moved Family child-property to the back.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoApplied modified #10655 (Added Cookie (receive) support to wxHTTP)
Julian Smart [Sat, 26 Sep 2009 19:47:23 +0000 (19:47 +0000)] 
Applied modified #10655 (Added Cookie (receive) support to wxHTTP)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoadding ProcessPendingEvents as ProcessIdle doesn't call it anymore, closes #11132
Stefan Csomor [Sat, 26 Sep 2009 18:50:33 +0000 (18:50 +0000)] 
adding ProcessPendingEvents as ProcessIdle doesn't call it anymore, closes #11132

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoNo real changes, just small cleanup in wxMac wxDVC.
Vadim Zeitlin [Sat, 26 Sep 2009 16:43:44 +0000 (16:43 +0000)] 
No real changes, just small cleanup in wxMac wxDVC.

Use wxDC{Pen,Brush}Changer classes instead of setting/restoring pen and brush
manually.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoUse FWD version of DLL export macro in forward declaration.
Vadim Zeitlin [Sat, 26 Sep 2009 16:43:37 +0000 (16:43 +0000)] 
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".

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoFixed wxDataViewCtrl::Set{Foreground,Background}Colour() to work under GTK too.
Vadim Zeitlin [Sat, 26 Sep 2009 16:43:30 +0000 (16:43 +0000)] 
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.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoDon't hard code white background colour in generic wxDataViewCtrl.
Vadim Zeitlin [Sat, 26 Sep 2009 16:43:19 +0000 (16:43 +0000)] 
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.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoUse default composite controls attributes for wxDataViewCtrl.
Vadim Zeitlin [Sat, 26 Sep 2009 16:43:12 +0000 (16:43 +0000)] 
Use default composite controls attributes for wxDataViewCtrl.

wxDataViewCtrl should use the same colours/fonts as the native list and tree
controls.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoMove wxControl::GetCompositeControlsDefaultAttributes() from MSW to common.
Vadim Zeitlin [Sat, 26 Sep 2009 16:43:06 +0000 (16:43 +0000)] 
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.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoFix harmless warning about -1 to WPARAM conversion.
Vadim Zeitlin [Sat, 26 Sep 2009 16:42:56 +0000 (16:42 +0000)] 
Fix harmless warning about -1 to WPARAM conversion.

This was introduced by the last change to this file in r62058.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoreducing key event handling complexity
Stefan Csomor [Sat, 26 Sep 2009 16:39:33 +0000 (16:39 +0000)] 
reducing key event handling complexity

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoDon't use invalid pen in wxDCImpl::DoGradientFillConcentric().
Vadim Zeitlin [Sat, 26 Sep 2009 13:31:41 +0000 (13:31 +0000)] 
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.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoUse checked bitmap for menu items under Vista.
Vadim Zeitlin [Sat, 26 Sep 2009 13:31:32 +0000 (13:31 +0000)] 
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.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoFix another off-by-1 bug in wxMBConv::ToWChar().
Vadim Zeitlin [Sat, 26 Sep 2009 13:31:27 +0000 (13:31 +0000)] 
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.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoNo changes, just convert file to UTF-8.
Vadim Zeitlin [Sat, 26 Sep 2009 13:31:20 +0000 (13:31 +0000)] 
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).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoRefactor wxStyledTextCtrl to share common file save/load code.
Vadim Zeitlin [Sat, 26 Sep 2009 13:26:16 +0000 (13:26 +0000)] 
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.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoCompilation fix for non-MSW: don't use ProcessCommand().
Vadim Zeitlin [Sat, 26 Sep 2009 13:26:03 +0000 (13:26 +0000)] 
Compilation fix for non-MSW: don't use ProcessCommand().

wxControl::ProcessCommand() is MSW-only, use HandleWindowEvent() to fix
compilation under Unix.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agocleaning up key handling, closes #10406
Stefan Csomor [Sat, 26 Sep 2009 10:39:26 +0000 (10:39 +0000)] 
cleaning up key handling, closes #10406

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoHave wxComboCtrl generate wxEVT_COMMAND_COMBOBOX_DROPDOWN and wxEVT_COMMAND_COMBOBOX_...
Jaakko Salli [Sat, 26 Sep 2009 09:15:29 +0000 (09:15 +0000)] 
Have wxComboCtrl generate wxEVT_COMMAND_COMBOBOX_DROPDOWN and wxEVT_COMMAND_COMBOBOX_CLOSEUP events

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agousing native key handling, closes #10406
Stefan Csomor [Fri, 25 Sep 2009 18:53:38 +0000 (18:53 +0000)] 
using native key handling, closes #10406

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agousing common notification mechanism for selection changes (key or mouse), see #10406
Stefan Csomor [Fri, 25 Sep 2009 16:57:08 +0000 (16:57 +0000)] 
using common notification mechanism for selection changes (key or mouse), see #10406

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoRaise the scrollbars on reparenting (part of patch #9076)
Julian Smart [Fri, 25 Sep 2009 16:15:04 +0000 (16:15 +0000)] 
Raise the scrollbars on reparenting (part of patch #9076)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoApplied #8804 ([wxMac] wxSpinCtrl behaviour)
Julian Smart [Fri, 25 Sep 2009 15:25:25 +0000 (15:25 +0000)] 
Applied #8804 ([wxMac] wxSpinCtrl behaviour)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoApplied #8697 (Improve error detection for MacFindFont )
Julian Smart [Fri, 25 Sep 2009 13:14:31 +0000 (13:14 +0000)] 
Applied #8697 (Improve error detection for MacFindFont )

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoApplied #11238: Wrong text positioning if fonts with different Ascent/Descent ratio...
Julian Smart [Fri, 25 Sep 2009 11:14:11 +0000 (11:14 +0000)] 
Applied #11238: Wrong text positioning if fonts with different Ascent/Descent ratio are on the same line

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoApplied #10007: SetWindowGroupParent hangs in Mac Carbon dialog.cpp
Julian Smart [Fri, 25 Sep 2009 10:11:24 +0000 (10:11 +0000)] 
Applied #10007: SetWindowGroupParent hangs in Mac Carbon dialog.cpp

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoApplied #10753: WarpPointer() for Mac
Julian Smart [Fri, 25 Sep 2009 09:57:41 +0000 (09:57 +0000)] 
Applied #10753: WarpPointer() for Mac

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoApplied #9011: Native wxListCtrl::HitTest on OS X
Julian Smart [Fri, 25 Sep 2009 09:02:04 +0000 (09:02 +0000)] 
Applied #9011: Native wxListCtrl::HitTest on OS X

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoApplied #9520: Fix to allow repeated use of wxFileDialog object
Julian Smart [Fri, 25 Sep 2009 07:51:50 +0000 (07:51 +0000)] 
Applied #9520: Fix to allow repeated use of wxFileDialog object

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoApplied #10858: wxListCtrl on Mac does not route Freeze/Thaw/Update to m_genericImpl
Julian Smart [Fri, 25 Sep 2009 07:45:35 +0000 (07:45 +0000)] 
Applied #10858: wxListCtrl on Mac does not route Freeze/Thaw/Update to m_genericImpl

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoRemoved comment
Julian Smart [Fri, 25 Sep 2009 07:31:01 +0000 (07:31 +0000)] 
Removed comment

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoApplied #9481: submenus for help menu
Julian Smart [Fri, 25 Sep 2009 07:29:59 +0000 (07:29 +0000)] 
Applied #9481: submenus for help menu

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoAdded missing const
Julian Smart [Thu, 24 Sep 2009 20:47:34 +0000 (20:47 +0000)] 
Added missing const

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoApplied #10917: wxGTK wxFileDialog::SetDirectory and ::SetFilename problems
Julian Smart [Thu, 24 Sep 2009 20:36:46 +0000 (20:36 +0000)] 
Applied #10917: wxGTK wxFileDialog::SetDirectory and ::SetFilename problems

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoApplied part of #10034: wxImage::ConvertToDisabled()
Julian Smart [Thu, 24 Sep 2009 20:05:33 +0000 (20:05 +0000)] 
Applied part of #10034: wxImage::ConvertToDisabled()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agowxDateTime timezone functions now dynamic (no caching).
Julian Smart [Thu, 24 Sep 2009 19:13:29 +0000 (19:13 +0000)] 
wxDateTime timezone functions now dynamic (no caching).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoApplied #9668: made wxGetTimeZone() dynamic
Julian Smart [Thu, 24 Sep 2009 19:12:31 +0000 (19:12 +0000)] 
Applied #9668: made wxGetTimeZone() dynamic

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoApplied #11106: wxGenericDirCtrl can get into a state where it will no longer expand
Julian Smart [Thu, 24 Sep 2009 17:04:44 +0000 (17:04 +0000)] 
Applied #11106: wxGenericDirCtrl can get into a state where it will no longer expand

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoApplied #11005: use purple instead of black as default wxHyperlinkCtrl::m_visitedColour
Julian Smart [Thu, 24 Sep 2009 16:46:41 +0000 (16:46 +0000)] 
Applied #11005: use purple instead of black as default wxHyperlinkCtrl::m_visitedColour

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoApplied #10892: Remove wxDocManager instance check
Julian Smart [Thu, 24 Sep 2009 16:25:45 +0000 (16:25 +0000)] 
Applied #10892: Remove wxDocManager instance check

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoApplied #10811: Image in docview sample
Julian Smart [Thu, 24 Sep 2009 16:04:06 +0000 (16:04 +0000)] 
Applied #10811: Image in docview sample

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoApplied #10829: docview sample: enable canvas in --single mode
Julian Smart [Thu, 24 Sep 2009 15:48:00 +0000 (15:48 +0000)] 
Applied #10829: docview sample: enable canvas in --single mode

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoApplied #11236: Event from thread not processed
Julian Smart [Thu, 24 Sep 2009 15:42:18 +0000 (15:42 +0000)] 
Applied #11236: Event from thread not processed

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoApplied #9789: missing wxBORDER_THEME style in XRC
Julian Smart [Thu, 24 Sep 2009 15:36:43 +0000 (15:36 +0000)] 
Applied #9789: missing wxBORDER_THEME style in XRC

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agowxTextCtrl::LoadFile no longer sends a text event, to correct problems with spurious...
Julian Smart [Thu, 24 Sep 2009 14:35:39 +0000 (14:35 +0000)] 
wxTextCtrl::LoadFile no longer sends a text event, to correct problems with spurious modification of documents.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoApplied #10828 (Hourglass in wxDocManager::OnPreview)
Julian Smart [Thu, 24 Sep 2009 13:54:31 +0000 (13:54 +0000)] 
Applied #10828 (Hourglass in wxDocManager::OnPreview)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoApplied: wxDocument: Adding an asterix to the title
Julian Smart [Thu, 24 Sep 2009 13:49:01 +0000 (13:49 +0000)] 
Applied: wxDocument: Adding an asterix to the title

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoApplied better/Win98-proof method of getting edit window
Julian Smart [Thu, 24 Sep 2009 13:33:41 +0000 (13:33 +0000)] 
Applied better/Win98-proof method of getting edit window

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoApplied #10799: using CallTipUseStyle() doesn't enable wxSTC_STYLE_CALLTIP
Julian Smart [Thu, 24 Sep 2009 13:17:14 +0000 (13:17 +0000)] 
Applied #10799: using CallTipUseStyle() doesn't enable wxSTC_STYLE_CALLTIP

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoApplied part of #9115 (STC sample cleanup)
Julian Smart [Thu, 24 Sep 2009 13:08:48 +0000 (13:08 +0000)] 
Applied part of #9115 (STC sample cleanup)
by troelsk

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoApplied #9127: patch to remove blank under wxFrame with Hildon
Julian Smart [Thu, 24 Sep 2009 12:38:07 +0000 (12:38 +0000)] 
Applied #9127: patch to remove blank under wxFrame with Hildon

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoApplied patch #9058 (add Hildon 2.0 support)
Julian Smart [Thu, 24 Sep 2009 12:36:34 +0000 (12:36 +0000)] 
Applied patch #9058 (add Hildon 2.0 support)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoApplying patch #10784: eliminate gauge flicker
Julian Smart [Thu, 24 Sep 2009 10:18:15 +0000 (10:18 +0000)] 
Applying patch #10784: eliminate gauge flicker

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoApplied patch #9510: wxIAccessible access freed memory
Julian Smart [Thu, 24 Sep 2009 10:15:20 +0000 (10:15 +0000)] 
Applied patch #9510: wxIAccessible access freed memory
by Cyball

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoavoiding double define warnings on osx
Stefan Csomor [Thu, 24 Sep 2009 09:54:57 +0000 (09:54 +0000)] 
avoiding double define warnings on osx

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoApplied patch #11078 - DEVMODE creation in wxWindowsPrintNativeData::TransferFrom...
Julian Smart [Thu, 24 Sep 2009 09:54:25 +0000 (09:54 +0000)] 
Applied patch #11078 - DEVMODE creation in wxWindowsPrintNativeData::TransferFrom plus SetQuality to dpi
by Martin Perktold

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agosupport PerformClick for NSControls, closes #11129
Stefan Csomor [Thu, 24 Sep 2009 09:52:04 +0000 (09:52 +0000)] 
support PerformClick for NSControls, closes #11129

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agono focus on Show for toolwindows, closes #10872
Stefan Csomor [Thu, 24 Sep 2009 09:46:00 +0000 (09:46 +0000)] 
no focus on Show for toolwindows, closes #10872

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agodocumenting events that are not available on OSX, closes #10776
Stefan Csomor [Thu, 24 Sep 2009 09:41:39 +0000 (09:41 +0000)] 
documenting events that are not available on OSX, closes #10776

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoremoving unneeded method, closes #11073
Stefan Csomor [Thu, 24 Sep 2009 09:39:38 +0000 (09:39 +0000)] 
removing unneeded method, closes #11073

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoremoving unneeded method, closes #11073
Stefan Csomor [Thu, 24 Sep 2009 09:15:41 +0000 (09:15 +0000)] 
removing unneeded method, closes #11073

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoApplied #10025 (Patch to allow proper sizing of simple combo box)
Julian Smart [Thu, 24 Sep 2009 09:07:13 +0000 (09:07 +0000)] 
Applied #10025 (Patch to allow proper sizing of simple combo box)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoAlternate fix for #9954 (simple combobox assert) except on WinCE which probably shoul...
Julian Smart [Thu, 24 Sep 2009 08:36:25 +0000 (08:36 +0000)] 
Alternate fix for #9954 (simple combobox assert) except on WinCE which probably shouldn't be using a simple combobox anyway

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agosupporting disabled items, closes #11130
Stefan Csomor [Thu, 24 Sep 2009 08:16:15 +0000 (08:16 +0000)] 
supporting disabled items, closes #11130

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agofixing styles, closes #11128
Stefan Csomor [Thu, 24 Sep 2009 08:05:17 +0000 (08:05 +0000)] 
fixing styles, closes #11128

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoApplied #10659 (year change in copyright)
Julian Smart [Thu, 24 Sep 2009 07:42:31 +0000 (07:42 +0000)] 
Applied #10659 (year change in copyright)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoApplied #10639 (Not all previewed fonts are displayed with the correct nameface)
Julian Smart [Thu, 24 Sep 2009 07:35:48 +0000 (07:35 +0000)] 
Applied #10639 (Not all previewed fonts are displayed with the correct nameface)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoFixed compile problem
Julian Smart [Thu, 24 Sep 2009 06:48:27 +0000 (06:48 +0000)] 
Fixed compile problem

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoHandle deprecated background styles correctly in wxMSW.
Vadim Zeitlin [Thu, 24 Sep 2009 00:22:04 +0000 (00:22 +0000)] 
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.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoFix wxGrid compilation with MSVC7.
Vadim Zeitlin [Thu, 24 Sep 2009 00:21:57 +0000 (00:21 +0000)] 
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.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoDisplay correct minimal and maximal pages numbers under OS X.
Vadim Zeitlin [Thu, 24 Sep 2009 00:21:49 +0000 (00:21 +0000)] 
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.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoMinor corrections to sorted arrays documentation.
Vadim Zeitlin [Thu, 24 Sep 2009 00:21:36 +0000 (00:21 +0000)] 
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.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoExclude binary files from the checks done by the pre-commit hook.
Vadim Zeitlin [Wed, 23 Sep 2009 20:33:34 +0000 (20:33 +0000)] 
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.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agobuild fixes for wxUSE_VALIDATORS==0
Paul Cornett [Wed, 23 Sep 2009 16:32:32 +0000 (16:32 +0000)] 
build fixes for wxUSE_VALIDATORS==0

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoFix bug in the hook which prevented committing makefiles.
Vadim Zeitlin [Wed, 23 Sep 2009 16:00:08 +0000 (16:00 +0000)] 
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.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoSuppress harmless mingw32 warning about unused value.
Vadim Zeitlin [Wed, 23 Sep 2009 14:29:04 +0000 (14:29 +0000)] 
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".

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoExtract default grid header renderers from wxGridCellAttrProvider.
Vadim Zeitlin [Wed, 23 Sep 2009 14:28:55 +0000 (14:28 +0000)] 
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.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoRemove DLL export declaration from wxScrolled.
Vadim Zeitlin [Wed, 23 Sep 2009 14:28:42 +0000 (14:28 +0000)] 
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.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoDon't use deprecated integer mask with wxLogTrace().
Vadim Zeitlin [Wed, 23 Sep 2009 14:28:35 +0000 (14:28 +0000)] 
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.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoAdd ribbon libraries sources to the monolithic build.
Vadim Zeitlin [Wed, 23 Sep 2009 13:16:53 +0000 (13:16 +0000)] 
Add ribbon libraries sources to the monolithic build.

Closes #11231.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoAdded wxRICHTEXT_HANDLER_USE_CSS flag for HTML handler to use CSS
Julian Smart [Wed, 23 Sep 2009 11:05:52 +0000 (11:05 +0000)] 
Added wxRICHTEXT_HANDLER_USE_CSS flag for HTML handler to use CSS
where possible.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775