]>
git.saurik.com Git - wxWidgets.git/log
Francesco Montorsi [Thu, 29 Jan 2009 23:52:47 +0000 (23:52 +0000)]
fix typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58504
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Thu, 29 Jan 2009 22:32:25 +0000 (22:32 +0000)]
Store pointer to owning wxWindow in wxPizza widget
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58503
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Thu, 29 Jan 2009 17:43:35 +0000 (17:43 +0000)]
Do not propagate key events from child controls unless they have modifiers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58500
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 29 Jan 2009 16:27:21 +0000 (16:27 +0000)]
use HandleWindowEvent() instead of ProcessEvent() to avoid crashes if the toolbar left click handler throws under wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58498
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Thu, 29 Jan 2009 16:09:46 +0000 (16:09 +0000)]
Fixed wxPropertyGridManager::CreatePropertyGrid(), corrected documentation about its use
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58497
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 29 Jan 2009 13:04:40 +0000 (13:04 +0000)]
don't fall back to the only currently existing document in wxDocManager::GetCurrentView() as it breaks activation logic (#9518)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58496
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 29 Jan 2009 12:52:55 +0000 (12:52 +0000)]
no changes, just corrected/completed a comment truncated in the last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58495
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 29 Jan 2009 12:52:17 +0000 (12:52 +0000)]
no real changes, just minor refactoring and cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58494
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 29 Jan 2009 12:51:38 +0000 (12:51 +0000)]
don't crash if we have no accelerators for the "Window" menu items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58493
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 29 Jan 2009 12:50:06 +0000 (12:50 +0000)]
add wxHAS_MULTIPLE_FILEDLG_FILTERS symbol to be used instead of explicit tests for the platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58492
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Thu, 29 Jan 2009 00:26:40 +0000 (00:26 +0000)]
wxEpollDispatcher is in wxBase, not wxCore - fixed to use WXDLLIMPEXP_BASE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58487
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 28 Jan 2009 21:52:37 +0000 (21:52 +0000)]
correct wxDateTime DST begin/end computations for years > 2006 in USA (closes #10425)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58486
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 28 Jan 2009 21:36:57 +0000 (21:36 +0000)]
another fix for wxUSE_DRAG_AND_DROP==0 build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58485
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Wed, 28 Jan 2009 17:30:57 +0000 (17:30 +0000)]
use singular when documenting group of functions as the docs are automatically distributed by Doxygen over all members of the group
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58484
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Kevin Ollivier [Wed, 28 Jan 2009 16:44:10 +0000 (16:44 +0000)]
Adding docs for new wx interface methods.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58483
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 28 Jan 2009 13:55:51 +0000 (13:55 +0000)]
rename wxRendererNative::DrawRadioButton() to DrawOptionButton() to avoid conflict with wxUniv function with the same name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58481
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 28 Jan 2009 13:41:43 +0000 (13:41 +0000)]
fix remaining cases of wxWindow::ProcessEvent() calls; add convenient ProcessWindowEvent() wrapper and document it; also document this (incompatible) change itself
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58480
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Wed, 28 Jan 2009 10:24:14 +0000 (10:24 +0000)]
Fixes #10443: wxListCtrl::MoveToItem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58479
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 28 Jan 2009 09:14:07 +0000 (09:14 +0000)]
remove the recently added MSWFindMenuBarItem() as we already had FindItemInMenuBar() for the same purpose; just change the latter to return a non-const pointer; this fixes help string display in the status bar for the window menu items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58478
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 28 Jan 2009 09:01:44 +0000 (09:01 +0000)]
no real changes, just small cleanup, in particular use more consistent variable names
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58477
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 28 Jan 2009 09:00:49 +0000 (09:00 +0000)]
don't duplicate menu creation code in the parent and child frames
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58476
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jouk Jansen [Wed, 28 Jan 2009 07:44:07 +0000 (07:44 +0000)]
Update OpenVMS compile support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58475
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Wed, 28 Jan 2009 01:01:42 +0000 (01:01 +0000)]
better docs for wxDataViewColumn
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58474
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Wed, 28 Jan 2009 00:51:55 +0000 (00:51 +0000)]
fix doxygen warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58473
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Wed, 28 Jan 2009 00:44:06 +0000 (00:44 +0000)]
document various enumerations defined in defs.h; give a name to the anonymous enum for the standard IDs; move wxKeyCode and wxKeyModifier enums in defs.h removing their dedicated pages of the manual
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58472
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Wed, 28 Jan 2009 00:36:55 +0000 (00:36 +0000)]
no real changes; just cosmetic
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58471
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Wed, 28 Jan 2009 00:36:13 +0000 (00:36 +0000)]
move wxSizer docs to the beginning of the file, before derived classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58470
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 28 Jan 2009 00:09:01 +0000 (00:09 +0000)]
define a separate run-tests-with-timing tag
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58469
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Tue, 27 Jan 2009 20:20:18 +0000 (20:20 +0000)]
small reorganization; no real change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58468
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Bryan Petty [Tue, 27 Jan 2009 19:46:05 +0000 (19:46 +0000)]
Applied documentation typo/grammer corrections from charles (#10439).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58467
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Bryan Petty [Tue, 27 Jan 2009 18:40:23 +0000 (18:40 +0000)]
Fixed the class diagrams javascript to initialize the dropdown button image to the correct image.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58465
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Bryan Petty [Tue, 27 Jan 2009 17:42:42 +0000 (17:42 +0000)]
Forward ported r58463. (Check for null text control in wxPickerBase fixing a focus event crash on control deletion on OSX 10.5 that will need to eventually be fixed, but this should be done anyway, and at least fixes wxFilePickerCtrl for now.)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58464
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 27 Jan 2009 16:47:41 +0000 (16:47 +0000)]
refactor WM_COMMAND messages handling in MDI frames to avoid duplicating code unnecessarily and generally streamline it; added possibility to use custom menu commands in the "Window" menu and specifying accelerators for them now works too (show this in the sample); finally added standard ids for the MDI window menu commands
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58462
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 27 Jan 2009 16:45:24 +0000 (16:45 +0000)]
added CreateAccelTable() helper which creates the accel table for just this menu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58461
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 27 Jan 2009 16:40:51 +0000 (16:40 +0000)]
added template wxScopedArray<> too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58460
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Tue, 27 Jan 2009 15:35:34 +0000 (15:35 +0000)]
Fix for GetScrollPos() assert
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58459
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 27 Jan 2009 14:48:20 +0000 (14:48 +0000)]
don't do anything in SetWindowMenu() if we're setting the same menu as we already have
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58457
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 27 Jan 2009 14:02:27 +0000 (14:02 +0000)]
yet another blind attempt to run tests with --timing option (or how adding a single option can turn into a 2 day endeavour thanks to the power of XSLT)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58456
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 27 Jan 2009 13:10:43 +0000 (13:10 +0000)]
add missing headers for PCH-less build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58455
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Tue, 27 Jan 2009 12:33:16 +0000 (12:33 +0000)]
fix PCH builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58454
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Tue, 27 Jan 2009 12:05:27 +0000 (12:05 +0000)]
fix crash when calling InsertColumn() on a wxListCtrl with wxLC_NO_HEADER style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58453
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Tue, 27 Jan 2009 12:01:54 +0000 (12:01 +0000)]
small cleanup; move private class definitions in a private header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58452
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Tue, 27 Jan 2009 11:22:30 +0000 (11:22 +0000)]
include wx/mdi.h also for non-PCH builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58451
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Tue, 27 Jan 2009 11:13:11 +0000 (11:13 +0000)]
include wx/mdi.h also for non-PCH builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58450
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 26 Jan 2009 23:38:08 +0000 (23:38 +0000)]
add more wxUSE_MENUS guards
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58447
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 26 Jan 2009 23:20:43 +0000 (23:20 +0000)]
don't include wx/mdi.h from wx/wx.h when building the library itself as it's only used by mdi.cpp and it doesn't make sense to include it in the PCH
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58445
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Mon, 26 Jan 2009 23:20:17 +0000 (23:20 +0000)]
Automatically adjust toolbar's tool size if the provided bitmaps
don't fit into the default size.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58444
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 26 Jan 2009 23:18:47 +0000 (23:18 +0000)]
use a virtual function instead of wxDynamicCast(wxMDIParentFrame) in wxFrame code: this not only makes the code cleaner but should also remove the last dependency on MDI code when linking wx applications not using MDI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58443
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 26 Jan 2009 23:17:09 +0000 (23:17 +0000)]
test ShowFullScreen() to verify that restoring menu works correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58442
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Mon, 26 Jan 2009 23:16:51 +0000 (23:16 +0000)]
changed wxMSW's default toolbar bitmaps size from obsolete 16x15 to 24x24 used by modern apps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58441
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 26 Jan 2009 22:55:25 +0000 (22:55 +0000)]
disable the "Next" and "Previous" commands in the window menu if we have a single child only; update the copyright
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58440
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Mon, 26 Jan 2009 22:40:13 +0000 (22:40 +0000)]
cleanup a bit the wxSplashScreen code; don't Yield() on wxGTK as it's not needed at all (at least with GTK+ 2.12.9
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58439
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 26 Jan 2009 22:27:13 +0000 (22:27 +0000)]
trying to make the tests run in trunk release build again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58438
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Mon, 26 Jan 2009 20:43:12 +0000 (20:43 +0000)]
Removed queuedResize code again as GTK+ does this internally already
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58437
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Mon, 26 Jan 2009 18:57:00 +0000 (18:57 +0000)]
suppress warning about unused win pointer when wxUSE_GRAPHICS_CONTEXT==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58436
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Bryan Petty [Mon, 26 Jan 2009 18:31:09 +0000 (18:31 +0000)]
Fixed the margins on the class diagram dropdown image after all images were globally given a margin if 20px (I wish this could have been done differently, but it doesn't look like there's any better way of making sure the right images in the manual have a reasonable margin).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58435
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Mon, 26 Jan 2009 17:28:29 +0000 (17:28 +0000)]
Added wxPGChoices::Copy(), tweaked related documentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58432
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Mon, 26 Jan 2009 13:45:16 +0000 (13:45 +0000)]
Implement hint cursor for resizable columns
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58431
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 26 Jan 2009 13:05:12 +0000 (13:05 +0000)]
use --timing option with trunk build, not stable one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58430
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 26 Jan 2009 13:03:21 +0000 (13:03 +0000)]
disable utils compilation in stable STL builds as tex2rtf doesn't (and won't) build; try to run test with the --timing option to understand why/where does it hang
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58429
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 26 Jan 2009 11:48:29 +0000 (11:48 +0000)]
don't show the currently hidden frame if Iconize() is called (see #10426)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58427
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 26 Jan 2009 10:59:17 +0000 (10:59 +0000)]
document the correct base class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58425
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 26 Jan 2009 10:30:25 +0000 (10:30 +0000)]
include missing header (wx/msw/wrapcctl.h) for PCH-less build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58424
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Sun, 25 Jan 2009 20:57:43 +0000 (20:57 +0000)]
Little correction to hand-made sizing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58417
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Sun, 25 Jan 2009 20:22:37 +0000 (20:22 +0000)]
Finally corrected drawing of wxListCtrl selection rect for GTK+
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58415
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 25 Jan 2009 19:18:58 +0000 (19:18 +0000)]
Mac build fixes after latest change (closes #10433)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58414
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 25 Jan 2009 19:08:33 +0000 (19:08 +0000)]
don't change the combobox text when it's being resized (see #10126)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58413
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 25 Jan 2009 19:07:11 +0000 (19:07 +0000)]
undo r58380 as it breaks tree control background repainting (see #9832)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58412
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 25 Jan 2009 18:55:22 +0000 (18:55 +0000)]
compilation fix for VC6 after last change; use wx naming conventions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58411
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 25 Jan 2009 18:52:08 +0000 (18:52 +0000)]
remove unused function and out of date comments (we don't use bsearch() any more)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58410
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 25 Jan 2009 18:34:45 +0000 (18:34 +0000)]
fix state images after changing their style (see #9591)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58409
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 25 Jan 2009 18:21:36 +0000 (18:21 +0000)]
use GetBoundingRect() for the in place text control positioning instead of duplicating its code (see #9591)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58408
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 25 Jan 2009 18:20:26 +0000 (18:20 +0000)]
corrections to size calculations for state images (see #9591)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58407
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 25 Jan 2009 18:10:24 +0000 (18:10 +0000)]
remove duplicated HitTest implementation from wxCheckListBox, it already inherits wxListBox::HitTest() (which was however lacking an overload taking 2 coordinates, added now)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58406
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 25 Jan 2009 18:09:00 +0000 (18:09 +0000)]
use correct item index for wxEVT_COMMAND_LISTBOX_DOUBLECLICKED events (see #10429)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58405
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 25 Jan 2009 17:23:39 +0000 (17:23 +0000)]
allow specifying the mask colour in wxImage::ConvertAlphaToMask() (closes #10143)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58404
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sun, 25 Jan 2009 17:11:13 +0000 (17:11 +0000)]
organize in groups wxAppConsole functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58403
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Sun, 25 Jan 2009 16:00:32 +0000 (16:00 +0000)]
Added XRC handler for wxComboCtrl (closes #10151)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58402
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sun, 25 Jan 2009 15:12:21 +0000 (15:12 +0000)]
blind build fix for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58401
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 25 Jan 2009 14:45:52 +0000 (14:45 +0000)]
skip mouse events we're not interested in (e.g. mouse wheel ones) (closes #10062)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58400
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 25 Jan 2009 14:41:59 +0000 (14:41 +0000)]
don't use the not always appropriate word "document" in the save prompt (#10076)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58399
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 25 Jan 2009 14:40:43 +0000 (14:40 +0000)]
don't use _() in the public header in case WXINTL_NO_GETTEXT_MACRO is defined (closes #10132)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58398
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 25 Jan 2009 14:38:44 +0000 (14:38 +0000)]
add wxDrawStateBitmap() (closes #10289)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58397
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 25 Jan 2009 14:21:23 +0000 (14:21 +0000)]
notify the timers outside of loop over m_timers to avoid crashes if a timer event hanlder modifies the timers list (#10094)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58396
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sun, 25 Jan 2009 14:18:00 +0000 (14:18 +0000)]
build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58395
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 25 Jan 2009 13:47:20 +0000 (13:47 +0000)]
added support for wxCAL_SHOW_WEEK_NUMBERS to generic version of wxCalendarCtrl (#10033)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58394
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 25 Jan 2009 13:27:48 +0000 (13:27 +0000)]
added (MSW-only) wxListCtrl::OnGetItemColumnAttr() (#10018)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58393
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 25 Jan 2009 13:19:44 +0000 (13:19 +0000)]
return NULL from GetVoidPtr() for NULL variants instead of asserting (closes #9873)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58392
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 25 Jan 2009 13:15:09 +0000 (13:15 +0000)]
merged libpng 1.2.34 into the trunk (see #10043)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58391
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 25 Jan 2009 13:10:51 +0000 (13:10 +0000)]
fix MSVC warning C4516 about using deprecated access declarations; use using declarations instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58390
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 25 Jan 2009 12:45:29 +0000 (12:45 +0000)]
zero {host,serv}ent_data before passing it to the system functions to avoid crashing (see #10332)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58386
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 25 Jan 2009 12:37:16 +0000 (12:37 +0000)]
added wxPATH_RMDIR_FULL/RECURSIVE wxFileName::Rmdir() flags (closes #10422)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58385
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 25 Jan 2009 12:25:43 +0000 (12:25 +0000)]
convert COM arguments to wx lazily to improve performance and allow calling Invoke/handling events involving parameters which can't be mapped to wx types at all (new GetNativeParameters() method can be used to access them) (closes #9606)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58384
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 25 Jan 2009 12:04:25 +0000 (12:04 +0000)]
add IsOk() (closes #9872)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58383
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 25 Jan 2009 12:01:35 +0000 (12:01 +0000)]
don't deprecate the entire wxDrawObject class, this results in warnings when we just declare wxDC::DrawObject(); instead deprecate just its ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58382
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sun, 25 Jan 2009 11:58:39 +0000 (11:58 +0000)]
Change in wxWindow the access specifier of the wxEvtHandler event processing and queuing functions
from public to protected. Adapt wxWidgets code and wxWidgets samples to always use wxWindow::GetEventHandler()
when calling such functions on a wxWindow rather than directly using wxWindow::ProcessEvent, etc.
This enables correct event dispatching to the event handlers which have been pushed (with PushEventHandler) on the
windows.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58381
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 25 Jan 2009 11:40:41 +0000 (11:40 +0000)]
allow using wxBG_STYLE_CUSTOM even with the native controls and use it in wxTreeCtrl (see #9832)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58380
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 25 Jan 2009 11:32:41 +0000 (11:32 +0000)]
deprecate wxDrawObject (#9860)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58379
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Sun, 25 Jan 2009 11:15:12 +0000 (11:15 +0000)]
adapting to name change in r58318
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58378
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 25 Jan 2009 11:11:27 +0000 (11:11 +0000)]
implement wxChoicebook::SetWindowVariant() by forwarding it to wxChoice (see #10398)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58377
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775