]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
15 years agodefine MIIM_BITMAP &c in wx/msw/missing.h instead of msw/menu.cpp as menuitem.cpp...
Vadim Zeitlin [Sat, 31 Jan 2009 20:52:44 +0000 (20:52 +0000)] 
define MIIM_BITMAP &c in wx/msw/missing.h instead of msw/menu.cpp as menuitem.cpp now needs them too

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

15 years agofix typo; document wxFlexSizerGrowMode
Francesco Montorsi [Sat, 31 Jan 2009 20:10:13 +0000 (20:10 +0000)] 
fix typo; document wxFlexSizerGrowMode

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

15 years agoDisable wxSIZE_FORCE_EVENT and demonstrate its bug in the wxCollapsiblePane sample
Robert Roebling [Sat, 31 Jan 2009 19:15:25 +0000 (19:15 +0000)] 
Disable wxSIZE_FORCE_EVENT and demonstrate its bug in the wxCollapsiblePane sample

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

15 years agoremove extra line breaks which prevents Doxygen from numbering list items correctly...
Vadim Zeitlin [Sat, 31 Jan 2009 18:28:04 +0000 (18:28 +0000)] 
remove extra line breaks which prevents Doxygen from numbering list items correctly (closes #10459)

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

15 years agouse margin width after updating it in OnMeasureItem() (see #10452)
Vadim Zeitlin [Sat, 31 Jan 2009 18:20:58 +0000 (18:20 +0000)] 
use margin width after updating it in OnMeasureItem() (see #10452)

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

15 years agodon't use built-in support for menu bitmaps if they are too big, they don't come...
Vadim Zeitlin [Sat, 31 Jan 2009 18:12:14 +0000 (18:12 +0000)] 
don't use built-in support for menu bitmaps if they are too big, they don't come out correctly then (see #10452)

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

15 years agouse SetMenuItemInfo() to update the item label to avoid reseting its bitmap and so...
Vadim Zeitlin [Sat, 31 Jan 2009 17:51:02 +0000 (17:51 +0000)] 
use SetMenuItemInfo() to update the item label to avoid reseting its bitmap and so use the same code for the desktop and CE versions (see #10452)

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

15 years agodon't list SetSelection() as being deprecated, it isn't
Vadim Zeitlin [Sat, 31 Jan 2009 17:14:41 +0000 (17:14 +0000)] 
don't list SetSelection() as being deprecated, it isn't

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

15 years agobetter define what an ASCII character is considered to be in IsAscii()
Francesco Montorsi [Sat, 31 Jan 2009 15:57:45 +0000 (15:57 +0000)] 
better define what an ASCII character is considered to be in IsAscii()

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

15 years agono real changes, just remove unnecessary code; use wxScopedArray instead of raw one
Vadim Zeitlin [Sat, 31 Jan 2009 14:04:23 +0000 (14:04 +0000)] 
no real changes, just remove unnecessary code; use wxScopedArray instead of raw one

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

15 years agodocument only char* variant of all string utility functions (don't use wxChar nor...
Francesco Montorsi [Sat, 31 Jan 2009 13:58:45 +0000 (13:58 +0000)] 
document only char* variant of all string utility functions (don't use wxChar nor templates; they're only confusing; add a note for the funcmacro_string group that all functions documented also have wchar_t variants; document wxStrnlen()

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

15 years agosay that use of _T() is discouraged in new code, just like wxT() is
Francesco Montorsi [Sat, 31 Jan 2009 13:57:05 +0000 (13:57 +0000)] 
say that use of _T() is discouraged in new code, just like wxT() is

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

15 years agodon't override the toolbar height with too small value
Vadim Zeitlin [Sat, 31 Jan 2009 13:53:50 +0000 (13:53 +0000)] 
don't override the toolbar height with too small value

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

15 years agoFixes #10437 (wxDataObjectComposite::Add may add objects having data formats that...
Robert Roebling [Sat, 31 Jan 2009 13:41:11 +0000 (13:41 +0000)] 
Fixes #10437 (wxDataObjectComposite::Add may add objects having data formats that already exist in the composite object)

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

15 years agoFixes #10432 (wxDataObjectComposite::GetAllFormats() does not work)
Robert Roebling [Sat, 31 Jan 2009 13:36:32 +0000 (13:36 +0000)] 
Fixes  #10432 (wxDataObjectComposite::GetAllFormats() does not work)

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

15 years agoCommit Hartwig's patch for DnD in wxDataViewCtrl
Robert Roebling [Sat, 31 Jan 2009 13:29:21 +0000 (13:29 +0000)] 
Commit Hartwig's patch for DnD in wxDataViewCtrl

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

15 years agohttp://trac.wxwidgets.org/ticket/10457 fix
Chris Elliott [Sat, 31 Jan 2009 13:28:51 +0000 (13:28 +0000)] 
http://trac.wxwidgets.org/ticket/10457 fix

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

15 years agoinclude errno.h to fix buildbot compilation
Vadim Zeitlin [Sat, 31 Jan 2009 13:22:49 +0000 (13:22 +0000)] 
include errno.h to fix buildbot compilation

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

15 years agoremove anchor colouring not only for H2 but also for H3 and H4
Francesco Montorsi [Sat, 31 Jan 2009 12:52:51 +0000 (12:52 +0000)] 
remove anchor colouring not only for H2 but also for H3 and H4

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

15 years agoFixed broken 'hidden categories' mode (aka. alphabetic mode); Added distinct names...
Jaakko Salli [Sat, 31 Jan 2009 11:48:28 +0000 (11:48 +0000)] 
Fixed broken 'hidden categories' mode (aka. alphabetic mode); Added distinct names and labels for the two root properties (to help with debugging); Refactored wxPropertyGridState::DoInsert()

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

15 years agodon't include private headers from wx/unix/evtloop.h
Václav Slavík [Sat, 31 Jan 2009 10:58:10 +0000 (10:58 +0000)] 
don't include private headers from wx/unix/evtloop.h

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

15 years agoExplain reasoning behind using wxSIZE_FORCE_EVENT
Robert Roebling [Fri, 30 Jan 2009 23:23:31 +0000 (23:23 +0000)] 
Explain reasoning behind using wxSIZE_FORCE_EVENT

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

15 years agoDon't call SetMinSize() on the pane as this prevents GetBestSize() from ever calling...
Robert Roebling [Fri, 30 Jan 2009 23:04:17 +0000 (23:04 +0000)] 
Don't call SetMinSize() on the pane as this prevents GetBestSize() from ever calling DoGetBestSize() again

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

15 years agoRemove debug code
Robert Roebling [Fri, 30 Jan 2009 23:03:01 +0000 (23:03 +0000)] 
Remove debug code

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

15 years agoReorganize wxCollapsiblePane event and layout code under GTK+
Robert Roebling [Fri, 30 Jan 2009 22:40:42 +0000 (22:40 +0000)] 
Reorganize wxCollapsiblePane event and layout code under GTK+

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

15 years agoDisableSaving/Restoring() should be void, not bool
Vadim Zeitlin [Fri, 30 Jan 2009 22:10:14 +0000 (22:10 +0000)] 
DisableSaving/Restoring() should be void, not bool

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

15 years agoadd support for persistent controls
Vadim Zeitlin [Fri, 30 Jan 2009 21:38:29 +0000 (21:38 +0000)] 
add support for persistent controls

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

15 years agoworkaround for crashes in release builds
Stefan Csomor [Fri, 30 Jan 2009 20:58:08 +0000 (20:58 +0000)] 
workaround for crashes in release builds

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

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