Commit Graph

40033 Commits

Author SHA1 Message Date
Robin Dunn
a2d954469d On Mac the first visible line needs to be recalculated after the Scroll because it can be set
to the wrong value in Scroll because of the paint event generated by the Update() there.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-08 22:28:33 +00:00
Robin Dunn
5a82f10e3b Added missing wxPython event binders for the notebook tab events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-08 22:16:00 +00:00
Vadim Zeitlin
c438e941c4 use wxFD_XXX constants instead of wxXXX in the docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-08 11:35:32 +00:00
Julian Smart
697060e3e0 Corrected typo affecting outline level reading
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-07 14:12:33 +00:00
Julian Smart
9ee6506afd Added missing URL attribute testing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-07 14:09:59 +00:00
Julian Smart
f89920b9b5 Fixed dangling pointer bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-06 09:02:42 +00:00
Václav Slavík
b59815009e fixed WX_CLEAR_HASH_SET to compile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-05 22:42:35 +00:00
Robin Dunn
e95746d5bd bump subrelease number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-05 20:48:00 +00:00
Chris Elliott
51f7a64ca7 add missing inc files docsrc.rsp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-04 15:52:36 +00:00
Stefan Csomor
b94f04c563 supporting failed data conversions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-04 12:01:15 +00:00
Stefan Csomor
9295dc1092 make conversion fail safe on OS X (japanese to mac roman ascii conversions lead to a crash)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-04 10:10:06 +00:00
Stefan Csomor
9493740d71 compile error in non-quartz builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-04 07:40:04 +00:00
Stefan Csomor
9ad88af224 icns support from resources
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-04 07:32:09 +00:00
Stefan Csomor
00ae2ece4a adding PICT support in Quartz - whose native metafile format is PDF
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-04 07:30:43 +00:00
Stefan Csomor
2c59ab92e0 adding PICT support in Quartz - whose native metafile format is PDF
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-04 07:29:24 +00:00
Stefan Csomor
308cdd25d5 moving tooltip implementation into private header, allowing for easier reuse
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-04 07:27:44 +00:00
Stefan Csomor
fa30edf36f moving tooltip implementation into private header, allowing for easier reuse
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-04 07:26:40 +00:00
Stefan Csomor
df12d367e3 Hide toplevel window in order to avoid erratic redraws of zombie windows on mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-04 07:25:26 +00:00
Stefan Csomor
64b9adaeda fixing utf16 recognition, as this always conforms to public-plain-text the sequence needs to be inverted
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-04 04:58:35 +00:00
Vadim Zeitlin
f8e0186b73 fix range used for native volume in Set/GetVolume()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-03 22:36:29 +00:00
Vadim Zeitlin
3486da5d11 look for message catalogs also directly under prefix in GetMsgCatalogSubdirs() as we used to do in 2.6
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-03 21:45:33 +00:00
Michael Wetherell
e48dd4e3ae Define CPPUNIT_STD_NEED_ALLOCATOR to 0 if it is undefined as we compile
with -Wundef.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-02 14:56:53 +00:00
Vadim Zeitlin
1573c16360 don't leak wxFileType returned from GetFileTypeFromExtension(); fix compilation with wxUSE_MIMETYPE==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-02 11:25:29 +00:00
Michael Wetherell
52c5891fa3 Code around a bug in getgrgid_r which I've just noticed exists in some
versions of glibc but not others. It fails to return a value through its last
parameter.  getpwuid_r doesn't seem to have the same bug, but avoid its last
parameter too as a bit of defensive programming.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-01 21:25:08 +00:00
Benjamin Williams
85aabfa200 better child focus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-01 16:02:22 +00:00
Vadim Zeitlin
f9d8aad8f4 don't crash in GetAsDOS() if the time is not in time_t range (bug 1804421)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-30 20:37:29 +00:00
Stefan Csomor
7daa1d24b7 making sure we only have single selection (1802048)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-30 19:57:39 +00:00
Vadim Zeitlin
b0feee41b2 fix DrawLine() and DrawPolygon() which were totally broken for GTK1 since rev 36998
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-29 23:10:35 +00:00
Vadim Zeitlin
0f6089b1b7 backport WX_ASSERT_SIZET_EQUAL from trunk, use it to fix compilation of the test on 64 bit platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-28 22:15:08 +00:00
Robert Roebling
d1cc3f3463 Backport DoDrawArc fix (close it)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-28 06:58:48 +00:00
Robert Roebling
6d330872cb [ 1803350 ] Wrong top-level window positioning on scrolled window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-27 20:29:59 +00:00
Václav Slavík
6cfb0d7d5f use Assign to copy wxLists, operator= is broken (and can't be fixed in 2.8 in binary compatible way, because it's inline
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-27 15:19:26 +00:00
Julian Smart
34b7782e3b Added forward declaration for wxWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-26 06:40:58 +00:00
Robin Dunn
0403841aa3 Don't use the WXK_NUMPAD_* values for the EVT_CHAR events.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-25 23:14:44 +00:00
Robin Dunn
fc75d58855 don't overdo the clipping otherwise we truncate descenders in the header label on OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-25 23:13:21 +00:00
Chris Elliott
005a65170e 2.8.6
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-25 07:59:25 +00:00
Robin Dunn
fb33cc64ca wxT() needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-24 22:52:51 +00:00
Václav Slavík
a1e7544104 document that GetPropVal's argument must not be NULL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-24 22:30:34 +00:00
Václav Slavík
a52a60e4d3 wxXmlNode::GetPropVal's pointer argument must not be NULL, check for it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-24 22:08:46 +00:00
Robin Dunn
e2ae339e7b Always reset m_curPage in RemovePage incase the last page has been removed and
the notebook will be empty

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-24 18:25:15 +00:00
Robin Dunn
9aeee9e8fd Avoid double deletion of notebook page windows, don't call DestroyChildren in
~wxAuiMDIClientWindow.  Also skip the hide page optimization when destroying 
the notebook. 

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-24 18:18:48 +00:00
Julian Smart
1d01eaa3da Didn't fix the ReadLine hang bug after all
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-24 13:12:46 +00:00
Julian Smart
3378c3a594 Reverted last change that causes further problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-24 13:11:36 +00:00
Chris Elliott
41f4b1fb77 doing 2.8.6
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-24 10:34:00 +00:00
Robin Dunn
8a945515b8 Since we are ignoring horizontal wheel motion for now we need to reset the event
type, otherwise bogus left down events will be sent.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-22 19:17:12 +00:00
Robin Dunn
4dfdfde4e2 fix for non-pch builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 21:38:21 +00:00
Stefan Csomor
e4123a47e0 supporting wxBU_EXACTFIT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 20:15:30 +00:00
Julian Smart
52ce637645 Doc corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 17:53:07 +00:00
Stefan Csomor
3c93f27b0b reverting patch 1789066
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 16:47:15 +00:00
Julian Smart
e422a1b847 Added space to help with PDF RTF generation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 13:43:57 +00:00