David Surovell
a536a8bf3f
fix MinGW/gcc compilation issue
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-29 06:43:26 +00:00
Kevin Hock
2a7d0c10c3
Remove obsolete GetForce
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-29 02:01:33 +00:00
Kevin Hock
5bbca8b037
Remove wxConfig object caching (m_config), which solves dangling pointer problem if the global config object changes (and just makes things simpler)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-29 01:49:55 +00:00
David Surovell
61e6a2ab5e
fix MinGW/gcc compilation issue
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-28 23:40:21 +00:00
David Surovell
1a70c9e2bf
fix SetInvokingWindow link problem
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-28 23:02:22 +00:00
David Surovell
8a9858aeb2
cleanup - reformatting, minor code rewrites
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-28 06:44:35 +00:00
Vadim Zeitlin
da6205f7fb
compilation fix after latest dc.h changes for !WX_PRECOMP case
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-27 22:16:05 +00:00
David Surovell
8638e69ba1
cleanup - reformatting
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-27 19:50:23 +00:00
Vadim Zeitlin
e72d82bb29
mention wxDC change
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-27 15:00:32 +00:00
Stefan Neis
4b2bdce665
Applied Patch #1390457 (Incorrect wxRadioBox widths & heights).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-27 11:20:46 +00:00
Václav Slavík
3c115835b3
added support for <sub> and <sup> to wxHTML (based on patch #1263152 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-27 00:00:39 +00:00
Václav Slavík
43056e6ed5
allow opening .html files, too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-26 23:29:17 +00:00
David Surovell
ea41ff3a56
protect separators against inappropriate state changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-26 18:45:48 +00:00
David Surovell
5977edb9d9
cleanup - reformatting
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-26 17:58:27 +00:00
Stefan Neis
ea8ca011a3
Fixed GetIcon to keep up with return type change on all other platforms.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-25 14:37:51 +00:00
Vadim Zeitlin
024026be1d
implemented wxDC::DoGetSize() correctly for metafile DC classes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-25 13:06:05 +00:00
Vadim Zeitlin
f81dc6e931
Start/EndDrawingOnTop are still used under Motif, don't deprecate them
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-25 12:52:53 +00:00
Vadim Zeitlin
7d09b97f53
disallow creation of wxDC objects and made wxDC an ABC; use wxDCTemp instead of wxDC in wx code; fixed WinCE bug with deleting a DC which should be released in wxListBox::MSWOnMeasure()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-25 02:34:42 +00:00
David Surovell
f23d32554f
more cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-24 17:10:36 +00:00
Vadim Zeitlin
8e3e14c487
also generate wxEVT_SCROLL_CHANGED as under wxMSW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-24 02:55:03 +00:00
Vadim Zeitlin
2b0246530d
determine the slider event type more precisely (i.e. generate LINE/PAGE UP/DOWN and not only THUMBTRACK always) under GTK2 (bug 1377777); also generate THUMBTRACK/RELEASE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-24 02:52:25 +00:00
Vadim Zeitlin
d411c5d611
fixed labels under GTK+ 1 after recent changes (remove underscores from them again)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-24 02:21:00 +00:00
Vadim Zeitlin
defdd88800
GTK+ 1 compilation fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-24 02:20:15 +00:00
Vadim Zeitlin
76471ff7f5
implemented wxCURSOR_BLANK (bug 1377290)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-24 02:02:33 +00:00
Vadim Zeitlin
6f86c8af60
warn that GetMenu() may return NULL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-24 01:31:55 +00:00
Vadim Zeitlin
43a11e2a50
moded wxWindow::PopupMenu() from window.cpp to menu.cpp as this allows it to access static functions in menu.cpp; implemented sending of wxEVT_MENU_OPEN/CLOSE for popup menus
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-24 01:29:08 +00:00
Vadim Zeitlin
13d3511257
send wxEVT_MENU_CLOSE from menubar deactivate handler, this ensures that the event is sent even when the menu is dismissed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-24 01:21:27 +00:00
Vadim Zeitlin
cdf003d465
send wxEVT_MENU_CLOSE at least sometimes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-24 00:44:57 +00:00
Vadim Zeitlin
4626c57c58
1. changed wxStringTokenizer to not modify the string we're iterating over
...
but to just update our position in it (makes the code much more clear)
2. added GetLastDelimiter() to make up for lack of mode combining
wxTOKEN_RET_EMPTY_ALL and RET_DELIMS
3. documented it and added unit tests for it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-24 00:12:54 +00:00
Vadim Zeitlin
505a8c2ced
added a couple more wxTOKEN_RET_DELIMS tests
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-24 00:01:11 +00:00
Vadim Zeitlin
8aa57160a0
even more test cases
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-23 23:54:50 +00:00
Vadim Zeitlin
822c2b9f65
corrected expected test results to conform to current wxTOKEN_RET_EMPTY behaviour; added the value of loop index for which the test fails to the diagnostic messages
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-23 23:38:22 +00:00
Vadim Zeitlin
2461117002
more test cases
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-23 23:27:25 +00:00
Jouk Jansen
39b7aa3f5e
Committing in .
...
configuration update for OpenVMS
Modified Files:
wxWidgets/setup.h_vms
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-23 07:42:38 +00:00
David Surovell
ec4a2b5df2
more cleanup - added comment regarding possible stipple brush problem
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-23 05:16:45 +00:00
Vadim Zeitlin
dfc69c6d5b
corrected handling of timeouts in wxConditionInternal::WaitTimeout(): check for wxSEMA_TIMEOUT, not wxSEMA_BUSY; return wxCOND_TIMEOUT, not wxCOND_MISC_ERROR (bug 1387179)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-23 01:20:38 +00:00
Vadim Zeitlin
98cb8dcb0c
don't set minimal column width, it should be possible to set it even to 0 if desired (e.g. to hide a column)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-23 01:00:30 +00:00
Vadim Zeitlin
d241d258cf
correct dll export declaration for wxVolume
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-23 00:59:29 +00:00
Vadim Zeitlin
1440bc7afa
added wxRTTI macros to wxControlWithItems: it's not private any longer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-23 00:58:32 +00:00
Robin Dunn
ac9251e323
Fix for bug #1266745 and #1387725 in the wxFindReplaceDialog on MSW.
...
Actually check we are using MSLU before doing the hack designed to
workaround a bug in MSLU!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-22 23:33:08 +00:00
Václav Slavík
5aad18a52b
reverted previous accidental commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-22 23:11:36 +00:00
Václav Slavík
48e5284db6
wxMac linking fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-22 23:04:05 +00:00
Kevin Ollivier
2f91e3dfd2
Fixes so that wxPython builds on 2.7. Mostly removing references to all functions that require WXWIN_2_4_COMPATIBILITY to be defined.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-22 06:57:46 +00:00
Kevin Ollivier
c1ebcef04d
Use the now 'official' makemo.py when building packages.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-22 06:09:26 +00:00
Kevin Ollivier
fbc661d006
Updating version.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-22 05:55:50 +00:00
Kevin Ollivier
5e66e38e9f
Moving the 2.6 branch change in how SWIG is found to CVS HEAD now that Robin's build system uses it too.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-22 03:24:47 +00:00
Vadim Zeitlin
bdcb882076
added wxListAttr::AssignFrom()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-22 03:10:35 +00:00
Vadim Zeitlin
0f3888a5f8
don't overwrite the existing attributes when setting one new one, i.e. SetItemBackgroundColour() after SetItemTextColour() doesn't reset the text colour to default one any more
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-22 03:07:48 +00:00
Vadim Zeitlin
5421785005
update from liou xiao <liouxiao@hotmail.com>
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-22 02:41:53 +00:00
David Surovell
c394a432fa
fixed error in prior checkin
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-22 01:14:06 +00:00