Commit Graph

43122 Commits

Author SHA1 Message Date
Vadim Zeitlin
f986fe7613 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/trunk@51853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-17 01:37:23 +00:00
Vadim Zeitlin
9b9483c7fd turn wxUSE_STD_IOSTREAM on by default (except for the compilers which are too broken) (should have been part of r51844)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-16 15:56:02 +00:00
Michael Wetherell
5a049933b6 Add <fetch> class to allow building tarballs from the York site.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-16 15:49:07 +00:00
Vadim Zeitlin
bb445ba732 turn wxUSE_STD_IOSTREAM on by default (except for the compilers which are too broken)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-16 15:40:13 +00:00
Vadim Zeitlin
2fda1fe5fd fix redundant storage of current date both in wxCalendarCtrl (which was itself redundantly stored as both wxDatePickerCtrl::m_cal and m_popup) and popup m_currentDate variable which resulted in multiple bugs, e.g. calendar didn't open at the current date value
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-16 15:39:06 +00:00
Vadim Zeitlin
7c16b7cc5d remove duplicated create/destroyevt.tex inclusion, put dcsvg.tex in the right place in alphabetic order
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-16 14:25:20 +00:00
Julian Smart
fa01bfddc6 Avoid paragraphs with no children
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-16 13:36:03 +00:00
Julian Smart
9dda10ae72 Fixed an XML parsing error for complex URLs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-16 12:09:48 +00:00
Julian Smart
65db6e118e Removed unnecessary include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-16 11:15:21 +00:00
Vadim Zeitlin
54753153a6 mention wxLogBuffer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-16 00:09:20 +00:00
Vadim Zeitlin
40144b187a correct wxUSE_MSGDLG description (it's for wxMessageDialog, not wxMessageOutput)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-16 00:07:22 +00:00
Vadim Zeitlin
0290184d78 document wxLogBuffer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-16 00:05:47 +00:00
Stefan Csomor
297218f05a better implementation from VZ
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-15 21:06:35 +00:00
Stefan Csomor
bf31b1d6d8 supporting case insensitive iteration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-15 16:24:13 +00:00
Stefan Csomor
15169ab341 applying patch 1894478, 10.5 AudioServices support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-15 16:21:07 +00:00
Julian Smart
af33c0ec5f Set default attributes after a SetSelection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-15 15:41:57 +00:00
Vadim Zeitlin
fcc7fdb689 don't clutter the code with (apparently) unnecessary SM_SWAPBUTTON checks (patch 1892656)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-15 14:35:11 +00:00
Vadim Zeitlin
40e01f4bfa compilation fix for bcc 5.82: don't use enum for value definition, Borland doesn't use the value correctly when the template is used later then
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-15 14:16:32 +00:00
David Elliott
fd3fe3ec79 Better listbox scrollbar behavior.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-14 23:34:48 +00:00
David Elliott
97795793dc Hack: force a vertical scroller on wxListBox.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-14 22:54:20 +00:00
David Elliott
19253261f5 Move wxWindowCocoaScrollView class into its own header.
(Equivalent of r51796 on the 2.8 branch)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-14 21:08:44 +00:00
David Elliott
1a393573c3 More GC fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-14 19:46:21 +00:00
Vadim Zeitlin
ea88b5fa33 more unused parameter warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-14 15:57:11 +00:00
Vadim Zeitlin
7857346a54 I got too tired of seeing these unused parameters warnings finally
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-14 15:24:09 +00:00
Václav Slavík
ed6008f49f greatly simplified wxGenericCollapsiblePane::OnStateChange() after wxSizer fixes from r51789
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-14 13:43:16 +00:00
Václav Slavík
428c07c0f8 fixed wxSizer::SetSizeHints() to allow setting smaller size than before (e.g. when wxCollapsiblePane collapses)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-14 13:41:56 +00:00
Václav Slavík
3b96ea1ac5 added wxWindow::Set/GetMin/MaxClientSize convenience functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-14 13:40:47 +00:00
Francesco Montorsi
9bcb12e716 put URLs into \urlref commands
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-14 11:16:41 +00:00
Julian Smart
df707c27b3 Cut down on unnecessary update events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-14 11:08:49 +00:00
Julian Smart
3570a1c6e5 Performance optimization
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-14 11:01:18 +00:00
Paul Cornett
6db38fbfb8 remove gratuitous junk which had nothing to do with the commit log message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-14 05:31:22 +00:00
Vadim Zeitlin
674c275059 use listctrl coordinates for the wxEVT_COMMAND_LIST_COL_RIGHT_CLICK events (this was broken during wxMSWGetColumnClicked() refactoring)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-13 23:16:04 +00:00
Vadim Zeitlin
1b96afaa92 don't define HAVE_FSYNC if it's already defined (as it can happen when using Cygwin with configure)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-13 22:39:32 +00:00
Václav Slavík
32013b47d6 split wxSizer::Fit() into ComputeFittingWindow/ClientSize() that only does computations and Fit() that applies the result to the window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-13 21:32:11 +00:00
David Elliott
7be6187f19 Fix (at least) slider action messages in GC mode.
Copyright 2008 Software 2000 Ltd.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-13 20:30:36 +00:00
Julian Smart
f2ab7bf3f8 Make sure paragraph style is reset before applying a new style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-13 19:26:41 +00:00
Stefan Neis
6ab7f7786a Blind fix to improve wx-config's Bourne shell compatibility.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-13 18:41:44 +00:00
Julian Smart
f7222f4cca Implemented selection using shift left click
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-13 17:18:08 +00:00
Paul Cornett
002626c526 make sure client area is refreshed after last child frame is closed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-13 16:57:44 +00:00
Julian Smart
0745f36410 Fixed undo batching
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-13 16:28:00 +00:00
Václav Slavík
815399d5bb removed no longer used src/iodbc directory
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-13 15:37:15 +00:00
Václav Slavík
0618e761cb removed unused g_focusWindowLast
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-13 14:47:21 +00:00
Julian Smart
c025e094f4 Further fixes, for selected text display and new paragraph insertion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-13 14:24:49 +00:00
Stefan Csomor
e014851ee9 fixing wxSystemColour conversion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-13 08:35:19 +00:00
Vadim Zeitlin
6621957fe2 use platform-specific styles in xTR_DEFAULT_STYLE but don't impose them forcefully in wxGenericTreeCtrl ctor as this prevents people from using them even if they explicitly want to do it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-12 23:06:09 +00:00
Vadim Zeitlin
522a028a17 use const char*, not char*, for string literals to avoid gcc warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-12 22:53:30 +00:00
Vadim Zeitlin
8e9ca79b3c add forgotten file needed by the last change to the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-12 22:46:58 +00:00
Václav Slavík
f029f1d15b added wxWindow::HandleAsNavigationKey() helper for handling (not only) TAB key in custom controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-12 20:13:22 +00:00
Julian Smart
99404ab05f Fixed several style, paste and undo bugs
Added a reload function to the sample for quickly restoring original text


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-12 17:05:54 +00:00
Václav Slavík
77fe7204b5 use ClientToWindowSize/WindowToClientSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-12 15:53:35 +00:00