Commit Graph

41824 Commits

Author SHA1 Message Date
Benjamin Williams
1ca1b2b88f don't renumber dock rows to remove gaps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-06 17:03:00 +00:00
Benjamin Williams
7afb581411 aui dock renumbering fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-06 14:03:13 +00:00
Julian Smart
9e967d5417 Moved desktop margin options to a more sensible place
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-06 10:52:14 +00:00
Julian Smart
3ed6c6f4ac Added sizer.desktopmargin.x, sizer.desktopmargin.y options to allow for desktop decorations in wxSizer::Fit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-06 09:42:28 +00:00
Vadim Zeitlin
595fda6f9c don't add 0.5 to GetTextExtent() results and do take trailing spaces into account, as wxDC does (patch 1814620)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-06 01:43:56 +00:00
Mart Raudsepp
0a5b15da92 Fix compilation of gnome-vfs module after dynlib.h changes back in September:
* Use wxDL_VOIDMETHOD_DEFINE where necessary
* Add a semi-colon after wxDL_METHOD_LOAD calls

Linking is still broken though (MimeTypesManagerImpl::AddToMimeData required, but not exported from base)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-06 01:35:56 +00:00
Mart Raudsepp
c0a1e26885 Include the parent classes header to fix compilation of wxGTK core after these controls don't inherit from generic control anymore (which happened to do the include of button.h before)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-06 00:32:34 +00:00
Vadim Zeitlin
978c6e4113 implemented wxTextEntry for wxMotif, made wxComboBox derive from it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-05 23:13:09 +00:00
Vadim Zeitlin
aca5c6971f undid an overeager WXUNUSED() which broke non-Mac compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-05 22:47:05 +00:00
Vadim Zeitlin
8a088306dd more unused parameters warnings (should have been part of r49659)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-05 22:33:54 +00:00
Vadim Zeitlin
773623f2ae don't include generic files in wxGTK build (should have been part of r49660)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-05 22:33:24 +00:00
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