wxWidgets.git
15 years agoadd window-modal dialog calls and fallback implementation
Stefan Csomor [Wed, 13 May 2009 07:01:51 +0000 (07:01 +0000)] 
add window-modal dialog calls and fallback implementation

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

15 years agofiles are replaced by dataview implementations
Stefan Csomor [Tue, 12 May 2009 19:56:21 +0000 (19:56 +0000)] 
files are replaced by dataview implementations

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

15 years agoCygwin doesn't have std::wstring nor std::wostream
Vadim Zeitlin [Tue, 12 May 2009 17:08:45 +0000 (17:08 +0000)] 
Cygwin doesn't have std::wstring nor std::wostream

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

15 years agoVC6 compilation fix (thanks buildbot)
Vadim Zeitlin [Tue, 12 May 2009 14:10:06 +0000 (14:10 +0000)] 
VC6 compilation fix (thanks buildbot)

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

15 years agoadd missing wxUSE_DEFERRED_SIZING tests (closes #10766)
Vadim Zeitlin [Tue, 12 May 2009 12:22:42 +0000 (12:22 +0000)] 
add missing wxUSE_DEFERRED_SIZING tests (closes #10766)

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

15 years agoignore MSVC workspace/solution files in these directories too
Vadim Zeitlin [Tue, 12 May 2009 10:13:23 +0000 (10:13 +0000)] 
ignore MSVC workspace/solution files in these directories too

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

15 years agoadd MSVC project files to svn for consistency
Vadim Zeitlin [Tue, 12 May 2009 10:11:42 +0000 (10:11 +0000)] 
add MSVC project files to svn for consistency

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

15 years agodon't update stc.h when not building the library, it doesn't make sense to do this...
Vadim Zeitlin [Tue, 12 May 2009 09:13:36 +0000 (09:13 +0000)] 
don't update stc.h when not building the library, it doesn't make sense to do this in the samples makefiles

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

15 years agowxActiveX files are low level as there is no wxUniv equivalent for this functionality...
Vadim Zeitlin [Tue, 12 May 2009 08:59:57 +0000 (08:59 +0000)] 
wxActiveX files are low level as there is no wxUniv equivalent for this functionality (closes #10786 as this resulted in link errors when building wxMedia/Univ before)

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

15 years agodeclaration of sendevent should be equal in grid.cpp and grid.h
Jouk Jansen [Tue, 12 May 2009 06:25:42 +0000 (06:25 +0000)] 
declaration of sendevent should be equal in grid.cpp and grid.h

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

15 years agofixed wxRadioBox positioning to take the client area origin into account; also simpli...
Vadim Zeitlin [Mon, 11 May 2009 21:54:34 +0000 (21:54 +0000)] 
fixed wxRadioBox positioning to take the client area origin into account; also simplified the code to avoid duplication with the base class version

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

15 years agoForgot to commit header as part of r60586, Reapplied some previous patches
Robert Roebling [Mon, 11 May 2009 12:53:19 +0000 (12:53 +0000)] 
Forgot to commit header as part of r60586, Reapplied some previous patches

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

15 years agoReapplied some previous patches that got lost while merging the Cocoa implementation
Robert Roebling [Mon, 11 May 2009 11:28:55 +0000 (11:28 +0000)] 
Reapplied some previous patches that got lost while merging the Cocoa implementation

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

15 years agomoving all dataview files to advanced
Stefan Csomor [Sun, 10 May 2009 19:44:59 +0000 (19:44 +0000)] 
moving all dataview files to advanced

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

15 years agoexporting methods properly
Stefan Csomor [Sun, 10 May 2009 19:43:39 +0000 (19:43 +0000)] 
exporting methods properly

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

15 years agodon't assume that we use timer proc with WM_TIMER as we don't any more (since r60296...
Vadim Zeitlin [Sat, 9 May 2009 23:10:20 +0000 (23:10 +0000)] 
don't assume that we use timer proc with WM_TIMER as we don't any more (since r60296) (closes #10764 for trunk)

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

15 years agocommenting out uncompilable code
Stefan Csomor [Sat, 9 May 2009 20:35:32 +0000 (20:35 +0000)] 
commenting out uncompilable code

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

15 years agofixing dataview entries
Stefan Csomor [Sat, 9 May 2009 20:30:17 +0000 (20:30 +0000)] 
fixing dataview entries

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

15 years agodon't check for connected state of UDP sockets which are never connected (closes...
Vadim Zeitlin [Sat, 9 May 2009 17:26:35 +0000 (17:26 +0000)] 
don't check for connected state of UDP sockets which are never connected (closes #10717)

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

15 years agocompilation fix for Windows after the last change (misplaced #endif)
Vadim Zeitlin [Sat, 9 May 2009 17:25:27 +0000 (17:25 +0000)] 
compilation fix for Windows after the last change (misplaced #endif)

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

15 years agoadded UDP test (see #10717)
Vadim Zeitlin [Sat, 9 May 2009 17:23:43 +0000 (17:23 +0000)] 
added UDP test (see #10717)

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

15 years agodon't use GetParent() in GetParentForModalDialog() itself as it can be called before...
Vadim Zeitlin [Sat, 9 May 2009 16:55:37 +0000 (16:55 +0000)] 
don't use GetParent() in GetParentForModalDialog() itself as it can be called before m_parent is initialized

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

15 years agoadapting to new font method
Stefan Csomor [Sat, 9 May 2009 14:45:03 +0000 (14:45 +0000)] 
adapting to new font method

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

15 years agodon't call Disconnect() if the connection had been already lost (closes #10747)
Vadim Zeitlin [Sat, 9 May 2009 13:19:59 +0000 (13:19 +0000)] 
don't call Disconnect() if the connection had been already lost (closes #10747)

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

15 years agoinitialize the local address before calling getsockname() on it (closes #10779)
Vadim Zeitlin [Sat, 9 May 2009 13:07:21 +0000 (13:07 +0000)] 
initialize the local address before calling getsockname() on it (closes #10779)

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

15 years agoadd tests for GetLocal() and GetPeer() (see #10779)
Vadim Zeitlin [Sat, 9 May 2009 13:06:25 +0000 (13:06 +0000)] 
add tests for GetLocal() and GetPeer() (see #10779)

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

15 years agoremove unneeded wxFindSuitableParent()
Vadim Zeitlin [Sat, 9 May 2009 12:57:00 +0000 (12:57 +0000)] 
remove unneeded wxFindSuitableParent()

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

15 years agotypo fix (closes #10699)
Francesco Montorsi [Sat, 9 May 2009 12:42:59 +0000 (12:42 +0000)] 
typo fix (closes #10699)

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

15 years agoadd a few comments about wxDEPRECATED stuff to ease upgrade path (closes #10628)
Francesco Montorsi [Sat, 9 May 2009 12:41:31 +0000 (12:41 +0000)] 
add a few comments about wxDEPRECATED stuff to ease upgrade path (closes #10628)

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

15 years agoadd new predefined colour (and relative brush/pen): wxYELLOW (closes #10669)
Francesco Montorsi [Sat, 9 May 2009 12:40:09 +0000 (12:40 +0000)] 
add new predefined colour (and relative brush/pen): wxYELLOW (closes #10669)

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

15 years agobuild fix for gcc4.3.3 (different types for arguments of ?: operator)
Francesco Montorsi [Sat, 9 May 2009 12:32:26 +0000 (12:32 +0000)] 
build fix for gcc4.3.3 (different types for arguments of ?: operator)

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

15 years agoremove another occurrence of FindSuitableParent
Vadim Zeitlin [Sat, 9 May 2009 12:31:16 +0000 (12:31 +0000)] 
remove another occurrence of FindSuitableParent

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

15 years agoremove wxMSW-specific FindSuitableParent() and use GetParentForModalDialog() everywhe...
Vadim Zeitlin [Sat, 9 May 2009 12:26:15 +0000 (12:26 +0000)] 
remove wxMSW-specific FindSuitableParent() and use GetParentForModalDialog() everywhere; extend it with additional checks and remove redundant ones elsewhere

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

15 years agoset wxWS_EX_TRANSIENT flag for splash screen to prevent it from being implicitly...
Vadim Zeitlin [Sat, 9 May 2009 12:22:45 +0000 (12:22 +0000)] 
set wxWS_EX_TRANSIENT flag for splash screen to prevent it from being implicitly used as dialog parent

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

15 years agocheck for Python and disable automatic STC files updating which requires it if it...
Vadim Zeitlin [Fri, 8 May 2009 23:12:57 +0000 (23:12 +0000)] 
check for Python and disable automatic STC files updating which requires it if it's not available

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

15 years agocorrections to setting the height of the visible part of wxChoice after recent changes
Vadim Zeitlin [Fri, 8 May 2009 19:45:31 +0000 (19:45 +0000)] 
corrections to setting the height of the visible part of wxChoice after recent changes

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

15 years agoAdd wxDataViewCtrl implementation for OSX/Cocoa (closes #10617: wxDataView for wxOSX...
Robert Roebling [Fri, 8 May 2009 17:07:50 +0000 (17:07 +0000)] 
Add wxDataViewCtrl implementation for OSX/Cocoa (closes #10617: wxDataView for wxOSX-Cocoa)

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

15 years agoremove error message from wxCSConv initialization: there is no easy way to suppress...
Vadim Zeitlin [Fri, 8 May 2009 16:38:39 +0000 (16:38 +0000)] 
remove error message from wxCSConv initialization: there is no easy way to suppress it and no way to test if the encoding is supported so rely on calling code using IsOk() itself if necessary

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

15 years agoadd support for loading wxListCtrl items and wxImageLists from XRC (closes #10647)
Vadim Zeitlin [Thu, 7 May 2009 17:29:57 +0000 (17:29 +0000)] 
add support for loading wxListCtrl items and wxImageLists from XRC (closes #10647)

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

15 years agogenerate the click event from the button with correct id if SetEscapeId() was called...
Vadim Zeitlin [Thu, 7 May 2009 17:09:21 +0000 (17:09 +0000)] 
generate the click event from the button with correct id if SetEscapeId() was called instead of always using wxID_CANCEL (closes #10746)

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

15 years agoadd SetEscapeId() test (see #10746)
Vadim Zeitlin [Thu, 7 May 2009 17:01:59 +0000 (17:01 +0000)] 
add SetEscapeId() test (see #10746)

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

15 years agodocument that setting an empty clipping region destroys the existing one
Vadim Zeitlin [Thu, 7 May 2009 08:58:54 +0000 (08:58 +0000)] 
document that setting an empty clipping region destroys the existing one

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

15 years agoafter rebake with new files.bkl
Stefan Csomor [Thu, 7 May 2009 07:49:09 +0000 (07:49 +0000)] 
after rebake with new files.bkl

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

15 years agoexplicitly export symbols
Stefan Csomor [Thu, 7 May 2009 07:39:43 +0000 (07:39 +0000)] 
explicitly export symbols

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

15 years agofixing usage of common generic files for all osx_ ports, adding webkit to common...
Stefan Csomor [Thu, 7 May 2009 06:23:20 +0000 (06:23 +0000)] 
fixing usage of common generic files for all osx_ ports, adding webkit to common osx files

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

15 years agofirst stab at having webkit under osx_cocoa working
Stefan Csomor [Wed, 6 May 2009 18:22:04 +0000 (18:22 +0000)] 
first stab at having webkit under osx_cocoa working

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

15 years agodraw focus rect for wxCheckListBox item
Paul Cornett [Wed, 6 May 2009 16:04:20 +0000 (16:04 +0000)] 
draw focus rect for wxCheckListBox item

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

15 years agofix off-by-one size of wxCheckListBox item draw rect
Paul Cornett [Wed, 6 May 2009 15:51:09 +0000 (15:51 +0000)] 
fix off-by-one size of wxCheckListBox item draw rect

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

15 years agofixing osx_carbon guard
Stefan Csomor [Wed, 6 May 2009 15:41:41 +0000 (15:41 +0000)] 
fixing osx_carbon guard

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

15 years agoenable wxHAS_RAW_BITMAP for OpenWatcom 1.8 and later
Vadim Zeitlin [Wed, 6 May 2009 11:42:16 +0000 (11:42 +0000)] 
enable wxHAS_RAW_BITMAP for OpenWatcom 1.8 and later

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

15 years agobuild fixes for wxUSE_CONFIG==0
Paul Cornett [Wed, 6 May 2009 03:08:33 +0000 (03:08 +0000)] 
build fixes for wxUSE_CONFIG==0

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

15 years agouse <bitmapsize> to load bitmaps at the specified size in wxToolBar's XRC handler
Václav Slavík [Tue, 5 May 2009 18:23:04 +0000 (18:23 +0000)] 
use <bitmapsize> to load bitmaps at the specified size in wxToolBar's XRC handler

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

15 years agofixed deadlock when posting events from another thread to wxDFB (patch from #10408...
Václav Slavík [Tue, 5 May 2009 16:09:40 +0000 (16:09 +0000)] 
fixed deadlock when posting events from another thread to wxDFB (patch from #10408 by Anders Larsen)

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

15 years agodon't duplicate wxGetTopLevelParent() code in wxHtmlHelpController::FindTopLevelWindow()
Vadim Zeitlin [Mon, 4 May 2009 10:23:52 +0000 (10:23 +0000)] 
don't duplicate wxGetTopLevelParent() code in wxHtmlHelpController::FindTopLevelWindow()

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

15 years agodon't use deprecated EVT_GRID_CELL_CHANGED synonym
Vadim Zeitlin [Mon, 4 May 2009 10:14:06 +0000 (10:14 +0000)] 
don't use deprecated EVT_GRID_CELL_CHANGED synonym

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

15 years agofix placement of wxStaticBox contents also under wxMSW, when using the (new) approach...
Francesco Montorsi [Sun, 3 May 2009 22:27:48 +0000 (22:27 +0000)] 
fix placement of wxStaticBox contents also under wxMSW, when using the (new) approach (i.e. when creating wxStaticBox contents as children of the staticbox itself, instead of as siblings)

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

15 years agoremoved the now unnecessary WX_CPPUNIT_ALLOW_EQUALS_TO_INT(wxFileOffset)
Vadim Zeitlin [Sun, 3 May 2009 11:36:04 +0000 (11:36 +0000)] 
removed the now unnecessary WX_CPPUNIT_ALLOW_EQUALS_TO_INT(wxFileOffset)

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

15 years agoallow comparison of int with 64 bit integer type (see #10637)
Vadim Zeitlin [Sun, 3 May 2009 09:59:31 +0000 (09:59 +0000)] 
allow comparison of int with 64 bit integer type (see #10637)

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

15 years agoVC6 compilation fixes
Vadim Zeitlin [Sun, 3 May 2009 09:29:22 +0000 (09:29 +0000)] 
VC6 compilation fixes

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

15 years agocorrect a typo in a comment in the example (see #10637)
Vadim Zeitlin [Sun, 3 May 2009 09:29:13 +0000 (09:29 +0000)] 
correct a typo in a comment in the example (see #10637)

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

15 years agoadd missing fn_str() calls to fix wxUSE_STL=1 wxWinCE build
Vadim Zeitlin [Sun, 3 May 2009 07:57:11 +0000 (07:57 +0000)] 
add missing fn_str() calls to fix wxUSE_STL=1 wxWinCE build

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

15 years agostd::streamoff is just a (32 bit) long under Win32 with MSVC so extra WX_CPPUNIT_ALLO...
Vadim Zeitlin [Sun, 3 May 2009 07:52:49 +0000 (07:52 +0000)] 
std::streamoff is just a (32 bit) long under Win32 with MSVC so extra WX_CPPUNIT_ALLOW_EQUALS_TO_INT(std::streamoff) is not needed in this case; this also seems to be the case for Borland and Watcom so assume this is always so for Windows compilers

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

15 years agotest whether wxHAS_EVENT_BIND is supported in wx/features.h itself, not wx/chkconf...
Vadim Zeitlin [Sun, 3 May 2009 07:44:44 +0000 (07:44 +0000)] 
test whether wxHAS_EVENT_BIND is supported in wx/features.h itself, not wx/chkconf.h as the former is included after the latter and so the check was done too early and wxHAS_EVENT_BIND was always defined

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

15 years agocheck for wxHAS_EVENT_BIND instead of its converse; updated/coorected some comments
Vadim Zeitlin [Sun, 3 May 2009 07:43:28 +0000 (07:43 +0000)] 
check for wxHAS_EVENT_BIND instead of its converse; updated/coorected some comments

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

15 years agoremove mentions of wxEVENTS_COMPATIBILITY_2_8
Vadim Zeitlin [Sun, 3 May 2009 07:43:00 +0000 (07:43 +0000)] 
remove mentions of wxEVENTS_COMPATIBILITY_2_8

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

15 years agooptimized <object_ref> handling for the common case of simple reference with no overw...
Václav Slavík [Sun, 3 May 2009 07:10:23 +0000 (07:10 +0000)] 
optimized <object_ref> handling for the common case of simple reference with no overwrites

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

15 years agofixed XRC errors location reporting when using <object_ref>
Václav Slavík [Sun, 3 May 2009 07:00:24 +0000 (07:00 +0000)] 
fixed  XRC errors location reporting when using <object_ref>

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

15 years agoSeparate the parts of make_bindings.py out into common parts, and SWIG and SIP specif...
Kevin Ollivier [Sat, 2 May 2009 23:07:51 +0000 (23:07 +0000)] 
Separate the parts of make_bindings.py out into common parts, and SWIG and SIP specific parts.

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

15 years agoMove the scripts into a separate directory and commit initial start on automatic...
Kevin Ollivier [Sat, 2 May 2009 22:26:40 +0000 (22:26 +0000)] 
Move the scripts into a separate directory and commit initial start on automatic bindings generator.

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

15 years agoAdd the ability to query if a class is derived from another class.
Kevin Ollivier [Sat, 2 May 2009 22:20:40 +0000 (22:20 +0000)] 
Add the ability to query if a class is derived from another class.

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

15 years agofix typo (see #10637)
Vadim Zeitlin [Sat, 2 May 2009 21:59:03 +0000 (21:59 +0000)] 
fix typo (see #10637)

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

15 years ago(Forward port from 2.8) Allow m_current to be used for the focused item, and reset...
Kevin Ollivier [Sat, 2 May 2009 18:59:28 +0000 (18:59 +0000)] 
(Forward port from 2.8) Allow m_current to be used for the focused item, and reset the scroll position when removing all items from the data browser control.

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

15 years agoadded wxStd{In,Out}putStream classes (closes #10637)
Vadim Zeitlin [Sat, 2 May 2009 18:29:33 +0000 (18:29 +0000)] 
added wxStd{In,Out}putStream classes (closes #10637)

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

15 years agoupdate for bakefile 0.2.6
Vadim Zeitlin [Sat, 2 May 2009 17:54:45 +0000 (17:54 +0000)] 
update for bakefile 0.2.6

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

15 years agodon't use dialog size gripper under CE (should close #10765)
Vadim Zeitlin [Sat, 2 May 2009 17:06:39 +0000 (17:06 +0000)] 
don't use dialog size gripper under CE (should close #10765)

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

15 years agouse correct Windows CE version number in strnlen() check (really closes #10763)
Vadim Zeitlin [Sat, 2 May 2009 16:17:00 +0000 (16:17 +0000)] 
use correct Windows CE version number in strnlen() check (really closes #10763)

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

15 years agodon't use access declarations with Watcom which doesn't support them correctly (close...
Vadim Zeitlin [Sat, 2 May 2009 15:31:14 +0000 (15:31 +0000)] 
don't use access declarations with Watcom which doesn't support them correctly (closes #10749)

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

15 years agoallow passing temporary functors to Bind() too (closes #10653)
Vadim Zeitlin [Sat, 2 May 2009 15:28:16 +0000 (15:28 +0000)] 
allow passing temporary functors to Bind() too (closes #10653)

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

15 years agoWinCE doesn't provide strnlen/wcsnlen() until version 6.0 (closes #10763)
Vadim Zeitlin [Sat, 2 May 2009 15:25:38 +0000 (15:25 +0000)] 
WinCE doesn't provide strnlen/wcsnlen() until version 6.0 (closes #10763)

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

15 years agofix for crash when undocking AUI toolbars (same as r59107 in 2.8 branch)
Benjamin Williams [Sat, 2 May 2009 15:09:24 +0000 (15:09 +0000)] 
fix for crash when undocking AUI toolbars (same as r59107 in 2.8 branch)

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

15 years agoreverting r43119, fixes #10752
Stefan Csomor [Sat, 2 May 2009 13:44:48 +0000 (13:44 +0000)] 
reverting r43119, fixes #10752

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

15 years agokeep {Left,Middle,Right}Down() methods of wxMouseState which were present in 2.9...
Vadim Zeitlin [Sat, 2 May 2009 13:10:38 +0000 (13:10 +0000)] 
keep {Left,Middle,Right}Down() methods of wxMouseState which were present in 2.9; just deprecate them in favour of the new XXXIsDown() ones (see #10756)

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

15 years agoon wxWinCE don't use some message constants since they're not defined there (closes...
Francesco Montorsi [Sat, 2 May 2009 13:09:08 +0000 (13:09 +0000)] 
on wxWinCE don't use some message constants since they're not defined there (closes #10759)

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

15 years agoimprovements to wxEventFunctor classes; use wxHAS_EVENT_BIND instead of wxEVENTS_COMP...
Vadim Zeitlin [Sat, 2 May 2009 12:52:54 +0000 (12:52 +0000)] 
improvements to wxEventFunctor classes; use wxHAS_EVENT_BIND instead of wxEVENTS_COMPATIBILITY_2_8 (see #10653)

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

15 years agoadded missing headers for PCH-less compilation
Vadim Zeitlin [Sat, 2 May 2009 11:06:38 +0000 (11:06 +0000)] 
added missing headers for PCH-less compilation

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

15 years agoFixed bug: wxPropertyGridInterface::SetPropertyReadOnly() with wxPG_DONT_RECURSE...
Jaakko Salli [Sat, 2 May 2009 07:41:21 +0000 (07:41 +0000)] 
Fixed bug: wxPropertyGridInterface::SetPropertyReadOnly() with wxPG_DONT_RECURSE flag didn't do anything

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

15 years agorename wxGrid::SendSizeEvent() to SendGridSizeEvent() to avoid warnings about conflic...
Vadim Zeitlin [Fri, 1 May 2009 22:59:58 +0000 (22:59 +0000)] 
rename wxGrid::SendSizeEvent() to SendGridSizeEvent() to avoid warnings about conflicts with base wxWindow class method with the same name

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

15 years agoadded wxMouseEventsManager
Vadim Zeitlin [Fri, 1 May 2009 22:52:33 +0000 (22:52 +0000)] 
added wxMouseEventsManager

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

15 years agoput wx{Keyboard,Mouse}State in events category instead of misc one
Vadim Zeitlin [Fri, 1 May 2009 22:37:14 +0000 (22:37 +0000)] 
put wx{Keyboard,Mouse}State in events category instead of misc one

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

15 years agoimplement changing wxChoice and wxComboBox height
Vadim Zeitlin [Fri, 1 May 2009 21:49:43 +0000 (21:49 +0000)] 
implement changing wxChoice and wxComboBox height

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

15 years agoadded MSWEndDeferWindowPos(); renamed USE_DEFERRED_SIZING to wxUSE_DEFERRED_SIZING...
Vadim Zeitlin [Fri, 1 May 2009 21:48:10 +0000 (21:48 +0000)] 
added MSWEndDeferWindowPos(); renamed USE_DEFERRED_SIZING to wxUSE_DEFERRED_SIZING and moved it to the header

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

15 years agofix for placement of wxStaticBox childrens (which doesn't affect the placement of...
Francesco Montorsi [Fri, 1 May 2009 15:28:58 +0000 (15:28 +0000)] 
fix for placement of wxStaticBox childrens (which doesn't affect the placement of the siblings) when using wxStaticBoxSizer

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

15 years agodon't place NULL pointers in the GDK window array in GTKGetWindow()
Francesco Montorsi [Fri, 1 May 2009 14:15:13 +0000 (14:15 +0000)] 
don't place NULL pointers in the GDK window array in GTKGetWindow()

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

15 years agono changes, just remove #if'd out code
Vadim Zeitlin [Fri, 1 May 2009 12:50:25 +0000 (12:50 +0000)] 
no changes, just remove #if'd out code

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

15 years agodon't generate CE projects for tests/benchmarks
Vadim Zeitlin [Fri, 1 May 2009 10:14:15 +0000 (10:14 +0000)] 
don't generate CE projects for tests/benchmarks

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

15 years agocompilation fix after wxMouseState changes (closes #10756)
Vadim Zeitlin [Thu, 30 Apr 2009 12:23:00 +0000 (12:23 +0000)] 
compilation fix after wxMouseState changes (closes #10756)

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

15 years agoshow the new size of the grid row/col which was resized (test for r60435 changes)
Vadim Zeitlin [Wed, 29 Apr 2009 22:00:54 +0000 (22:00 +0000)] 
show the new size of the grid row/col which was resized (test for r60435 changes)

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

15 years agogenerate wxEVT_GRID_{COL,ROW}_SIZE events when the user double clicks the separating...
Vadim Zeitlin [Wed, 29 Apr 2009 21:59:10 +0000 (21:59 +0000)] 
generate wxEVT_GRID_{COL,ROW}_SIZE events when the user double clicks the separating line too; do not generate these events if the size didn't really change (further improvements to grid events are possible and remain needed, see #10754)

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

15 years agono changes, just use an accessor method instead of using wxMouseEvent member variable...
Vadim Zeitlin [Wed, 29 Apr 2009 21:43:09 +0000 (21:43 +0000)] 
no changes, just use an accessor method instead of using wxMouseEvent member variables directly

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

15 years agodon't duplicate wxMouseState in wxMouseEvent but reuse its methods and variables...
Vadim Zeitlin [Wed, 29 Apr 2009 21:42:30 +0000 (21:42 +0000)] 
don't duplicate wxMouseState in wxMouseEvent but reuse its methods and variables (somehow this was never done when wxMouseState was introduced)

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