Commit Graph

43054 Commits

Author SHA1 Message Date
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
Václav Slavík
301d7a0da6 added wxWindow::ClientToWindowSize and WindowToClientSize helpers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-12 15:49:22 +00:00
Václav Slavík
bad4a10f24 silence warnings about <headers>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-12 11:29:35 +00:00
Stefan Csomor
812e3c4742 fixing SetShape's bridging between RgnHandle and HiShapeRef
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-12 10:49:19 +00:00
Jouk Jansen
25071a1b57 Update setup for OpenVMS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-12 07:25:33 +00:00
Paul Cornett
071ccf2a7c build fix for non-MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-12 04:03:49 +00:00
Vadim Zeitlin
e340b786a8 use wxLanguageInfo::GetLocaleName() instead of Desscription which can't be passed to _create_locale() (except that it works for a few standard languages by random coincidence)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-12 00:06:52 +00:00
Vadim Zeitlin
42db82fd8d simplify SETLOCALE_FAILS_ON_UNICODE_LANGS-related code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-11 23:57:30 +00:00
Vadim Zeitlin
99abd9c85c remove half a dozen #ifndef __WXWINCE__ as they dont seem to be necessary now (wxSetlocale() is defined in wxcrt.h for all platforms); if the compilation for CE is broken it must be fixed by providing wxSetlocale() stub for it instead of writings tons of #ifdefs!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-11 23:48:35 +00:00
Vadim Zeitlin
86d62b51c0 add wxLanguageInfo::GetLocaleName(), this simplifies the current code and will be used with wxXLocale
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-11 23:40:03 +00:00
Vadim Zeitlin
ea65760d5c avoid duplication in the code by refactoring LCID creation from wxLanguageInfo::WinLang and WinSublang in a member function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-11 23:23:10 +00:00
Vadim Zeitlin
800f137903 initialize m_backgroundBrush to an invalid brush instead of wxTRANSPARENT_BRUSH, this shouldn't change anything but avoids unneeded initialization
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-11 22:34:13 +00:00
Vadim Zeitlin
e630cd0454 use #ifdef __WXMAC__, not #if
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-11 22:30:58 +00:00
Vadim Zeitlin
0023c3326c document that wxTLW::SetSize() is affected by SetSizeHints()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-11 21:12:15 +00:00
Francesco Montorsi
e0b7c2b713 use WXLIBPOSTFIX inside the define-*-name tags so to make the generated makefiles much shorter.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-11 21:01:06 +00:00
Vadim Zeitlin
5a0c7d664e use correct WXDLLIMPEXP_FWD_CORE instead of WXDLLIMPEXP_FWD_BASE for wxWindow forward declaration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-11 20:51:24 +00:00
Vadim Zeitlin
6c91ea6f89 update m_lastcount correctly in wxBufferedInputStream::Read() when using the buffer associated with another stream and not created by this one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-11 20:23:29 +00:00
Vadim Zeitlin
b720b86bfb set selection anchor to the focused item in SetItemState()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-11 20:16:23 +00:00
Paul Cornett
f03789294f fix for glib critical errors when closing an mdi child
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-11 17:39:06 +00:00