Commit Graph

48778 Commits

Author SHA1 Message Date
Vadim Zeitlin
46b11427d6 added UDP test (see #10717)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-09 17:23:43 +00:00
Vadim Zeitlin
4f73f25cc8 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
2009-05-09 16:55:37 +00:00
Stefan Csomor
465eba1483 adapting to new font method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-09 14:45:03 +00:00
Vadim Zeitlin
64be91ed99 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
2009-05-09 13:19:59 +00:00
Vadim Zeitlin
7172db1857 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
2009-05-09 13:07:21 +00:00
Vadim Zeitlin
afeeb04d7a 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
2009-05-09 13:06:25 +00:00
Vadim Zeitlin
b6e96faf3e remove unneeded wxFindSuitableParent()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-09 12:57:00 +00:00
Francesco Montorsi
e4d531ee8d typo fix (closes #10699)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-09 12:42:59 +00:00
Francesco Montorsi
0253bbbabc 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
2009-05-09 12:41:31 +00:00
Francesco Montorsi
8602802568 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
2009-05-09 12:40:09 +00:00
Francesco Montorsi
ef6cef09d4 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
2009-05-09 12:32:26 +00:00
Vadim Zeitlin
9fb0eb4679 remove another occurrence of FindSuitableParent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-09 12:31:16 +00:00
Vadim Zeitlin
8bda0ec6a3 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
2009-05-09 12:26:15 +00:00
Vadim Zeitlin
889e742216 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
2009-05-09 12:22:45 +00:00
Vadim Zeitlin
d84e6f500e 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
2009-05-08 23:12:57 +00:00
Vadim Zeitlin
5d4ee50b0a 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
2009-05-08 19:45:31 +00:00
Robert Roebling
e86edab05b 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
2009-05-08 17:07:50 +00:00
Vadim Zeitlin
3df31b2d6e 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
2009-05-08 16:38:39 +00:00
Vadim Zeitlin
326462ae94 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
2009-05-07 17:29:57 +00:00
Vadim Zeitlin
c84d0c864a 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
2009-05-07 17:09:21 +00:00
Vadim Zeitlin
5a58a1342d add SetEscapeId() test (see #10746)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-07 17:01:59 +00:00
Vadim Zeitlin
3821ccfaa6 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
2009-05-07 08:58:54 +00:00
Stefan Csomor
6e1881bec4 after rebake with new files.bkl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-07 07:49:09 +00:00
Stefan Csomor
29391f32dd explicitly export symbols
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-07 07:39:43 +00:00
Stefan Csomor
1e5b27dd7f 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
2009-05-07 06:23:20 +00:00
Stefan Csomor
14ca15f12b 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
2009-05-06 18:22:04 +00:00
Paul Cornett
ab0c29ae95 draw focus rect for wxCheckListBox item
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-06 16:04:20 +00:00
Paul Cornett
6efda5fda4 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
2009-05-06 15:51:09 +00:00
Stefan Csomor
fa9b55dfba fixing osx_carbon guard
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-06 15:41:41 +00:00
Vadim Zeitlin
5cbe87b2fa 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
2009-05-06 11:42:16 +00:00
Paul Cornett
7ac1b576c4 build fixes for wxUSE_CONFIG==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-06 03:08:33 +00:00
Václav Slavík
d0f063020e 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
2009-05-05 18:23:04 +00:00
Václav Slavík
5f3dc0f0a9 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
2009-05-05 16:09:40 +00:00
Vadim Zeitlin
9df05aab59 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
2009-05-04 10:23:52 +00:00
Vadim Zeitlin
48715f6048 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
2009-05-04 10:14:06 +00:00
Francesco Montorsi
2003d0037f 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
2009-05-03 22:27:48 +00:00
Vadim Zeitlin
4e42fe49f2 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
2009-05-03 11:36:04 +00:00
Vadim Zeitlin
61b1a51bde 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
2009-05-03 09:59:31 +00:00
Vadim Zeitlin
9dfe9a1a12 VC6 compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-03 09:29:22 +00:00
Vadim Zeitlin
e4eef50be7 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
2009-05-03 09:29:13 +00:00
Vadim Zeitlin
592954dd8b 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
2009-05-03 07:57:11 +00:00
Vadim Zeitlin
97818dab10 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
2009-05-03 07:52:49 +00:00
Vadim Zeitlin
6e12b56f5e 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
2009-05-03 07:44:44 +00:00
Vadim Zeitlin
54a9471afb 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
2009-05-03 07:43:28 +00:00
Vadim Zeitlin
f1a736636c remove mentions of wxEVENTS_COMPATIBILITY_2_8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-03 07:43:00 +00:00
Václav Slavík
44108a078f 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
2009-05-03 07:10:23 +00:00
Václav Slavík
a1eeda0be2 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
2009-05-03 07:00:24 +00:00
Kevin Ollivier
0cbc1d0251 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
2009-05-02 23:07:51 +00:00
Kevin Ollivier
4e735ed6a6 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
2009-05-02 22:26:40 +00:00
Kevin Ollivier
3fee01e962 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
2009-05-02 22:20:40 +00:00