wxWidgets.git
15 years agoAdd wxSIZE_FORCE_EVENT and use is from wxSizerItem::SetDimension
Robert Roebling [Fri, 30 Jan 2009 20:10:44 +0000 (20:10 +0000)] 
Add wxSIZE_FORCE_EVENT and use is from wxSizerItem::SetDimension

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

15 years agoDon't use a cached best size if the window has a sizer
Robert Roebling [Fri, 30 Jan 2009 20:08:14 +0000 (20:08 +0000)] 
Don't use a cached best size if the window has a sizer

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

15 years agocleanup code and reorganize it to reuse the same switch() for both OnChar() and Valid...
Francesco Montorsi [Fri, 30 Jan 2009 17:22:05 +0000 (17:22 +0000)] 
cleanup code and reorganize it to reuse the same switch() for both OnChar() and Validate()

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

15 years agoLet's make sure embedded wxPropertyGrid does not get negative size
Jaakko Salli [Fri, 30 Jan 2009 17:07:18 +0000 (17:07 +0000)] 
Let's make sure embedded wxPropertyGrid does not get negative size

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

15 years agodocument the wxIntXX/wxFloatXX/wxCharXX types; add some comments to wxKeyCode docs
Francesco Montorsi [Fri, 30 Jan 2009 16:10:38 +0000 (16:10 +0000)] 
document the wxIntXX/wxFloatXX/wxCharXX types; add some comments to wxKeyCode docs

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

15 years agofix typo (missing closing brackets); add some comments to wxKeyCode; no real change
Francesco Montorsi [Fri, 30 Jan 2009 16:07:19 +0000 (16:07 +0000)] 
fix typo (missing closing brackets); add some comments to wxKeyCode; no real change

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

15 years agowxDFB: use Unix event loop and timers (fixes #10408)
Václav Slavík [Fri, 30 Jan 2009 15:21:47 +0000 (15:21 +0000)] 
wxDFB: use Unix event loop and timers (fixes #10408)

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

15 years agouse native conversions that are close to the native storage of wxString
Stefan Csomor [Fri, 30 Jan 2009 15:14:38 +0000 (15:14 +0000)] 
use native conversions that are close to the native storage of wxString

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

15 years agohandle EINTR when reading data from the wakeup pipe
Václav Slavík [Fri, 30 Jan 2009 14:56:08 +0000 (14:56 +0000)] 
handle EINTR when reading data from the wakeup pipe

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

15 years agos/wxUsleep/wxMilliSleep
Francesco Montorsi [Fri, 30 Jan 2009 11:22:19 +0000 (11:22 +0000)] 
s/wxUsleep/wxMilliSleep

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

15 years agoMove body of SetMinSize and SetMaxSize from header to cpp file for easier debugging...
Robert Roebling [Fri, 30 Jan 2009 09:49:29 +0000 (09:49 +0000)] 
Move body of SetMinSize and SetMaxSize from header to cpp file for easier debugging. The methods are virtual anyway.

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

15 years agoGive wxCollapsiblePane's pane a name for easier debugging
Robert Roebling [Fri, 30 Jan 2009 09:44:50 +0000 (09:44 +0000)] 
Give wxCollapsiblePane's pane a name for easier debugging

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

15 years agoMake GetEffectiveMinSize virtual as not being able to override the method, which...
Robert Roebling [Fri, 30 Jan 2009 09:37:14 +0000 (09:37 +0000)] 
Make GetEffectiveMinSize virtual as not being able to override the method, which the sizer system depends on, is inflexible

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

15 years agoinclude wx/generic/gridctrl.h too for compatibility
Vadim Zeitlin [Fri, 30 Jan 2009 09:08:37 +0000 (09:08 +0000)] 
include wx/generic/gridctrl.h too for compatibility

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

15 years agofix typo
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

15 years agoStore pointer to owning wxWindow in wxPizza widget
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

15 years agoDo not propagate key events from child controls unless they have modifiers
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

15 years agouse HandleWindowEvent() instead of ProcessEvent() to avoid crashes if the toolbar...
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

15 years agoFixed wxPropertyGridManager::CreatePropertyGrid(), corrected documentation about...
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

15 years agodon't fall back to the only currently existing document in wxDocManager::GetCurrentVi...
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

15 years agono changes, just corrected/completed a comment truncated in the last commit
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

15 years agono real changes, just minor refactoring and cleanup
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

15 years agodon't crash if we have no accelerators for the "Window" menu items
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

15 years agoadd wxHAS_MULTIPLE_FILEDLG_FILTERS symbol to be used instead of explicit tests for...
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

15 years agowxEpollDispatcher is in wxBase, not wxCore - fixed to use WXDLLIMPEXP_BASE
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

15 years agocorrect wxDateTime DST begin/end computations for years > 2006 in USA (closes #10425)
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

15 years agoanother fix for wxUSE_DRAG_AND_DROP==0 build
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

15 years agouse singular when documenting group of functions as the docs are automatically distri...
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

15 years agoAdding docs for new wx interface methods.
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

15 years agorename wxRendererNative::DrawRadioButton() to DrawOptionButton() to avoid conflict...
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

15 years agofix remaining cases of wxWindow::ProcessEvent() calls; add convenient ProcessWindowEv...
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

15 years agoFixes #10443: wxListCtrl::MoveToItem
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

15 years agoremove the recently added MSWFindMenuBarItem() as we already had FindItemInMenuBar...
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

15 years agono real changes, just small cleanup, in particular use more consistent variable names
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

15 years agodon't duplicate menu creation code in the parent and child frames
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

15 years agoUpdate OpenVMS compile support
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

15 years agobetter docs for wxDataViewColumn
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

15 years agofix doxygen warnings
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

15 years agodocument various enumerations defined in defs.h; give a name to the anonymous enum...
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

15 years agono real changes; just cosmetic
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

15 years agomove wxSizer docs to the beginning of the file, before derived classes
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

15 years agodefine a separate run-tests-with-timing tag
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

15 years agosmall reorganization; no real change
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

15 years agoApplied documentation typo/grammer corrections from charles (#10439).
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

15 years agoFixed the class diagrams javascript to initialize the dropdown button image to the...
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

15 years agoForward ported r58463. (Check for null text control in wxPickerBase fixing a focus...
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

15 years agorefactor WM_COMMAND messages handling in MDI frames to avoid duplicating code unneces...
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

15 years agoadded CreateAccelTable() helper which creates the accel table for just this menu
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

15 years agoadded template wxScopedArray<> too
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

15 years agoFix for GetScrollPos() assert
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

15 years agodon't do anything in SetWindowMenu() if we're setting the same menu as we already...
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

15 years agoyet another blind attempt to run tests with --timing option (or how adding a single...
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

15 years agoadd missing headers for PCH-less build
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

15 years agofix PCH builds
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

15 years agofix crash when calling InsertColumn() on a wxListCtrl with wxLC_NO_HEADER style
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

15 years agosmall cleanup; move private class definitions in a private header
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

15 years agoinclude wx/mdi.h also for non-PCH builds
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

15 years agoinclude wx/mdi.h also for non-PCH builds
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

15 years agoadd more wxUSE_MENUS guards
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

15 years agodon't include wx/mdi.h from wx/wx.h when building the library itself as it's only...
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

15 years agoAutomatically adjust toolbar's tool size if the provided bitmaps
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

15 years agouse a virtual function instead of wxDynamicCast(wxMDIParentFrame) in wxFrame code...
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

15 years agotest ShowFullScreen() to verify that restoring menu works correctly
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

15 years agochanged wxMSW's default toolbar bitmaps size from obsolete 16x15 to 24x24 used by...
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

15 years agodisable the "Next" and "Previous" commands in the window menu if we have a single...
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

15 years agocleanup a bit the wxSplashScreen code; don't Yield() on wxGTK as it's not needed...
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

15 years agotrying to make the tests run in trunk release build again
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

15 years agoRemoved queuedResize code again as GTK+ does this internally already
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

15 years agosuppress warning about unused win pointer when wxUSE_GRAPHICS_CONTEXT==0
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

15 years agoFixed the margins on the class diagram dropdown image after all images were globally...
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

15 years agoAdded wxPGChoices::Copy(), tweaked related documentation
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

15 years agoImplement hint cursor for resizable columns
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

15 years agouse --timing option with trunk build, not stable one
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

15 years agodisable utils compilation in stable STL builds as tex2rtf doesn't (and won't) build...
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

15 years agodon't show the currently hidden frame if Iconize() is called (see #10426)
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

15 years agodocument the correct base class
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

15 years agoinclude missing header (wx/msw/wrapcctl.h) for PCH-less build
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

15 years agoLittle correction to hand-made sizing
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

15 years agoFinally corrected drawing of wxListCtrl selection rect for GTK+
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

15 years agoMac build fixes after latest change (closes #10433)
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

15 years agodon't change the combobox text when it's being resized (see #10126)
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

15 years agoundo r58380 as it breaks tree control background repainting (see #9832)
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

15 years agocompilation fix for VC6 after last change; use wx naming conventions
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

15 years agoremove unused function and out of date comments (we don't use bsearch() any more)
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

15 years agofix state images after changing their style (see #9591)
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

15 years agouse GetBoundingRect() for the in place text control positioning instead of duplicatin...
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

15 years agocorrections to size calculations for state images (see #9591)
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

15 years agoremove duplicated HitTest implementation from wxCheckListBox, it already inherits...
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

15 years agouse correct item index for wxEVT_COMMAND_LISTBOX_DOUBLECLICKED events (see #10429)
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

15 years agoallow specifying the mask colour in wxImage::ConvertAlphaToMask() (closes #10143)
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

15 years agoorganize in groups wxAppConsole functions
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

15 years agoAdded XRC handler for wxComboCtrl (closes #10151)
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

15 years agoblind build fix for wxMac
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

15 years agoskip mouse events we're not interested in (e.g. mouse wheel ones) (closes #10062)
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

15 years agodon't use the not always appropriate word "document" in the save prompt (#10076)
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

15 years agodon't use _() in the public header in case WXINTL_NO_GETTEXT_MACRO is defined (closes...
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

15 years agoadd wxDrawStateBitmap() (closes #10289)
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

15 years agonotify the timers outside of loop over m_timers to avoid crashes if a timer event...
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

15 years agobuild fix
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

15 years agoadded support for wxCAL_SHOW_WEEK_NUMBERS to generic version of wxCalendarCtrl (...
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