]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
15 years agoadded test for wxDataViewCtrl::Expand() and ::Collapse()
Robert Roebling [Fri, 6 Mar 2009 19:20:25 +0000 (19:20 +0000)] 
added test for wxDataViewCtrl::Expand() and ::Collapse()

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

15 years agoAdd new line at the end of the file
Robert Roebling [Fri, 6 Mar 2009 19:13:54 +0000 (19:13 +0000)] 
Add new line at the end of the file

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

15 years agoMake all instances of HasEditorCtrl() const, not just a few
Robert Roebling [Fri, 6 Mar 2009 19:07:40 +0000 (19:07 +0000)] 
Make all instances of HasEditorCtrl() const, not just a few

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

15 years agoInitialise DC only when needed and deinitilise it properly before, fixes #10543:...
Robert Roebling [Fri, 6 Mar 2009 18:52:30 +0000 (18:52 +0000)] 
Initialise DC only when needed and deinitilise it properly before, fixes #10543: wxGTK wxDataViewCtrl Assert and Crash

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

15 years agoProperty value images are no longer shrinked horizontally
Jaakko Salli [Fri, 6 Mar 2009 17:32:28 +0000 (17:32 +0000)] 
Property value images are no longer shrinked horizontally

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

15 years agodon't allow setting readonly combobox value to a string which is not one of the valid...
Vadim Zeitlin [Fri, 6 Mar 2009 16:31:26 +0000 (16:31 +0000)] 
don't allow setting readonly combobox value to a string which is not one of the valid choices in wxGTK neither and document this behaviour (closes #10549)

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

15 years agodocs/mac is now docs/osx.
Kevin Ollivier [Fri, 6 Mar 2009 16:26:42 +0000 (16:26 +0000)] 
docs/mac is now docs/osx.

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

15 years agoadded wxZlibStream::SetDictionary() (closes #10551)
Vadim Zeitlin [Fri, 6 Mar 2009 16:26:15 +0000 (16:26 +0000)] 
added wxZlibStream::SetDictionary() (closes #10551)

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

15 years agofix duplicate events for selection keys after the last change (see #626)
Vadim Zeitlin [Fri, 6 Mar 2009 16:13:23 +0000 (16:13 +0000)] 
fix duplicate events for selection keys after the last change (see #626)

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

15 years agono changes, just some minor cleanup
Vadim Zeitlin [Fri, 6 Mar 2009 10:56:21 +0000 (10:56 +0000)] 
no changes, just some minor cleanup

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

15 years agoonly set maximal tooltip width if it's greater than the previously set one to avoid...
Vadim Zeitlin [Fri, 6 Mar 2009 10:54:56 +0000 (10:54 +0000)] 
only set maximal tooltip width if it's greater than the previously set one to avoid breaking long lines if a shorter tooltip is added afterwards (see #10537)

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

15 years agopass ApplyEdit() arguments to EndEdit() too for better backwards compatibility (close...
Vadim Zeitlin [Fri, 6 Mar 2009 10:38:45 +0000 (10:38 +0000)] 
pass ApplyEdit() arguments to EndEdit() too for better backwards compatibility (closes #10544)

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

15 years agoRemoved conflicting virtual function
Julian Smart [Fri, 6 Mar 2009 08:19:31 +0000 (08:19 +0000)] 
Removed conflicting virtual function

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

15 years agoIndentation/coding style adjustments.
Francesco Montorsi [Fri, 6 Mar 2009 00:05:05 +0000 (00:05 +0000)] 
Indentation/coding style adjustments.
Make the columns resize when dragging the columns in the header control intercepting the EVT_HEADER_RESIZING event

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

15 years agofix crash when using wxDataViewListStore::DeleteAllItems
Francesco Montorsi [Fri, 6 Mar 2009 00:01:11 +0000 (00:01 +0000)] 
fix crash when using wxDataViewListStore::DeleteAllItems

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

15 years ago2nd (blind) fix for VC6 build
Vadim Zeitlin [Thu, 5 Mar 2009 23:41:27 +0000 (23:41 +0000)] 
2nd (blind) fix for VC6 build

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

15 years agoFill out the left and top fields as well.
Kevin Ollivier [Thu, 5 Mar 2009 22:54:02 +0000 (22:54 +0000)] 
Fill out the left and top fields as well.

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

15 years agoMake about dialog non-modal on GTK/Mac and don't show the OK button on Mac.
Kevin Ollivier [Thu, 5 Mar 2009 21:54:08 +0000 (21:54 +0000)] 
Make about dialog non-modal on GTK/Mac and don't show the OK button on Mac.

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

15 years agodo not use HDS_FLAT by default
Francesco Montorsi [Thu, 5 Mar 2009 21:47:59 +0000 (21:47 +0000)] 
do not use HDS_FLAT by default

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

15 years agoSheet support for wxDirDialog.
Kevin Ollivier [Thu, 5 Mar 2009 21:21:45 +0000 (21:21 +0000)] 
Sheet support for wxDirDialog.

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

15 years agoDon't use result for both NS and wx button ID values.
Kevin Ollivier [Thu, 5 Mar 2009 21:20:57 +0000 (21:20 +0000)] 
Don't use result for both NS and wx button ID values.

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

15 years agoSheet support for wxMessageDialog.
Kevin Ollivier [Thu, 5 Mar 2009 21:20:05 +0000 (21:20 +0000)] 
Sheet support for wxMessageDialog.

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

15 years agoFix for sheets based on NSAlert.
Kevin Ollivier [Thu, 5 Mar 2009 21:19:40 +0000 (21:19 +0000)] 
Fix for sheets based on NSAlert.

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

15 years agoFix typo.
Kevin Ollivier [Thu, 5 Mar 2009 19:22:02 +0000 (19:22 +0000)] 
Fix typo.

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

15 years agoMake sure we call SetEventObject before firing events.
Kevin Ollivier [Thu, 5 Mar 2009 19:21:32 +0000 (19:21 +0000)] 
Make sure we call SetEventObject before firing events.

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

15 years agoMake wxStaticText for OS X Cocoa properly size multiline strings.
Kevin Ollivier [Thu, 5 Mar 2009 19:20:36 +0000 (19:20 +0000)] 
Make wxStaticText for OS X Cocoa properly size multiline strings.

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

15 years agoUse sheets for native file dialogs if the dialog has its parent set.
Kevin Ollivier [Thu, 5 Mar 2009 19:19:28 +0000 (19:19 +0000)] 
Use sheets for native file dialogs if the dialog has its parent set.

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

15 years agoUpdated wxWidgets icons in art to use the new official logo.
Bryan Petty [Thu, 5 Mar 2009 18:20:38 +0000 (18:20 +0000)] 
Updated wxWidgets icons in art to use the new official logo.

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

15 years agodon't use WPARAM in the header (build fix after r59336)
Vadim Zeitlin [Thu, 5 Mar 2009 16:32:56 +0000 (16:32 +0000)] 
don't use WPARAM in the header (build fix after r59336)

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

15 years agoDon't set a large minimum size for both panes
Julian Smart [Thu, 5 Mar 2009 15:54:50 +0000 (15:54 +0000)] 
Don't set a large minimum size for both panes

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

15 years agoPrevent splitter sash being set below minimum size when moved
Julian Smart [Thu, 5 Mar 2009 15:44:01 +0000 (15:44 +0000)] 
Prevent splitter sash being set below minimum size when moved
(using the same minimum size for both windows is probably a bad design choice)

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

15 years agofix multiple problems with selection in controls with wxTR_MULTIPLE style (closes...
Vadim Zeitlin [Thu, 5 Mar 2009 14:13:19 +0000 (14:13 +0000)] 
fix multiple problems with selection in controls with wxTR_MULTIPLE style (closes #626)

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

15 years agofix total breakage of all fonts in wxMSW caused by r57542 which changed the value...
Vadim Zeitlin [Thu, 5 Mar 2009 14:09:37 +0000 (14:09 +0000)] 
fix total breakage of all fonts in wxMSW caused by r57542 which changed the value of wxSystemFont enum elements in spite of the comment saying not to do this right above it

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

15 years agoset svn properties correctly for the new files (please use the auto-props!)
Vadim Zeitlin [Thu, 5 Mar 2009 14:00:46 +0000 (14:00 +0000)] 
set svn properties correctly for the new files (please use the auto-props!)

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

15 years ago(blind) fix for VC6 build
Vadim Zeitlin [Thu, 5 Mar 2009 13:58:12 +0000 (13:58 +0000)] 
(blind) fix for VC6 build

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

15 years agoPCH-less build fix
Vadim Zeitlin [Thu, 5 Mar 2009 12:46:40 +0000 (12:46 +0000)] 
PCH-less build fix

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

15 years agoEnsure that WriteText moves the selection to the end and scrolls to the end, and...
Kevin Ollivier [Thu, 5 Mar 2009 05:43:59 +0000 (05:43 +0000)] 
Ensure that WriteText moves the selection to the end and scrolls to the end, and implement EVT_TEXT_ENTER for NSTextField.

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

15 years agoFix comparison operator for functions keys (fixes #10547).
Kevin Ollivier [Thu, 5 Mar 2009 05:23:25 +0000 (05:23 +0000)] 
Fix comparison operator for functions keys (fixes #10547).

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

15 years agoimprove look of wxDataViewCtrl and of its renderer on wxMSW when windows XP themeing...
Francesco Montorsi [Thu, 5 Mar 2009 00:36:17 +0000 (00:36 +0000)] 
improve look of wxDataViewCtrl and of its renderer on wxMSW when windows XP themeing is not used (wxRendererXP::DrawItemSelectionRect implementation is ok also for wxRendererMSW; share the code).
Fix a typo in the drawing code for horizontal rules in wxDataViewCtrl.

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

15 years agoEnsure we get mouse moved events.
Kevin Ollivier [Wed, 4 Mar 2009 23:34:52 +0000 (23:34 +0000)] 
Ensure we get mouse moved events.

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

15 years agobuild fix
Francesco Montorsi [Wed, 4 Mar 2009 23:23:28 +0000 (23:23 +0000)] 
build fix

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

15 years agoall code revisited.
Francesco Montorsi [Wed, 4 Mar 2009 22:33:18 +0000 (22:33 +0000)] 
all code revisited.
Main additions:
- now it's possible to change the DVC style dynamically
- make models more robust against deleting items, and against other allowed user actions
- comment portions of the code to make it more didactive

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

15 years agosome docs enhancements, in particular to wxDataViewListCtrl.
Francesco Montorsi [Wed, 4 Mar 2009 21:06:21 +0000 (21:06 +0000)] 
some docs enhancements, in particular to wxDataViewListCtrl.

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

15 years agoBy default, always refresh editor and redraw properties when property value is changed
Jaakko Salli [Wed, 4 Mar 2009 19:53:34 +0000 (19:53 +0000)] 
By default, always refresh editor and redraw properties when property value is changed

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

15 years agoDon't always set the titled mask.
Kevin Ollivier [Wed, 4 Mar 2009 19:09:24 +0000 (19:09 +0000)] 
Don't always set the titled mask.

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

15 years agoMore wxWindows -> wxWidgets updates (mostly URLs and mailing list addresses).
Bryan Petty [Wed, 4 Mar 2009 19:04:46 +0000 (19:04 +0000)] 
More wxWindows -> wxWidgets updates (mostly URLs and mailing list addresses).

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

15 years agoreorganize the sample splitting it in two source files and an additional header;...
Francesco Montorsi [Wed, 4 Mar 2009 17:21:40 +0000 (17:21 +0000)] 
reorganize the sample splitting it in two source files and an additional header; most important: don't tile all the controls into the main frame: it becomes too big; rather use a notebook control to properly layout them

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

15 years agobuild fix; document HasFeature() (should be part of r59313)
Francesco Montorsi [Wed, 4 Mar 2009 15:53:55 +0000 (15:53 +0000)] 
build fix; document HasFeature() (should be part of r59313)

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

15 years agono real change: just reorder the code
Francesco Montorsi [Wed, 4 Mar 2009 15:23:56 +0000 (15:23 +0000)] 
no real change: just reorder the code

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

15 years agoremove wxSYS_DEFAULT_PALETTE: it's supported only by wxMSW and it never worked there...
Francesco Montorsi [Wed, 4 Mar 2009 15:19:58 +0000 (15:19 +0000)] 
remove wxSYS_DEFAULT_PALETTE: it's supported only by wxMSW and it never worked there: GetStockObject(DEFAULT_PALETTE) returns a palette and not a font; so the resulting wxFont is wrong.
Expand and correct documentation for various system constants.
Provide wxSYS_COLOUR_FRAMEBK as a synonym for wxSYS_COLOUR_BTNFACE as it is the colour which must be used to make wxFrame background coherent with the background of the controls they (eventually) contain.

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

15 years agoadd headers to the samples' bakefiles so that they show up in MSVC project files
Francesco Montorsi [Wed, 4 Mar 2009 11:47:32 +0000 (11:47 +0000)] 
add headers to the samples' bakefiles so that they show up in MSVC project files

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

15 years agorevert addition of the simple listctrl; it doesn't help.
Francesco Montorsi [Wed, 4 Mar 2009 11:39:13 +0000 (11:39 +0000)] 
revert addition of the simple listctrl; it doesn't help.
Log the version of comctl32.dll under wxMSW; it's useful when reporting bugs or when debugging

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

15 years agoinserting missing include for non PCH-build
Jouk Jansen [Wed, 4 Mar 2009 07:42:42 +0000 (07:42 +0000)] 
inserting missing include for non PCH-build

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

15 years agoMore fixes for clickCount... even sometimes when respondsToSelector returned true...
Kevin Ollivier [Tue, 3 Mar 2009 23:23:51 +0000 (23:23 +0000)] 
More fixes for clickCount... even sometimes when respondsToSelector returned true we'd get a crash, so only check clickCount for up and down events.

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

15 years agoclarify the list of bitmap handlers natively supported.
Francesco Montorsi [Tue, 3 Mar 2009 23:10:13 +0000 (23:10 +0000)] 
clarify the list of bitmap handlers natively supported.
Clarify that wxBitmap::AddHandler isn't useful to the final user; wxImage::AddHandler should be used instead.

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

15 years agoRemove unneeded workaround for a ScrolledWindow issue that is now fixed
Jaakko Salli [Tue, 3 Mar 2009 21:17:36 +0000 (21:17 +0000)] 
Remove unneeded workaround for a ScrolledWindow issue that is now fixed

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

15 years agoRemove wxEnumProperty::ms_prevIndex
Jaakko Salli [Tue, 3 Mar 2009 21:04:08 +0000 (21:04 +0000)] 
Remove wxEnumProperty::ms_prevIndex

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

15 years agoupdate the list of samples
Francesco Montorsi [Tue, 3 Mar 2009 20:57:58 +0000 (20:57 +0000)] 
update the list of samples

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

15 years agouse ldlibs, not ldflags, for wx-config --libs output in gnu format as well as in...
Vadim Zeitlin [Tue, 3 Mar 2009 19:20:44 +0000 (19:20 +0000)] 
use ldlibs, not ldflags, for wx-config --libs output in gnu format as well as in autoconf one to ensure that the libraries appear at the end of the linker command line

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

15 years agoDon't crash if no scrollbar
Julian Smart [Tue, 3 Mar 2009 13:12:52 +0000 (13:12 +0000)] 
Don't crash if no scrollbar
Force wxVSCROLL in wxRTC

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

15 years agocompilation fix after last commit
Vadim Zeitlin [Tue, 3 Mar 2009 09:24:20 +0000 (09:24 +0000)] 
compilation fix after last commit

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

15 years agofix wxGTK1 compilation after wxTextEntry DoGetValue() change
Vadim Zeitlin [Tue, 3 Mar 2009 09:21:35 +0000 (09:21 +0000)] 
fix wxGTK1 compilation after wxTextEntry DoGetValue() change

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

15 years agofix virtual function hiding warnings
Vadim Zeitlin [Tue, 3 Mar 2009 09:21:03 +0000 (09:21 +0000)] 
fix virtual function hiding warnings

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

15 years agofix virtual function hiding warnings
Vadim Zeitlin [Tue, 3 Mar 2009 09:20:11 +0000 (09:20 +0000)] 
fix virtual function hiding warnings

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

15 years agoProcessPendingEvents() is now in wxApp
Francesco Montorsi [Mon, 2 Mar 2009 21:14:01 +0000 (21:14 +0000)] 
ProcessPendingEvents() is now in wxApp

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

15 years agodon't generate non-MSVC makefiles for MSVC-only samples
Vadim Zeitlin [Mon, 2 Mar 2009 20:49:00 +0000 (20:49 +0000)] 
don't generate non-MSVC makefiles for MSVC-only samples

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

15 years agomove pending event processing back to wxApp (these methods were moved into wxEventLoo...
Francesco Montorsi [Mon, 2 Mar 2009 20:45:22 +0000 (20:45 +0000)] 
move pending event processing back to wxApp (these methods were moved into wxEventLoopBase during YieldFor() refactoring - see #10320): we need to be able to queue events even when there's no event loop running (e.g. wxApp::OnInit)

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

15 years agowxOSX build fix for wxRichTextCtrl after wxTextEntry::GetValue() renaming to DoGetValue()
Vadim Zeitlin [Mon, 2 Mar 2009 20:43:12 +0000 (20:43 +0000)] 
wxOSX build fix for wxRichTextCtrl after wxTextEntry::GetValue() renaming to DoGetValue()

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

15 years agoremove references to datetime_constants; they're not needed anymore
Francesco Montorsi [Mon, 2 Mar 2009 20:41:08 +0000 (20:41 +0000)] 
remove references to datetime_constants; they're not needed anymore

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

15 years agoLand the rest of the changes made by a rebake after r59067.
Kevin Ollivier [Mon, 2 Mar 2009 20:11:39 +0000 (20:11 +0000)] 
Land the rest of the changes made by a rebake after r59067.

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

15 years agorevert r59246; the window parameter was there by purpose (i.e. for consistency with...
Francesco Montorsi [Mon, 2 Mar 2009 20:09:10 +0000 (20:09 +0000)] 
revert r59246; the window parameter was there by purpose (i.e. for consistency with other Get* methods -- even if unused); document what the win parameter does in the various wxRenderer::Get* methods

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

15 years agoanother wxOSX build fix after wxTextEntry::GetValue() renaming to DoGetValue()
Vadim Zeitlin [Mon, 2 Mar 2009 19:28:44 +0000 (19:28 +0000)] 
another wxOSX build fix after wxTextEntry::GetValue() renaming to DoGetValue()

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

15 years agowxOSX build fix after wxTextEntry::GetValue() renaming to DoGetValue()
Vadim Zeitlin [Mon, 2 Mar 2009 19:17:42 +0000 (19:17 +0000)] 
wxOSX build fix after wxTextEntry::GetValue() renaming to DoGetValue()

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

15 years agoRebake after OS X Cocoa header changes.
Kevin Ollivier [Mon, 2 Mar 2009 18:30:23 +0000 (18:30 +0000)] 
Rebake after OS X Cocoa header changes.

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

15 years agoCommit changes caused by setting configure.in's svn:eol-style to LF. (r58985)
Kevin Ollivier [Mon, 2 Mar 2009 18:23:02 +0000 (18:23 +0000)] 
Commit changes caused by setting configure.in's svn:eol-style to LF. (r58985)

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

15 years agoUpdate files.bkl to look in the proper place for moved header files.
Kevin Ollivier [Mon, 2 Mar 2009 18:08:28 +0000 (18:08 +0000)] 
Update files.bkl to look in the proper place for moved header files.

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

15 years agobuild fix: define DoGetValue() and GetEditableWindow()
Vadim Zeitlin [Mon, 2 Mar 2009 16:23:55 +0000 (16:23 +0000)] 
build fix: define DoGetValue() and GetEditableWindow()

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

15 years agocompilation fix after GetEditableWindow() signature change
Vadim Zeitlin [Mon, 2 Mar 2009 16:22:30 +0000 (16:22 +0000)] 
compilation fix after GetEditableWindow() signature change

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

15 years agofix warning about possibly uninitialized variable in release build
Vadim Zeitlin [Mon, 2 Mar 2009 14:54:04 +0000 (14:54 +0000)] 
fix warning about possibly uninitialized variable in release build

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

15 years agoremove SetValue() which is not needed and which definition was removed by the previou...
Vadim Zeitlin [Mon, 2 Mar 2009 14:49:55 +0000 (14:49 +0000)] 
remove SetValue() which is not needed and which definition was removed by the previous change

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

15 years agomake GetEditableWindow() protected as it's used by wxGTK wxTextEntry
Vadim Zeitlin [Mon, 2 Mar 2009 14:03:19 +0000 (14:03 +0000)] 
make GetEditableWindow() protected as it's used by wxGTK wxTextEntry

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

15 years agowxUniv compilation fixes after wxTextEntry::DoGetValue() change
Vadim Zeitlin [Mon, 2 Mar 2009 13:58:42 +0000 (13:58 +0000)] 
wxUniv compilation fixes after wxTextEntry::DoGetValue() change

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

15 years agofix overloaded virtual warning
Vadim Zeitlin [Mon, 2 Mar 2009 13:45:09 +0000 (13:45 +0000)] 
fix overloaded virtual warning

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

15 years agoadded wxTextEntry::DoGetValue() to allow returning empty string if the control curren...
Vadim Zeitlin [Mon, 2 Mar 2009 13:31:29 +0000 (13:31 +0000)] 
added wxTextEntry::DoGetValue() to allow returning empty string if the control currently contains hint text

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

15 years agoset correct properties
Vadim Zeitlin [Mon, 2 Mar 2009 12:40:38 +0000 (12:40 +0000)] 
set correct properties

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

15 years agoadded wxTextEntry::SetHint() (a.k.a. cue banner or placeholder string)
Vadim Zeitlin [Mon, 2 Mar 2009 12:25:01 +0000 (12:25 +0000)] 
added wxTextEntry::SetHint() (a.k.a. cue banner or placeholder string)

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

15 years agoadd ugly macros to abstract the difference between Bind() and Connect() -- this is...
Vadim Zeitlin [Mon, 2 Mar 2009 12:10:40 +0000 (12:10 +0000)] 
add ugly macros to abstract the difference between Bind() and Connect() -- this is still less ugly than having #ifs everywhere

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

15 years agoupdate to Dutch translations from Gideon van Melle
Vadim Zeitlin [Mon, 2 Mar 2009 11:51:28 +0000 (11:51 +0000)] 
update to Dutch translations from Gideon van Melle

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

15 years agodocument that wxDialog::ShowModal() creates its own event loop
Francesco Montorsi [Sun, 1 Mar 2009 21:01:39 +0000 (21:01 +0000)] 
document that wxDialog::ShowModal() creates its own event loop

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

15 years agodocument internal wxDateTime enums the way they're meant to be documented in Doxygen
Francesco Montorsi [Sun, 1 Mar 2009 21:00:57 +0000 (21:00 +0000)] 
document internal wxDateTime enums the way they're meant to be documented in Doxygen

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

15 years agodo not duplicate large blocks of docs; use @overload instead; provide link to the...
Francesco Montorsi [Sun, 1 Mar 2009 20:35:07 +0000 (20:35 +0000)] 
do not duplicate large blocks of docs; use @overload instead; provide link to the standard strftime() docs

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

15 years agofix rendering of wxGrid on wxMSW when a dialog is over the grid.
Francesco Montorsi [Sun, 1 Mar 2009 17:21:46 +0000 (17:21 +0000)] 
fix rendering of wxGrid on wxMSW when a dialog is over the grid.
To test the bug: open the "grid" sample and popup the about box, then move it over the grid; without this fix portions of wxGrid were painted as gray (disabled colour) even if the wxGrid itself was not disabled.

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

15 years agouse wxRenderer::GetCheckBoxSize() instead of doing wrong calculations in wxGridCellBo...
Francesco Montorsi [Sun, 1 Mar 2009 16:53:53 +0000 (16:53 +0000)] 
use wxRenderer::GetCheckBoxSize() instead of doing wrong calculations in wxGridCellBoolRenderer::GetBestSize; this fixes checkbox rendering under wxMSW (tested on wxMSW,wxGTK)

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

15 years agodeprecated GetCheckBoxSize(wxWindow *) in favour of GetCheckBoxSize() const (the...
Francesco Montorsi [Sun, 1 Mar 2009 16:46:49 +0000 (16:46 +0000)] 
deprecated GetCheckBoxSize(wxWindow *) in favour of GetCheckBoxSize() const (the window parameter was unused and not documented)

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

15 years agomove wxGridCellRenderer::Draw before other derived classes implementations (no real...
Francesco Montorsi [Sun, 1 Mar 2009 16:09:44 +0000 (16:09 +0000)] 
move wxGridCellRenderer::Draw before other derived classes implementations (no real change)

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

15 years agoforce use of generic about dialog as to test unfocused-repainting of wxGrid
Francesco Montorsi [Sun, 1 Mar 2009 15:53:42 +0000 (15:53 +0000)] 
force use of generic about dialog as to test unfocused-repainting of wxGrid

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

15 years agoname the enum with wxDir flags to make it easier to find it from the docs.
Francesco Montorsi [Sun, 1 Mar 2009 15:47:49 +0000 (15:47 +0000)] 
name the enum with wxDir flags to make it easier to find it from the docs.

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

15 years agoavoid error of menu with zero ID
Chris Elliott [Sun, 1 Mar 2009 15:03:02 +0000 (15:03 +0000)] 
avoid error of menu with zero ID

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

15 years agoremove old and outdated tech notes
Francesco Montorsi [Sun, 1 Mar 2009 15:02:11 +0000 (15:02 +0000)] 
remove old and outdated tech notes

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

15 years agobetter document the possible arguments accepted by wxLaunchDefaultBrowser; in particu...
Francesco Montorsi [Sun, 1 Mar 2009 14:31:41 +0000 (14:31 +0000)] 
better document the possible arguments accepted by wxLaunchDefaultBrowser; in particular mention the 'mailto:' scheme

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