Commit Graph

41813 Commits

Author SHA1 Message Date
Vadim Zeitlin
88262190d5 require GTK+ 2.4 for wxGTK2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-05 22:32:45 +00:00
Vadim Zeitlin
ff654490b7 removed all compile- and run-time checks for GTK+ < 2.4; don't include the generic files which are now never used in wxGTK in the build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-05 22:31:24 +00:00
Vadim Zeitlin
899544330f fix a few hundreds of harmless unused parameters warnings and a couple of real bugs discovered thanks to them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-05 22:29:16 +00:00
Vadim Zeitlin
3eeefdf9bd suppress (harmless) gcc warning about non-virtual dtor in a class with virtual functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-05 21:49:26 +00:00
Vadim Zeitlin
977dcce77f exclude include/wx/vms_x_fix.h from ctags input, it doesn't contain any useful definitions and just gets in the way
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-05 21:28:42 +00:00
Vadim Zeitlin
7b235dce88 temporary wxMotif compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-05 21:21:09 +00:00
Robert Roebling
593ac8df8e Minimum is now GTK+ 2.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-05 18:51:23 +00:00
Robert Roebling
450c18313a Minimum is now GTK+ 2.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-05 18:49:49 +00:00
Robert Roebling
1f9f790f56 Minimum is now GTK+ 2.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-05 18:48:42 +00:00
Robert Roebling
25c5c36231 Minimum is now GTK+ 2.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-05 18:46:43 +00:00
Robert Roebling
700d08c109 [ 1823588 ] gtk filedlg - droping support for gtk 2.2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-05 18:43:14 +00:00
Vadim Zeitlin
e815120e41 fix ReceiveTimeout() reference
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-05 18:22:22 +00:00
Vadim Zeitlin
391e70aeed update the requirements: OS X >= 10.3, GTK+ >= 2.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-05 17:49:27 +00:00
Vadim Zeitlin
96506d1d58 compilation fix for stuff missing from mingw32 headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-05 13:35:24 +00:00
Vadim Zeitlin
b4782e576d forward declare wxArrayString (compilation fix for non-PCH build)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-05 13:27:58 +00:00
Paul Cornett
66ddd8d2f2 initialize bitmap to avoid assertion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-05 07:11:01 +00:00
Vadim Zeitlin
0847dca672 implement AutoComplete for wxMSW too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-05 00:44:26 +00:00
Paul Cornett
0c3d1aa7fd build fix: return type for AutoComplete is bool
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-04 23:27:59 +00:00
Vadim Zeitlin
59396417d3 added wxTextEntry::AutoCompleteFileNames() and implemented it for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-04 23:08:26 +00:00
Vadim Zeitlin
ecaed0bcda added wxTextEntry::AutoComplete() and implemented it for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-04 22:39:54 +00:00
Benjamin Williams
5fe302ef74 bug fix for vista in multi-selection tree
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-04 21:26:56 +00:00
Paul Cornett
08809d1886 build fixes for universal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-04 19:39:12 +00:00
Paul Cornett
00bb6d6f57 remove unused file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-04 19:02:05 +00:00
Vadim Zeitlin
ff805cac74 use gtk_entry_set_activates_default() instead of redoing its work manually ourselves
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-04 16:34:36 +00:00
Vadim Zeitlin
643c973bd8 only generate wxEVT_COMMAND_TEXT_ENTER if the combobox has wxTE_PROCESS_ENTER style (for compatibility with wxMSW and wxTextCtrl); removed code using gtk_widget_activate() as this shouldn't be needed here at all
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-04 16:16:46 +00:00
Vadim Zeitlin
dff6cf576a implement wxLocale::GetInfo() using CFLocale (modified patch 1760939)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-04 16:01:05 +00:00
Vadim Zeitlin
ae6c6c356b include wx/wxprec.h first (patch 1743343)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-04 15:40:30 +00:00
Vadim Zeitlin
da1994f027 mention that wxTE_PROCESS_ENTER must be used in order to receive EVT_TEXT_ENTER from combobox (to avoid reports such as bug 1820215)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-04 00:06:12 +00:00
Vadim Zeitlin
c114200348 added wxWindow::AlwaysShowScrollbars() and its wxMac implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-03 22:14:29 +00:00
Vadim Zeitlin
3a5b9ee8b8 make wxScrollBar derive from wxScrollBarBase under wxMac too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-03 22:12:26 +00:00
Vadim Zeitlin
7db0d5feb8 set the event object of the menu events to the frame the menu is attached to instead of the menu itself for compatibility with wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-03 21:48:47 +00:00
Vadim Zeitlin
86f19f7ce5 handle failure of gtk_drag_begin() (which can happen e.g. because gdk_pointer_grab() failed) in DoDragDrop() (patch 1825237) + minor cleanup in trunk version of the code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-03 21:46:55 +00:00
Paul Cornett
bef5e9e5f6 put dnl on a new line so it doesn't join lines, remove redundant
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-03 16:44:04 +00:00
Paul Cornett
c2e0288358 do not use [] around tr character ranges, it is not portable and not necessary
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-03 16:14:28 +00:00
Paul Cornett
44ad7a093e fix for configure error message "grep: Unmatched [ or [^"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-03 16:02:40 +00:00
Vadim Zeitlin
0a81a01a46 fix unused parameters warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-02 22:07:26 +00:00
Vadim Zeitlin
6f457a7735 don't make the dialog 3 times as wide as the length of the label string, this is excessive (bug 1824673)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-02 16:11:08 +00:00
Stefan Csomor
cdfc78b892 fixing compile problem, but is it the best way to fix it ?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-02 14:14:05 +00:00
Vadim Zeitlin
3b49331b74 fix warnings in EventsSuppressor ctor from gcc with -O option
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-02 13:27:38 +00:00
Vadim Zeitlin
f7127b130e prevent builtin libtiff from using libjpeg if --without-libjpeg was specified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-02 13:22:06 +00:00
Paul Cornett
92646f5a74 build fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-02 05:04:26 +00:00
Vadim Zeitlin
af8fc1161c try (this can be vetoed) to set focus to the listbox before generating the events (patch 1822109)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-02 00:27:13 +00:00
Vadim Zeitlin
4660b55651 fixes for DLL build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-02 00:05:09 +00:00
Vadim Zeitlin
472eec8a03 use wxTextEntry in wxTextValidator (modified patch 1821743)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-01 20:52:40 +00:00
Vadim Zeitlin
b6423e8be3 don't crash in HiglightAll() (called, in particular, from SortItems()) when the control is empty (patch 1821550)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-01 20:41:30 +00:00
Vadim Zeitlin
cb776b6671 set the focus to the tree before generating the selection change events to have a more expected (and compatible with other platforms) order of tree and focus events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-01 20:26:11 +00:00
Vadim Zeitlin
c1f80bc0a6 made LogLastRepetitionCountIfNeeded() non static to avoid recreating the log target from ~wxLog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-01 20:22:06 +00:00
Julian Smart
36427ad571 Sizing improvements and read-only preview controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-01 17:37:29 +00:00
David Elliott
26f1176ecd Temporary hack to allow wxUSE_FSCRIPT to be set on the compiler command-line
until I make a proper configure option for it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-01 16:51:06 +00:00
David Elliott
a4ee505901 Fix mouse coordinates in scrolled views to be those that wxWidgets expects.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-01 06:06:07 +00:00