Commit Graph

21320 Commits

Author SHA1 Message Date
Julian Smart
953ca2aab4 Reverted changes that broke accessors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 09:40:24 +00:00
Vadim Zeitlin
a1ac47b927 fix GetSize() for large files (patch 1680876) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 00:21:59 +00:00
Vadim Zeitlin
3a5c9d1005 don't add extra GetCharHeight() pixels to the top border if our label is empty (patch 1581459) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-14 00:29:43 +00:00
Benjamin Williams
6ecfa38fff prevent disappearing menus in tabmdi
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-12 13:52:34 +00:00
Benjamin Williams
711bdb6a28 applied 1661995 (somehow this didn't get applied to the 2.8 branch)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-12 10:37:45 +00:00
Benjamin Williams
bdbaa5280d applied patch 1675101 - reduce flicker
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-12 08:38:23 +00:00
Julian Smart
0a2a5608a1 Applied patch [ 1678626 ] Non-ascii characters in wxRichTextCtrl (unicode build)
Laumingis Skripkauskas


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-12 07:46:56 +00:00
Vadim Zeitlin
788cc3ac41 added wxSafeConvertMB2WX/WX2MB() and use them when interfacing with C functions which crash if we pass them NULL pointers [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-11 23:40:32 +00:00
Julian Smart
b40735833e Fixed wrapping with tabs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-11 12:48:38 +00:00
Paul Cornett
4a2dbb5fb1 don't create new refdata unnecessarily in Unshare()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-11 02:29:49 +00:00
Vadim Zeitlin
17df84c821 include wx/utils.h in PCH-less build to ensure that we get the correct (DLL-exported) declaration of wxHandleFatalExceptions() as otherwise it was silently not exported (patch 1674514) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-10 17:24:09 +00:00
Vadim Zeitlin
a7cffe675e added wxDIRCTRL_EDIT_LABELS style support (patch 1676853) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-10 17:23:26 +00:00
Vadim Zeitlin
2f9bbd2b04 return effective dnd operation result and not the expected one (replaces patch 1677399) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-10 16:29:30 +00:00
Vadim Zeitlin
908edf446e set SO_REUSEADDR before binding for UDP sockets too (2nd part of patch 1667145) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-10 16:19:25 +00:00
Vadim Zeitlin
a185136829 allow using numpad enter key to activate the default button too (patch 1640446) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-10 16:08:59 +00:00
Vadim Zeitlin
5d7e2c51f4 don't send incorrect char events when entering Unicode characters (patch 1640443) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-10 16:07:09 +00:00
Vadim Zeitlin
fe4b2c6b43 corrected bug due to testing for wrong return value in wxConditionInternal::WaitTimeout() (patch 1650643) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-10 15:54:38 +00:00
Vadim Zeitlin
34889e01f2 use high order bytes of RGB values in RGBColor to construct wxColour, not the lower order ones (patch 1662064)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-10 15:51:19 +00:00
Paul Cornett
7d2aa90eae use simpler color ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-10 04:46:18 +00:00
Vadim Zeitlin
8a34b854e4 compilation fix for wxUSE_STL==1 build [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-09 16:25:07 +00:00
Vadim Zeitlin
0138e546f4 include wx/thread.h in debug build which is needed after last change [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-08 14:58:45 +00:00
Vadim Zeitlin
f48bee736a fix the bug which could have resulted in failing to read config file if a chunk boundary fell in a middle of a multibyte character (patch 1674488) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-08 01:18:25 +00:00
Robin Dunn
5ab99c0f69 More 0.5 pixel offset fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-08 00:25:37 +00:00
Vadim Zeitlin
e2b383694b update the value shown in the combobox itself correctly in SetValue() (patch 1669275; bug 1667563) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 23:47:54 +00:00
Vadim Zeitlin
d4a260b03a test for special keys first, before testing for alphanumeric ones as even keys such as WXK_F2 can be recognized as alnum in some locales, in ToString() (modified patch 1669197; bug 1620758) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 23:42:04 +00:00
Vadim Zeitlin
a1d9fc2426 avoid flicker when setting the text which is the same as the current status bar pane value (patch 1669140) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 23:29:49 +00:00
Vadim Zeitlin
3f0bfc200d fix wrong assert in SetItemBitmap() (patch 1668449; bug 1667505) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 23:29:03 +00:00
Vadim Zeitlin
8ff7d4b06d fix handling of wxSOCKET_REUSEADDR in wxDatagramSocket (patch 1667145) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 23:21:48 +00:00
Vadim Zeitlin
bebb6b2f05 fix base64 computation for strings whose length modulo 3 is 2 (patch 1665520; bug 1661616) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 23:07:17 +00:00
Vadim Zeitlin
8059fb2713 fix hang on startup in Unicode build if any standard GTK+ command line arguments were passed (patch 1665203; bug 1663597) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 22:45:32 +00:00
Vadim Zeitlin
4c4850d399 take images and margins into account when setting column width to wxLIST_AUTOSIZE_USEHEADER (patch 1664598) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 22:32:42 +00:00
Vadim Zeitlin
d79446e3ce clip column image (and not only the text) to the column width (patch 1664588) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 22:28:30 +00:00
Vadim Zeitlin
7568c3a29c fixed detection of number of processors under Linux 2.6 [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 22:25:17 +00:00
Vadim Zeitlin
e62a53c7f6 use critical section to protect global TablesInUse (patch 1660652) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 21:29:30 +00:00
Vadim Zeitlin
0c2aec0e8f return correct client area for at least the primary display, fixes the problems with incorrect positioning of the Center()d windows [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 19:51:00 +00:00
Vadim Zeitlin
bd2720af3c merge multiple lines into one as otherwise the display is corrupted/unreadable [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 19:41:49 +00:00
Chris Elliott
68b7456cdc fix for sf bug 1671804
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 09:31:30 +00:00
Paul Cornett
a8875f1961 queue resize on child when its position changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 06:17:23 +00:00
Julian Smart
5bd277f015 Correct too-small size when the progress dialog is very simple
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-06 10:06:56 +00:00
Julian Smart
c99645f3ee Made choice convenient dialog more, well, convenient: fixed lack of vertical
expansion and increased list size for larger screens.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-06 09:56:43 +00:00
Julian Smart
427f484df5 Fixed problem with tab size calculation not reflecting current position in the line
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-05 17:15:01 +00:00
Julian Smart
a1dcd726e6 Optimization: don't set the base background colour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-05 16:13:40 +00:00
Julian Smart
7e3a37bedf Drawing correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-05 16:08:15 +00:00
Julian Smart
be0d60f7e1 Implemented text background colour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-05 15:22:07 +00:00
Paul Cornett
a42fc8644c Don't assert on value change which shouldn't occur, but does. Closes bug 1672671
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-03 18:37:08 +00:00
Robin Dunn
255abfaa80 Include dcmemory.h if not using precomp headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-02 16:53:03 +00:00
Robin Dunn
d48e3998b0 Fix to allow using Cairo version < 1.2 where
cairo_image_surface_get_data doesn't exist.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-02 16:39:21 +00:00
Paul Cornett
ec6146c7a6 wxRunningEventLoopCount is only defined when wxUSE_THREADS==1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-02 03:06:52 +00:00
Robin Dunn
9ba691fd6a Add an implementation of wxCairoContext::DrawBitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-28 21:42:09 +00:00
Robin Dunn
483efacde6 Fix runtime crash in wxStdDialogButtonSizer. Don't set the label on a
button we don't have.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-28 21:40:32 +00:00