Commit Graph

40346 Commits

Author SHA1 Message Date
Vadim Zeitlin
4f5921d16e return true from IsShownOnScreen() for TLWs even if their parent is hidden [backport of r50876 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-25 18:36:48 +00:00
Vadim Zeitlin
0b3f446900 reset s_bInAssert in wxDoOnAssert() in an exception-safe way (replaces patch 1900613) [backport of r52078 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-25 13:43:07 +00:00
Václav Slavík
16f2c0f6e0 gcc on OS X has problems with compiling empty files on SMB shares, added a comment to make macsock.h non-empty
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-25 11:06:39 +00:00
Václav Slavík
c2c60cff09 fixed wxListCtrl::RefreshItem(s) - it didn't update anything before
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-24 17:06:35 +00:00
Robin Dunn
361349fe79 Add MacHideApp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-22 20:39:11 +00:00
Václav Slavík
7f427f9cc2 fixed wxBitmapButton to use focus and hover bitmaps correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-22 19:57:54 +00:00
Václav Slavík
e1f6fc8616 fixed strange focus order in wxTipDialog and set initial focus to the checkbox instead of read-only textctrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-22 18:37:18 +00:00
Julian Smart
acfdd26365 Fixed IsShownOnScreen() for Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-22 14:11:46 +00:00
Julian Smart
0f7e255a73 Fix caret position when deleting last character
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-21 16:57:47 +00:00
Julian Smart
bff43ea980 Don't treat character attributes as non-paragraph attributes if using a named paragraph style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-21 16:23:22 +00:00
Julian Smart
9ffff44c8b Don't omit empty text objects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-21 16:18:43 +00:00
Michael Wetherell
e2cd68454a Compile fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-20 22:20:17 +00:00
Julian Smart
109b4aa352 Fixed two out by one errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-20 20:32:13 +00:00
Vadim Zeitlin
f89e3c6f87 revert not encoding the colons in FileNameToURL() under MSW (r51904, patch 1890922) as this completely broke wxFS URLs parsing; explain this in a comment in the trunk version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-20 16:33:55 +00:00
Vadim Zeitlin
d680d60989 add check for minimal BCC version as well as message advising to turn _USE_OLD_RW_STL on for BCC 5.6 [backport from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-19 16:50:32 +00:00
Vadim Zeitlin
74ad534dd4 implement wxRadioBox::Reparent(): it didn't reparent the radio buttons (patch 1891030)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-19 02:43:29 +00:00
Vadim Zeitlin
ddd5ad6298 don't encode collons in file:// URLs under Windows as IE is incapable of opening them (and other browsers can open both forms) (patch 1890922)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-19 02:37:53 +00:00
David Elliott
cde9708088 Backport 51898 from trunk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-19 01:13:48 +00:00
David Elliott
136e8c5ca0 Backport 51895 & 51896 which define HAVE_DLOPEN/HAVE_DLERROR when configure
is run on an OS X system supporting them (everything >= 10.3).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-19 00:25:05 +00:00
Vadim Zeitlin
c842c9c98b honour locale modifiers such a @valencia in system locale (patch 1896444)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-18 23:43:29 +00:00
David Elliott
3869473778 Limit wxListBox best size to 100x100. Particularly important on trunk where
the best size is not cached and will thus keep telling the sizers that the
best size is the full size of the content (i.e. such that you wouldn't need
to scroll it).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-18 21:51:29 +00:00
David Elliott
ee528046a4 Ensure that the NSTableColumn width is that of its largest item to enable
horizontal scrolling in wxListBox.
Copyright 2008 Software 2000 Ltd.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-18 21:13:58 +00:00
David Elliott
23c7aef4b7 Add a new macro to the Objective-C uniquifying support that allows a
uniquified class to be a subclasses of another uniquified class.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-18 20:36:16 +00:00
David Elliott
e164c469a8 Fix bug where native views with the NSScrollView wrapper would have their
document size reset to the wx virtual size upon any size event.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-18 04:58:07 +00:00
Vadim Zeitlin
0d61322672 add ka_GE, ku_TR and ne_NP; some cleanup and better handling of sr_XX (patch 1858926)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-17 20:11:17 +00:00
Stefan Csomor
5e2250c1eb going private again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-17 09:16:11 +00:00
Stefan Csomor
0bed86c449 going private again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-17 08:58:11 +00:00
Vadim Zeitlin
3ae0951d3a fix wxNotebook::GetPage{Text,Image}() when they were called from the page change event handler for the first added page (patch 1895161)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-17 01:37:23 +00:00
Stefan Csomor
8d2211719f wxstat fn_str() aftermath ..
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-16 21:37:12 +00:00
Stefan Csomor
ea6164c71f wxstat fn_str() aftermath ..
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-16 21:33:37 +00:00
Vadim Zeitlin
70ba4e9681 fix redundant storage of current date both in wxCalendarCtrl and popup m_currentDate variable which resulted in multiple bugs, e.g. calendar didn't open at the current date value [ABI preserving version of r51843 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-16 15:54:55 +00:00
Julian Smart
b007ad818b Avoid paragraphs with no children
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-16 13:35:42 +00:00
Julian Smart
b203a2d7d2 Fixed an XML parsing error for complex URLs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-16 12:09:31 +00:00
Julian Smart
924edb1897 Removed unnecessary include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-16 11:15:07 +00:00
Stefan Neis
179c53bbaa Backported bitmap drawing under Win9x and 2000 (not supporting alpha
transparency) from r51031 (modified patch 1761598).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-16 01:59:21 +00:00
Stefan Csomor
8cba764cef better implementation from VZ
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-15 20:46:02 +00:00
Julian Smart
1dff884202 Set default attributes after a SetSelection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-15 15:41:38 +00:00
Stefan Csomor
2baa0b125b applying patch 1894478
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-15 15:33:38 +00:00
Vadim Zeitlin
7e4170e8b7 compilation fix for TRACE_MASK after last change (replaces patch 1894434)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-15 13:14:49 +00:00
David Elliott
b00bf6e49e Better listbox scrollbar behavior.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-14 23:34:48 +00:00
David Elliott
00a7dfee85 Hack: force a vertical scroller on wxListBox.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-14 22:54:20 +00:00
David Elliott
339d6db705 Ensure that the (separate on 2.8 branch) message dialog style gets set when constructing wxCocoa's message dialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-14 21:31:18 +00:00
David Elliott
f033c4562a Move wxWindowCocoaScrollView class into its own header.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-14 20:40:16 +00:00
David Elliott
bf064fec60 More GC fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-14 19:46:21 +00:00
Stefan Csomor
1bd09d0950 making the wxContainer select the text field for first child focus instead of choice, so that we have always the same behaviour, since text fields are always focusable, choices only with full keyboard access...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-14 17:14:27 +00:00
Julian Smart
9723d04855 Cut down on unnecessary update events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-14 11:11:48 +00:00
Julian Smart
d95647e65e Performance optimization
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-14 11:01:02 +00:00
Paul Cornett
031ce0e940 backport r49252, use a GtkAlignment to set size of toolbar controls, instead of trying to "correct" size_allocate
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-14 05:31:03 +00:00
Vadim Zeitlin
41bbc56e13 mention fix for the column index in the column right-click event
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-13 23:09:20 +00:00
Vadim Zeitlin
6bc4157b6e use header window coordinates when searching for the right-clicked column (bug 1879009)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-13 23:07:30 +00:00