Commit Graph

40921 Commits

Author SHA1 Message Date
Stefan Csomor
f7a5176212 guard against an m_peer being NULL which is the case for a wxMenuBar, and here tools with introspection from python crash on OS X because they display all attributes in inheritance ...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-01 16:45:55 +00:00
Václav Slavík
c170f4aeec fixed ~wxWindowBase to remove associated context help from wxHelpProvider -- otherwise wrong help text could be reused by other controls later
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-29 21:11:53 +00:00
Václav Slavík
118e206211 misc. fixes to wxHelpProvider docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-29 20:02:09 +00:00
Vadim Zeitlin
731991e499 fix asserts when the root is hidden [backport of r45135 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-29 19:51:05 +00:00
Václav Slavík
d5805cba69 fixed addition of wxLANGUAGE_VALENCIAN to be binary compatible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-29 15:12:57 +00:00
Václav Slavík
e37c9b6c2e clear statusbar 'Connecting...' message on failure
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-28 22:50:25 +00:00
Julian Smart
2c3cfbb21c Open and Close clipboard properly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-28 18:44:24 +00:00
Julian Smart
f779be80e4 Logged some changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-27 18:16:01 +00:00
Julian Smart
a3afc2ad35 Take into account explorer associations and CurVer when finding the command to execute.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-27 18:07:23 +00:00
Vadim Zeitlin
d28fb3eb2b don't attempt to create 0*0 bitmaps in GetBuffer() (patch 1899643)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-27 18:03:12 +00:00
Vadim Zeitlin
2603810965 clip the text in report mode to prevent it from overflowing into the next column (patch 1898914)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-27 18:00:30 +00:00
Václav Slavík
f15a5120e4 forgot to add OnFocusChange to version-script.in in r52007
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-27 15:32:57 +00:00
Vadim Zeitlin
f9894504d5 forward WM_HELP from the buddy control to the main one in order to make context sensitive help work when the text part of wxSpinCtrl is clicked with "?" cursor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-27 15:08:54 +00:00
Vadim Zeitlin
185b3cb324 don't hide the TLW being deleted unless there any other *visible* TLWs remaining (bug 1902632)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-27 14:49:46 +00:00
Julian Smart
25afa6b11a Added new symbols
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-27 08:58:05 +00:00
Julian Smart
3fd2105057 Made wxRichTextCtrl cursors accessible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-27 08:54:40 +00:00
Stefan Csomor
570da69887 applying patch 1873285
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-27 07:55:24 +00:00
Vadim Zeitlin
441be66059 translate "Copy URL" string in the popup menu (feature request 1803958)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-27 02:18:42 +00:00
Julian Smart
4d46b12984 Don't take the previous paragraph style when deleting paragraph marker
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-26 17:59:20 +00:00
Julian Smart
cadb181684 Fixed [ 1775674 ] Invalid color in picker dialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-26 15:27:00 +00:00
Julian Smart
5816d21269 Fixed [ 1720130 ] A minor 'bug' or 'annoyance' with header file.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-26 15:04:54 +00:00
Julian Smart
2a7c13adbd Fixed bug [ 1714813 ] ApplyXXXToSelection remove style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-26 14:55:20 +00:00
Julian Smart
d688e6394f Removed redundant Init call (bug 1724495)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-26 14:27:48 +00:00
Julian Smart
592b8d3ebe Fixed [ 1764805 ] wxSeek with negative offset fails on WinCE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-26 14:15:12 +00:00
Julian Smart
b9203caf27 Fixed bug [ 1870906 ] There are few problems selection text by mouse in RichTextCt
Fixed bug [ 1870265 ] window does not scroll after pasting text
Fixed bug [ 1870264 ] wxTextUrlEvent after click in empty space
Fixed bug [ 1806479 ] wxRichText URL issues (URL event triggered when clicking on blank space)
Fixed bug [ 1806953 ] wxRichTextControl::AddParagraph() is broken
Fixed a bug in SelectWord causing bad selections.
Added Ctrl+Backspace word deletion.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-26 12:53:39 +00:00
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