Commit Graph

48650 Commits

Author SHA1 Message Date
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
Vadim Zeitlin
3d3ecbbcc7 fix typo (see #10637)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-02 21:59:03 +00:00
Kevin Ollivier
88b497c129 (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
2009-05-02 18:59:28 +00:00
Vadim Zeitlin
72a7c55982 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
2009-05-02 18:29:33 +00:00
Vadim Zeitlin
574be073c0 update for bakefile 0.2.6
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-02 17:54:45 +00:00
Vadim Zeitlin
40636dcbfe 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
2009-05-02 17:06:39 +00:00
Vadim Zeitlin
16d2c3ea74 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
2009-05-02 16:17:00 +00:00
Vadim Zeitlin
f27683e7da 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
2009-05-02 15:31:14 +00:00
Vadim Zeitlin
ca6911c361 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
2009-05-02 15:28:16 +00:00
Vadim Zeitlin
951f792f7d 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
2009-05-02 15:25:38 +00:00
Benjamin Williams
4f38397bac 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
2009-05-02 15:09:24 +00:00
Stefan Csomor
4931d5d6a0 reverting r43119, fixes #10752
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-02 13:44:48 +00:00
Vadim Zeitlin
c1ea6afb87 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
2009-05-02 13:10:38 +00:00
Francesco Montorsi
dd07a4ce28 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
2009-05-02 13:09:08 +00:00
Vadim Zeitlin
890d70ebea 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
2009-05-02 12:52:54 +00:00
Vadim Zeitlin
1ba0367603 added missing headers for PCH-less compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-02 11:06:38 +00:00
Jaakko Salli
d58526d554 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
2009-05-02 07:41:21 +00:00
Vadim Zeitlin
c5c1ea9648 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
2009-05-01 22:59:58 +00:00
Vadim Zeitlin
bca8c756a3 added wxMouseEventsManager
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-01 22:52:33 +00:00
Vadim Zeitlin
9e0ed08360 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
2009-05-01 22:37:14 +00:00
Vadim Zeitlin
75004dfbe5 implement changing wxChoice and wxComboBox height
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-01 21:49:43 +00:00
Vadim Zeitlin
6bd9b9f247 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
2009-05-01 21:48:10 +00:00
Francesco Montorsi
f25f6620e6 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
2009-05-01 15:28:58 +00:00
Francesco Montorsi
5b88a837ba 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
2009-05-01 14:15:13 +00:00
Vadim Zeitlin
cbeda384e5 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
2009-05-01 12:50:25 +00:00
Vadim Zeitlin
4fa96ccb98 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
2009-05-01 10:14:15 +00:00
Vadim Zeitlin
4549681014 compilation fix after wxMouseState changes (closes #10756)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-30 12:23:00 +00:00
Vadim Zeitlin
c6b22707d3 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
2009-04-29 22:00:54 +00:00
Vadim Zeitlin
27bb2c8cb7 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
2009-04-29 21:59:10 +00:00