Commit Graph

39816 Commits

Author SHA1 Message Date
Robert Roebling
621b83d9b3 Made device to logical and vv conversion methods
virtual and implement them like any other method
    in the wxDC classes, not only in the their files
    but somehow belonging to the wxDCBase class.
  This is required for plugging in differnt DC backends
    with different conversions.
  Ideally (and absolutely possible ) all these methods
    should be removed and just the one in wxDCBase
    should stay using values set in the various
    derived classes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-01 21:28:29 +00:00
Václav Slavík
df08bf5ab3 added inline plural form of wxGetTranslation to wxUSE_INTL=0 case for use with non-default domain too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-01 21:19:02 +00:00
Václav Slavík
2765cbb5aa define wxPLURAL even if wxUSE_INTL=0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-01 21:13:56 +00:00
Stefan Csomor
5cb78ae7c4 adjusting refcount asserts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-01 19:34:00 +00:00
Vadim Zeitlin
c3316efa21 clarified alpha support status (bug 1710013)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-01 14:34:53 +00:00
Vadim Zeitlin
2c17722ec8 fix wxStringOutputStream::Write() in Unicode build when the output overlaps a boundary between UTF-8 characters (closes bug 1701426)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-01 14:11:06 +00:00
Stefan Csomor
8736cc485b Patch 1708290
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-01 13:35:00 +00:00
Stefan Csomor
09ac36f80b Patch 1678304
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-01 11:55:02 +00:00
Stefan Csomor
9fbc9db0fa Patch 1709069
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-01 11:49:35 +00:00
Stefan Csomor
3cfcae3b4d Patch 1709108
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-01 11:41:11 +00:00
Roman Rolinsky
c3793e4660 set drop target on panel if present
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-30 23:43:48 +00:00
Vadim Zeitlin
781130bf60 fix m_sizerPage memory leak for the wizards not using sizers (replaces patch 1708331, fixes bug 1647290)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-30 19:43:28 +00:00
Vadim Zeitlin
97b253782a use a marginally more precise but, more importantly, easier to understand, value for METRIC_CONVERSION_CONSTANT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-30 16:25:57 +00:00
Vadim Zeitlin
f11af09331 assert that wxRound() argument is in the supported range
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-30 16:23:17 +00:00
Roman Rolinsky
ed650677e1 drag-and-drop with left button
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-30 15:48:42 +00:00
Václav Slavík
48670a3300 always define wxLocaleIsUtf8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-30 12:46:30 +00:00
Václav Slavík
44be939a5e fixed release build compilation with compilers without __VA_ARGS__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-30 12:08:01 +00:00
Václav Slavík
0fd26ccb31 OS/2 compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-30 09:46:44 +00:00
Roman Rolinsky
42a505eae0 moved setting itemColour to XML_Tree.Clean where it belongs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-30 08:31:19 +00:00
Vadim Zeitlin
8bdc8a9c98 don't drop lines without trailing new line character in wxExecute() with capture
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-30 01:13:37 +00:00
Václav Slavík
37db38bc52 OpenWatcom >= 1.2 has __VA_ARGS__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-29 10:28:22 +00:00
Václav Slavík
82e77a8027 compilation fixes for --disable-log
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-29 09:02:38 +00:00
Václav Slavík
564a5bbe57 added support for passing std::[w]string to 'vararg' templates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-29 08:04:58 +00:00
Robin Dunn
0433abb04f Another fix for: AttributeError: 'XML_Tree' object has no attribute 'itemColour'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-29 00:05:34 +00:00
Michael Wetherell
1002abaa77 Register the test under the name displayed by "./test -l"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-28 15:59:12 +00:00
Michael Wetherell
5deedd6e79 Map illegal UTF-8 sequences to a range in Unicode's private use area as
discussed recently on wx-users.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-28 15:56:17 +00:00
Stefan Neis
0be0990e41 Compilation fix for string changes (patch #1709228).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-28 14:36:00 +00:00
Stefan Neis
951f68d01c Adapted to API changes with respect to GetTextExtent (patch #1709152).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-28 10:04:34 +00:00
Václav Slavík
04d29fda82 added missing #include "wx/buffer.h"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-28 07:56:45 +00:00
Václav Slavík
e40dfb3a38 allow the UTF8 build to treat C locale as UTF8, too, it's a 7bit subset of it, so it should be OK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-28 07:06:18 +00:00
Robin Dunn
09a68e8818 Ensure there is a g.testWin before trying to use it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-27 22:13:31 +00:00
Václav Slavík
b4f4d3dd61 WX_PRECOMP, not WXPRECOMP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-27 21:35:43 +00:00
Václav Slavík
193d0c9310 PCH-less compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-27 21:32:40 +00:00
Václav Slavík
6b24b421ce PCH-less compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-27 21:03:46 +00:00
Roman Rolinsky
b67bca8c6b drop highlight color fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-27 20:33:54 +00:00
Roman Rolinsky
2fe1143153 fixes to move-around methods related to current selection highlight
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-27 20:24:57 +00:00
Roman Rolinsky
a7d8ec1e42 cursor image type fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-27 20:19:56 +00:00
Václav Slavík
0cb7e05cd1 PCH-less compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-27 15:50:07 +00:00
Václav Slavík
e3e8e3c0aa include wxchar.h from string.h in 2.8 compatibility mode to prevent lots of compilation errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-27 10:08:53 +00:00
Václav Slavík
92a17abc1b added copy ctor to wxCStrData to fix crashes when passing to vararg functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-27 08:48:56 +00:00
Vadim Zeitlin
f3b757e41c no changes, just fix a typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-27 00:57:14 +00:00
Roman Rolinsky
2755491049 test prevented to update encoding
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 20:32:14 +00:00
Roman Rolinsky
a0477b5a2b final revision
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 19:55:10 +00:00
Roman Rolinsky
375e3718e8 some sizing fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 19:54:29 +00:00
Roman Rolinsky
e5b889c91e drag-and-drop highlighting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 19:53:32 +00:00
Roman Rolinsky
c08eb1d348 more param renaming, some sizing fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 19:52:15 +00:00
Roman Rolinsky
5c82ed90df drag-and-drop adding of controls to test window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 19:51:14 +00:00
Roman Rolinsky
da7d0696d1 set labels for new controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 19:48:12 +00:00
Roman Rolinsky
1b701a43b8 specify order of radios in prefs dlg
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 19:42:52 +00:00
Roman Rolinsky
04fc5ddd16 made main toolbar bitmaps 24x24
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 19:33:38 +00:00