wxWidgets.git
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

15 years agofix conversion of wxString to data in AddFileWithMimeType(wxString, wxString) overloa...
Vadim Zeitlin [Tue, 28 Apr 2009 12:23:48 +0000 (12:23 +0000)] 
fix conversion of wxString to data in AddFileWithMimeType(wxString, wxString) overload in Unicode build

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

15 years agoDo not use Tooltips if they are disabled
Jouk Jansen [Tue, 28 Apr 2009 11:13:11 +0000 (11:13 +0000)] 
Do not use Tooltips if they are disabled

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

15 years agoCompilo
Robert Roebling [Tue, 28 Apr 2009 09:39:52 +0000 (09:39 +0000)] 
Compilo

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

15 years agoadded missing @ref after last change
Vadim Zeitlin [Mon, 27 Apr 2009 21:44:38 +0000 (21:44 +0000)] 
added missing @ref after last change

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

15 years agoFix typo.
Michael Wetherell [Mon, 27 Apr 2009 20:05:13 +0000 (20:05 +0000)] 
Fix typo.

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

15 years agocorrect SetFont() documentation: at least wxMSW and wxGTK do allow the user to pass...
Francesco Montorsi [Mon, 27 Apr 2009 18:44:42 +0000 (18:44 +0000)] 
correct SetFont() documentation: at least wxMSW and wxGTK do allow the user to pass wxNullFont (or another invalid font instance) (see #10475)

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

15 years agomake it possible to forward declare the class defined by WX_DECLARE_HASH_SET (fixes...
Vadim Zeitlin [Mon, 27 Apr 2009 13:26:19 +0000 (13:26 +0000)] 
make it possible to forward declare the class defined by WX_DECLARE_HASH_SET (fixes the build on systems where unordered_set is available after r60408)

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

15 years agoadd a possibility to disable individual grid rows/columns resizing
Vadim Zeitlin [Sun, 26 Apr 2009 17:02:53 +0000 (17:02 +0000)] 
add a possibility to disable individual grid rows/columns resizing

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

15 years agowxHashSet::count() method should be const
Vadim Zeitlin [Sun, 26 Apr 2009 16:50:24 +0000 (16:50 +0000)] 
wxHashSet::count() method should be const

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

15 years agoadded short col/row resizing overview
Vadim Zeitlin [Sun, 26 Apr 2009 15:50:19 +0000 (15:50 +0000)] 
added short col/row resizing overview

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

15 years agopass parent argument of wxAboutBox to wxGenericAboutDialog ctor under GTK/Mac too
Vadim Zeitlin [Sun, 26 Apr 2009 15:28:31 +0000 (15:28 +0000)] 
pass parent argument of wxAboutBox to wxGenericAboutDialog ctor under GTK/Mac too

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

15 years agoadded missing parent parameter to Cocoa version of wxAboutBox(); also pass it to...
Vadim Zeitlin [Sun, 26 Apr 2009 14:59:36 +0000 (14:59 +0000)] 
added missing parent parameter to Cocoa version of wxAboutBox(); also pass it to the generic version in both Cocoa and Carbon versions

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

15 years agoset eol style correctly (see #10745)
Vadim Zeitlin [Sun, 26 Apr 2009 19:41:08 +0000 (19:41 +0000)] 
set eol style correctly (see #10745)

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

15 years agouse svn:eol-style instead of eol:style (see #10745)
Vadim Zeitlin [Sun, 26 Apr 2009 19:36:36 +0000 (19:36 +0000)] 
use svn:eol-style instead of eol:style (see #10745)

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

15 years agoadd missing wx/module.h header to fix PCH-less build (closes #10743)
Vadim Zeitlin [Sun, 26 Apr 2009 19:12:01 +0000 (19:12 +0000)] 
add missing wx/module.h header to fix PCH-less build (closes #10743)

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

15 years agoset more svn properties for the files which didn't have them set correctly
Vadim Zeitlin [Sun, 26 Apr 2009 18:43:48 +0000 (18:43 +0000)] 
set more svn properties for the files which didn't have them set correctly

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

15 years agofix a problem with loading inked.dll (see #10633)
Vadim Zeitlin [Sun, 26 Apr 2009 18:41:02 +0000 (18:41 +0000)] 
fix a problem with loading inked.dll (see #10633)

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

15 years agofix yet another typo
Francesco Montorsi [Sun, 26 Apr 2009 16:24:03 +0000 (16:24 +0000)] 
fix yet another typo

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

15 years agomention that calling SetFaceName() with an invalid facename will invalidate the font...
Francesco Montorsi [Sun, 26 Apr 2009 15:01:28 +0000 (15:01 +0000)] 
mention that calling SetFaceName() with an invalid facename will invalidate the font object (see #10475)

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

15 years agomake clear that wxFont::SetFamily() does change the font face name, too (not only...
Francesco Montorsi [Sun, 26 Apr 2009 14:55:07 +0000 (14:55 +0000)] 
make clear that wxFont::SetFamily() does change the font face name, too (not only on wxGTK, also in wxMSW); reorganize docs for wxFont using doxygen groups; mention that GetFamily() is not very useful and returns a lot of times wxFONTFAMILY_UNKNOWN

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

15 years agotypo fix (strangely VC9 doesn't consider it an error)
Francesco Montorsi [Sun, 26 Apr 2009 14:38:55 +0000 (14:38 +0000)] 
typo fix (strangely VC9 doesn't consider it an error)

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

15 years agoadd parent parameter to wxAboutBox() (closes #9952)
Vadim Zeitlin [Sun, 26 Apr 2009 13:41:21 +0000 (13:41 +0000)] 
add parent parameter to wxAboutBox() (closes #9952)

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