wxWidgets.git
15 years agoRemoved extraneous semicolon (partly fixes #10456).
Stefan Neis [Sun, 1 Feb 2009 13:14:30 +0000 (13:14 +0000)] 
Removed extraneous semicolon (partly fixes #10456).

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

15 years agoanother wxUSE_DRAG_AND_DROP==0 compilation fix
Vadim Zeitlin [Sun, 1 Feb 2009 12:51:33 +0000 (12:51 +0000)] 
another wxUSE_DRAG_AND_DROP==0 compilation fix

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

15 years agoposition the popup on the correct screen (see #10462)
Vadim Zeitlin [Sun, 1 Feb 2009 12:42:49 +0000 (12:42 +0000)] 
position the popup on the correct screen (see #10462)

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

15 years agoset standard properties
Vadim Zeitlin [Sun, 1 Feb 2009 12:32:29 +0000 (12:32 +0000)] 
set standard properties

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

15 years agocheck for m_parentMenu being NULL in IsChecked/Checked/Enable() too (closes #10460)
Vadim Zeitlin [Sun, 1 Feb 2009 12:30:27 +0000 (12:30 +0000)] 
check for m_parentMenu being NULL in IsChecked/Checked/Enable() too (closes #10460)

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

15 years agofix a typo in comment
Francesco Montorsi [Sun, 1 Feb 2009 12:06:15 +0000 (12:06 +0000)] 
fix a typo in comment

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

15 years agoUse wxToolBar::SetToolBitmapSize() to setup tool bitmap size to match stock bitmaps
Jaakko Salli [Sun, 1 Feb 2009 11:18:53 +0000 (11:18 +0000)] 
Use wxToolBar::SetToolBitmapSize() to setup tool bitmap size to match stock bitmaps

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

15 years agoavoid warning
Stefan Csomor [Sun, 1 Feb 2009 09:17:20 +0000 (09:17 +0000)] 
avoid warning

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

15 years agofixing utf32 native conversion
Stefan Csomor [Sun, 1 Feb 2009 09:08:02 +0000 (09:08 +0000)] 
fixing utf32 native conversion

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

15 years agosimplify Refresh() and Update()
Paul Cornett [Sun, 1 Feb 2009 07:52:39 +0000 (07:52 +0000)] 
simplify Refresh() and Update()

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

15 years agoadding explicit log.h include
Stefan Csomor [Sun, 1 Feb 2009 06:25:32 +0000 (06:25 +0000)] 
adding explicit log.h include

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

15 years agofix drawing from Update() being overwritten, fixes wxBusyInfo not drawing properly...
Paul Cornett [Sun, 1 Feb 2009 06:20:54 +0000 (06:20 +0000)] 
fix drawing from Update() being overwritten, fixes wxBusyInfo not drawing properly without wxYield

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

15 years agoFixed compilation error on OS/2 (strnlen declaration was not visible).
Stefan Neis [Sun, 1 Feb 2009 06:08:56 +0000 (06:08 +0000)] 
Fixed compilation error on OS/2 (strnlen declaration was not visible).

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

15 years agoadding the GetEventHandler() indirection
Stefan Csomor [Sun, 1 Feb 2009 05:54:10 +0000 (05:54 +0000)] 
adding the GetEventHandler() indirection

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

15 years agoadding explicit log.h include
Stefan Csomor [Sun, 1 Feb 2009 05:38:03 +0000 (05:38 +0000)] 
adding explicit log.h include

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

15 years agoRemoved extraneous semicolons and commas (partly fixes #10456).
Stefan Neis [Sun, 1 Feb 2009 04:48:19 +0000 (04:48 +0000)] 
Removed extraneous semicolons and commas (partly fixes #10456).

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

15 years agoallow calling SetItemLabel() for menu items with NULL menu parent too
Vadim Zeitlin [Sat, 31 Jan 2009 23:16:55 +0000 (23:16 +0000)] 
allow calling SetItemLabel() for menu items with NULL menu parent too

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

15 years agolog error message in wxRmdir() for consistency with wxMkdir() and some code cleanup...
Vadim Zeitlin [Sat, 31 Jan 2009 22:56:02 +0000 (22:56 +0000)] 
log error message in wxRmdir() for consistency with wxMkdir() and some code cleanup (e.g. get rid of gly OS_FILENAME macro) (closes #10435)

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

15 years agodocument FindChildItem() (closes #10455)
Vadim Zeitlin [Sat, 31 Jan 2009 22:51:37 +0000 (22:51 +0000)] 
document FindChildItem() (closes #10455)

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

15 years agoattempt to fix DLL samples link with VC6 which has trouble instantiating template...
Vadim Zeitlin [Sat, 31 Jan 2009 22:47:28 +0000 (22:47 +0000)] 
attempt to fix DLL samples link with VC6 which has trouble instantiating template methods of dll-exported classes apparently

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

15 years agoallow calling SetItemLabel() for items not attached to the menu or menu bar yet ...
Vadim Zeitlin [Sat, 31 Jan 2009 22:46:43 +0000 (22:46 +0000)] 
allow calling SetItemLabel() for items not attached to the menu or menu bar yet (comment 9 of #10452)

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

15 years agoadd SetCharIncludes and SetCharExcludes utilities to wxTextValidator; use iterators...
Francesco Montorsi [Sat, 31 Jan 2009 22:41:51 +0000 (22:41 +0000)] 
add SetCharIncludes and SetCharExcludes utilities to wxTextValidator; use iterators when scanning wxStrings; fix typo in ContainsExcludedCharacters (reversed return values); modify the sample to show wxTextValidator with wxFILTER_EXCLUDE_CHAR_LIST

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

15 years agoload ImageList_Copy() dynamically to allow wx apps to start up under Win95 (state...
Vadim Zeitlin [Sat, 31 Jan 2009 21:54:11 +0000 (21:54 +0000)] 
load ImageList_Copy() dynamically to allow wx apps to start up under Win95 (state image display in wxTreeCtrl still won't work though)

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

15 years agocorrections after last commit, (see #10452 comment:6)
Vadim Zeitlin [Sat, 31 Jan 2009 21:53:03 +0000 (21:53 +0000)] 
corrections after last commit, (see #10452 comment:6)

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

15 years agobetter docs for wxValidator::SetWindow and Validate
Francesco Montorsi [Sat, 31 Jan 2009 21:28:24 +0000 (21:28 +0000)] 
better docs for wxValidator::SetWindow and Validate

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

15 years agogive better names to wxTextValidator::IsInCharIncludes and to wxTextValidator::IsNotI...
Francesco Montorsi [Sat, 31 Jan 2009 21:27:27 +0000 (21:27 +0000)] 
give better names to wxTextValidator::IsInCharIncludes and to wxTextValidator::IsNotInCharExcludes; add wxFILTER_SIMPLE_NUMBER style; remove specialized global helpers used by wxTextValidator in favour of wxStringCheck templated calls; better document the wxFILTER_* styles which use ctype standard functions

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

15 years agoa few typo-fix and cosmetic changes to wxFlexGridSizer docs
Francesco Montorsi [Sat, 31 Jan 2009 21:23:43 +0000 (21:23 +0000)] 
a few typo-fix and cosmetic changes to wxFlexGridSizer docs

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

15 years agoadd operator* taking doubles to wxSize
Francesco Montorsi [Sat, 31 Jan 2009 21:22:37 +0000 (21:22 +0000)] 
add operator* taking doubles to wxSize

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

15 years agoadd an example of a custom wxValidator-derived class; cleanup a bit the dialog layout
Francesco Montorsi [Sat, 31 Jan 2009 21:21:08 +0000 (21:21 +0000)] 
add an example of a custom wxValidator-derived class; cleanup a bit the dialog layout

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

15 years agoadd wxStringCheck templated utility function
Francesco Montorsi [Sat, 31 Jan 2009 21:19:37 +0000 (21:19 +0000)] 
add wxStringCheck templated utility function

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

15 years agofix warnings about conversion between DWORD and pointers in MSLU=1 build
Vadim Zeitlin [Sat, 31 Jan 2009 21:15:10 +0000 (21:15 +0000)] 
fix warnings about conversion between DWORD and pointers in MSLU=1 build

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

15 years agoForgot to commit
Robert Roebling [Sat, 31 Jan 2009 21:12:32 +0000 (21:12 +0000)] 
Forgot to commit

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

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