]>
git.saurik.com Git - wxWidgets.git/log
Stefan Csomor [Tue, 23 Feb 2010 17:32:01 +0000 (17:32 +0000)]
proper app shutdown support for iphone
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63542
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Tue, 23 Feb 2010 15:29:10 +0000 (15:29 +0000)]
Set up default property grid unspecified value colour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63540
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Tue, 23 Feb 2010 15:24:50 +0000 (15:24 +0000)]
When drawing wxPropertyGrid check box editor, be consistent with the other editors and use dc.GetTextForeground() for obtaining check box colour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63539
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Mon, 22 Feb 2010 17:04:18 +0000 (17:04 +0000)]
Rename property pending for deletion so it won't be in the way of the user code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63535
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Mon, 22 Feb 2010 16:44:56 +0000 (16:44 +0000)]
Property removal and deletion done from wxPropertyGrid event handler is now postponed to idle event
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63534
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Kevin Ollivier [Mon, 22 Feb 2010 01:56:42 +0000 (01:56 +0000)]
Cocoa text fields and views have their own context menus, so we should use those instead.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63533
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Kevin Ollivier [Fri, 19 Feb 2010 07:01:33 +0000 (07:01 +0000)]
Since wxDialog::Show(false) only calls wxWindow::Show, we must explicitly hide the dialog ourselves.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63522
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Kevin Ollivier [Fri, 19 Feb 2010 07:00:49 +0000 (07:00 +0000)]
Typo fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63521
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Kevin Ollivier [Fri, 19 Feb 2010 03:00:07 +0000 (03:00 +0000)]
Disable sending of events by OS X Combobox during programmatic changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63519
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Tue, 16 Feb 2010 16:24:30 +0000 (16:24 +0000)]
Fixed auto-resizing behavior when double-clicking a splitter; Added wxPropertyGrid::ResetColumnSizes(); wxPropertyGrid::GetSplitterPosition() got splitterIndex argument
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63502
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Tue, 16 Feb 2010 15:38:12 +0000 (15:38 +0000)]
Added wxPropertyGridInterface::GetColumnProportion()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63501
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Tue, 16 Feb 2010 14:15:59 +0000 (14:15 +0000)]
Added missing words in event documentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63499
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Tue, 16 Feb 2010 14:12:23 +0000 (14:12 +0000)]
Document wxEVT_PG_CHANGED
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63498
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Michael Wetherell [Tue, 16 Feb 2010 09:44:08 +0000 (09:44 +0000)]
Add user for buildbot notifications.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63497
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Mon, 15 Feb 2010 17:34:21 +0000 (17:34 +0000)]
Apply new patch fixing problem of IsRunning always returning True. See #11699
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63486
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Kevin Ollivier [Mon, 15 Feb 2010 04:23:49 +0000 (04:23 +0000)]
Implement case-insensitive find and read only support for Cocoa combobox.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63484
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Sun, 14 Feb 2010 15:27:42 +0000 (15:27 +0000)]
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.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63483
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Sun, 14 Feb 2010 14:37:56 +0000 (14:37 +0000)]
Added note about removed member function wxPropertyGrid::CanClose()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63482
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Sun, 14 Feb 2010 14:09:06 +0000 (14:09 +0000)]
Added wxPropertyGridInterface::SetColumnProportion(); wxPG_SPLITTER_AUTO_CENTER window style now supports column counts higher than two.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63481
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Kevin Ollivier [Sat, 13 Feb 2010 06:30:06 +0000 (06:30 +0000)]
Basic support for tooltips under OS X Cocoa.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63477
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 12 Feb 2010 22:47:25 +0000 (22:47 +0000)]
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.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63474
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 12 Feb 2010 22:47:21 +0000 (22:47 +0000)]
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.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63473
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 12 Feb 2010 11:22:43 +0000 (11:22 +0000)]
Ukrainian translations update from Yuri Chornoivan.
Also changed charset from KOI8-U to UTF-8for ease of maintenance.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63471
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Thu, 11 Feb 2010 12:48:29 +0000 (12:48 +0000)]
Make it possible to subclass wxMenuBar in XRC (patch #11679).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63467
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Thu, 11 Feb 2010 12:36:16 +0000 (12:36 +0000)]
Fixed possible buffer overflow in wxXmlResource::GetXRCID() (patch #11715).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63464
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Wed, 10 Feb 2010 16:45:39 +0000 (16:45 +0000)]
Removed most of the propgrid '#ifndef SWIG' pre-compiler conditions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63458
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Wed, 10 Feb 2010 13:31:58 +0000 (13:31 +0000)]
Fixed wxGauge's best size to conform to Windows HIG.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63457
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 10 Feb 2010 11:38:41 +0000 (11:38 +0000)]
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.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63456
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Tue, 9 Feb 2010 09:35:22 +0000 (09:35 +0000)]
support fullscreen display (translucent status) in all 4 orientations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63437
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Tue, 9 Feb 2010 01:34:11 +0000 (01:34 +0000)]
Test m_nowpeer pointer before using it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63434
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Tue, 9 Feb 2010 01:33:44 +0000 (01:33 +0000)]
Set Id and EventObject for wxSetCursorEvent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63433
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Tue, 9 Feb 2010 01:32:21 +0000 (01:32 +0000)]
Ignore the time portion of the datetime object when setting the date.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63432
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Tue, 9 Feb 2010 01:24:22 +0000 (01:24 +0000)]
Remove functions duplicated in dnd_osx.cpp.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63431
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Mon, 8 Feb 2010 20:06:04 +0000 (20:06 +0000)]
Allow more than one timer with the same ID. Closes #11699.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63422
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 8 Feb 2010 19:52:00 +0000 (19:52 +0000)]
Add support for showing "elevation" icon in wxMSW buttons.
Add, document and test in the widgets sample wxButton::SetAuthNeeded().
Closes #11705.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63421
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Mon, 8 Feb 2010 07:20:39 +0000 (07:20 +0000)]
adding carbon event missing in 10.4 headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63419
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Kevin Ollivier [Sun, 7 Feb 2010 02:43:28 +0000 (02:43 +0000)]
Implement EVT_MAXIMIZE support for OS X Cocoa.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63417
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Kevin Ollivier [Sat, 6 Feb 2010 18:19:43 +0000 (18:19 +0000)]
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.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63416
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Kevin Ollivier [Sat, 6 Feb 2010 17:00:38 +0000 (17:00 +0000)]
Get wxSearchCtrl text events working, and share the text event handler code among all the various wxTextCtrl-based classes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63415
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Kevin Ollivier [Sat, 6 Feb 2010 16:42:44 +0000 (16:42 +0000)]
Forgot about the drag source delegate, which is the perfect place to put GiveFeedback related handling.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63414
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Kevin Ollivier [Sat, 6 Feb 2010 01:45:58 +0000 (01:45 +0000)]
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.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63412
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jouk Jansen [Thu, 4 Feb 2010 07:26:55 +0000 (07:26 +0000)]
undefine not working FSWATCHER from OpenVMS compile setup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63384
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 4 Feb 2010 01:33:32 +0000 (01:33 +0000)]
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.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63383
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 4 Feb 2010 01:20:02 +0000 (01:20 +0000)]
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.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63382
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 4 Feb 2010 01:02:43 +0000 (01:02 +0000)]
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.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63381
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 3 Feb 2010 21:07:46 +0000 (21:07 +0000)]
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.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63379
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 3 Feb 2010 21:07:42 +0000 (21:07 +0000)]
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.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63378
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 3 Feb 2010 21:07:38 +0000 (21:07 +0000)]
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.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63377
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 3 Feb 2010 21:07:32 +0000 (21:07 +0000)]
Correct bounding box calculation in wxGTK wxDC::DrawText().
Physical coordinates were incorrectly used to update the bounding box instead
of the logical ones.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63376
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Wed, 3 Feb 2010 11:43:08 +0000 (11:43 +0000)]
Don't select all if there is nothing to select.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63374
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Wed, 3 Feb 2010 09:51:53 +0000 (09:51 +0000)]
Don't delete previous character when pressing Del at end of buffer.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63372
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Wed, 3 Feb 2010 08:32:42 +0000 (08:32 +0000)]
safe degradation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63370
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Kevin Ollivier [Wed, 3 Feb 2010 06:08:31 +0000 (06:08 +0000)]
Rebake after DND changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63366
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Kevin Ollivier [Wed, 3 Feb 2010 05:31:31 +0000 (05:31 +0000)]
Refactor DND code into Carbon and Cocoa parts, and provide a basic OS X Cocoa implementation for wxDropSource::DoDragDrop.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63365
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Kevin Ollivier [Wed, 3 Feb 2010 05:22:13 +0000 (05:22 +0000)]
Add sanity check on the item number.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63364
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Tue, 2 Feb 2010 22:19:33 +0000 (22:19 +0000)]
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.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63357
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Tue, 2 Feb 2010 15:19:41 +0000 (15:19 +0000)]
Do not clear property selection when adding new properties, but instead correct positions of any open editor controls.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63356
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Tue, 2 Feb 2010 11:23:31 +0000 (11:23 +0000)]
Don't crash if there's no top window.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63355
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Mon, 1 Feb 2010 10:45:51 +0000 (10:45 +0000)]
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.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63344
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Mon, 1 Feb 2010 08:23:59 +0000 (08:23 +0000)]
adapting to new API variant
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63343
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Kevin Ollivier [Mon, 1 Feb 2010 01:20:15 +0000 (01:20 +0000)]
nschars is never used for the wxEVT_CHAR case, so don't assign it a different value for this case.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63340
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Kevin Ollivier [Mon, 1 Feb 2010 00:48:23 +0000 (00:48 +0000)]
Use the correct type to fix Tiger compilation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63339
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Sun, 31 Jan 2010 18:15:17 +0000 (18:15 +0000)]
Added nominal wxPG_PROP_READONLY support for editor controls other than wxTextCtrl-based ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63337
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Sun, 31 Jan 2010 18:14:24 +0000 (18:14 +0000)]
Added command to set wxPG_PROP_READONLY in the propgrid sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63336
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Sun, 31 Jan 2010 18:13:13 +0000 (18:13 +0000)]
Fixed value column rendering for properties which do not create editor control when selected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63335
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Sun, 31 Jan 2010 14:42:51 +0000 (14:42 +0000)]
avoiding catching incorrect shortcuts, see #11676
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63333
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Sun, 31 Jan 2010 11:01:53 +0000 (11:01 +0000)]
supporting clipboard command shortcuts on osx_cocoa as well, simplifying code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63332
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 29 Jan 2010 13:07:26 +0000 (13:07 +0000)]
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.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63306
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Michael Wetherell [Thu, 28 Jan 2010 21:46:18 +0000 (21:46 +0000)]
Fix for file length fixup.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63303
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Thu, 28 Jan 2010 13:49:16 +0000 (13:49 +0000)]
storing modal returncode correctly for carbon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63299
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Thu, 28 Jan 2010 13:48:35 +0000 (13:48 +0000)]
make sure modality is reflected correctly when rerouted from window-modal to app-modal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63298
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 28 Jan 2010 12:07:16 +0000 (12:07 +0000)]
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.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63296
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Thu, 28 Jan 2010 09:54:51 +0000 (09:54 +0000)]
adding window-modal message box sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63294
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Thu, 28 Jan 2010 08:28:52 +0000 (08:28 +0000)]
setting correct alertType
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63292
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Kevin Ollivier [Thu, 28 Jan 2010 04:06:23 +0000 (04:06 +0000)]
Get ShowWindowModal behavior working under OS X Cocoa for file, dir and message dialogs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63291
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 26 Jan 2010 23:04:26 +0000 (23:04 +0000)]
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.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63282
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Tue, 26 Jan 2010 21:09:41 +0000 (21:09 +0000)]
wxPGProperty::GetHintText() function body was missing 'inline' keyword
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63281
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Tue, 26 Jan 2010 17:44:51 +0000 (17:44 +0000)]
Fixed wxPGGlobalVars export declaration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63280
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Tue, 26 Jan 2010 14:36:39 +0000 (14:36 +0000)]
optimizing creation of glcontexts, less flicker
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63279
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jouk Jansen [Tue, 26 Jan 2010 14:24:06 +0000 (14:24 +0000)]
Fixes for compilation on OpenVMS platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63278
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 26 Jan 2010 12:43:39 +0000 (12:43 +0000)]
Add wxTreeCtrl::SelectChildren() method.
Add MSW and generic implementation, documentation and change to the sample
showing it.
Closes #11620.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63277
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 26 Jan 2010 12:39:41 +0000 (12:39 +0000)]
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.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63276
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 26 Jan 2010 12:33:34 +0000 (12:33 +0000)]
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.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63275
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 26 Jan 2010 12:33:01 +0000 (12:33 +0000)]
Another compilation fix for wxMSW without PCH.
Need to include <commctrl.h> as we use HIMAGELIST and related functions now.
See #11595.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63274
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 26 Jan 2010 12:16:44 +0000 (12:16 +0000)]
Implement RequestUserAttention() for wxOSX/Cocoa.
Simply use NSApplication:requestUserAttention to do it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63273
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 26 Jan 2010 09:01:13 +0000 (09:01 +0000)]
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.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63272
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 26 Jan 2010 09:01:08 +0000 (09:01 +0000)]
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.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63271
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 26 Jan 2010 09:01:02 +0000 (09:01 +0000)]
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.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63270
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 26 Jan 2010 09:00:55 +0000 (09:00 +0000)]
Make wxWindow::MSWGetThemeColour() const.
There doesn't seem to be any reason for this method to not be const.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63269
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 26 Jan 2010 09:00:48 +0000 (09:00 +0000)]
Compilation fix for wxUniv.
We need explicit casts to wxWindow in wxWindowMSW code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63268
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Mon, 25 Jan 2010 22:27:42 +0000 (22:27 +0000)]
simplifying code, removing outdated API
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63266
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Mon, 25 Jan 2010 22:24:49 +0000 (22:24 +0000)]
adding note for correct wheel params
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63265
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Mon, 25 Jan 2010 18:48:21 +0000 (18:48 +0000)]
Added EVT_WIZARD_PAGE_SHOWN event for wxWizard, to give apps
a chance to initiate processing after a page is presented.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63263
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Mon, 25 Jan 2010 17:12:53 +0000 (17:12 +0000)]
better wheel support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63261
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Mon, 25 Jan 2010 17:12:07 +0000 (17:12 +0000)]
make sure we can override GetModality
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63260
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Mon, 25 Jan 2010 13:27:59 +0000 (13:27 +0000)]
adding wxWindow::Show in order to make the sheet showing its children as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63259
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Mon, 25 Jan 2010 13:26:36 +0000 (13:26 +0000)]
fixing building on iphone
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63258
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jouk Jansen [Mon, 25 Jan 2010 11:32:19 +0000 (11:32 +0000)]
Update compile support for OpenVMS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63257
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Kevin Ollivier [Sun, 24 Jan 2010 23:28:32 +0000 (23:28 +0000)]
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.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63254
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Sun, 24 Jan 2010 19:09:20 +0000 (19:09 +0000)]
supporting auto-rotate for translucent statusbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63253
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775