Commit Graph

39071 Commits

Author SHA1 Message Date
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
Paul Cornett
3e9dc5dbe9 remove unreachable declaration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-08 04:31:24 +00:00
Paul Cornett
c7598331a4 add HAVE_ROUND
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-08 04:29:36 +00:00
Vadim Zeitlin
d248bee891 fix infinite recursion typo in operator!=() (patch 1665591) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-08 01:21:03 +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
Robin Dunn
7d28058dd8 Notes about some 2.8.2 changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-08 00:25:09 +00:00
Robin Dunn
f264e6001a test drawing rectangles with wxGCDC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-08 00:24:31 +00:00
Robin Dunn
10cbe76833 fix a comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-08 00:23:50 +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
Robin Dunn
b2b9f13f59 keep a reference to the textctrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-05 19:18:51 +00:00
Robin Dunn
969f4438ef Add GetTopLevelParent convenience function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-05 19:08:10 +00:00
Julian Smart
a5ef3ff1d9 Updated change log, date
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-05 17:21:08 +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
Julian Smart
9d90b84e1b Fix for exiting on Windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-05 11:34:19 +00:00
Julian Smart
658ba84dc9 Fixed helpview sample and app in binary compatible way by only exiting
on idle (would exit prematurely since help frame doesn't prevent app exit
when still open)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-05 10:46:54 +00:00
Vadim Zeitlin
c5effe4953 use virtual size for the size of the buffer when wxBUFFER_VIRTUAL_AREA style is used [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-05 08:58:09 +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
a8162c4cd0 Docstring fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-02 21:39:34 +00:00
Robin Dunn
caee23d55d wx.lib.customtreectrl patches from Andrea:
1. ExpandAll has been renamed as ExpandAllChildren, and the new
     ExpandAll now takes no input arguments (consistent with
     wx.TreeCtrl)

  2. ctstyle keyword is now defaulted to 0: every style related to
     CustomTreeCtrl and the underlying wx.PyScrolledWindow should be
     declared using the keyword "style" only. For backward
     compatibility, ctstyle continues to work as I merged ctstyle and
     style in the __init__ method.

  3. GetClassDefaultAttributes is now a classmethod.

  4. UnselectAll bug fixed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-02 21:04:52 +00:00
Robin Dunn
ba35daf089 Mention GraphicsContext changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-02 17:18:13 +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
36e6f51a0f Some docstring tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-01 22:00:29 +00:00
Robin Dunn
99f22cf696 Patch from Gianluca Costa:
-Refactorization of the script-creation code in a specific "img2py()" function
    -Added regex parsing instead of module importing
    -Added some "try/finally" statements
    -Added default values as named constants
    -Made some parts of code a bit easier to read
    -Updated the module docstring
    -Corrected a bug with EmptyIcon


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-01 21:51:23 +00:00
Robin Dunn
6b260f32ca header cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-01 19:37:00 +00:00
Robin Dunn
0aeaaaaf31 Add missing 'recursive' parameter to wx.Sizer.GetItem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-01 19:35:26 +00:00
Robin Dunn
b1ea5b28ab Create the other frame on all platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-01 19:01:55 +00:00
Robin Dunn
37a2b499e5 use a hidden frame to prevent premature exit on wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-01 18:53:57 +00:00
Robin Dunn
58e564cb92 don't set hover state when button is pressed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-01 18:52:13 +00:00