wxWidgets.git
16 years agoFixed compilation error (patch #1827541).
Stefan Neis [Wed, 7 Nov 2007 22:32:40 +0000 (22:32 +0000)] 
Fixed compilation error (patch #1827541).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoWarning fix
Julian Smart [Wed, 7 Nov 2007 18:16:12 +0000 (18:16 +0000)] 
Warning fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoVertically centres a left-aligned wxChoiceBook controller
Julian Smart [Wed, 7 Nov 2007 12:49:05 +0000 (12:49 +0000)] 
Vertically centres a left-aligned wxChoiceBook controller

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoUpport hint window improvement using custom GTK+ code
Robert Roebling [Wed, 7 Nov 2007 11:12:08 +0000 (11:12 +0000)] 
Upport hint window improvement using custom GTK+ code

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoUpport wxMiniFrame corrections
Robert Roebling [Wed, 7 Nov 2007 11:04:27 +0000 (11:04 +0000)] 
Upport wxMiniFrame corrections

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoreplaced FIXME comment left in the last commit with an explanation
Vadim Zeitlin [Wed, 7 Nov 2007 00:16:40 +0000 (00:16 +0000)] 
replaced FIXME comment left in the last commit with an explanation

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoRemoved no longer needed desktop size hack
Julian Smart [Tue, 6 Nov 2007 23:05:38 +0000 (23:05 +0000)] 
Removed no longer needed desktop size hack

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoimplement wxGetCientDisplayRect() correctly for X11-based ports
Vadim Zeitlin [Tue, 6 Nov 2007 22:27:15 +0000 (22:27 +0000)] 
implement wxGetCientDisplayRect() correctly for X11-based ports

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoNew "pizza" widget implementation (should have been part of previous commit)
Paul Cornett [Tue, 6 Nov 2007 18:20:57 +0000 (18:20 +0000)] 
New "pizza" widget implementation (should have been part of previous commit)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoNew "pizza" widget implementation. Window border widths now match the GtkStyle they...
Paul Cornett [Tue, 6 Nov 2007 18:14:15 +0000 (18:14 +0000)] 
New "pizza" widget implementation. Window border widths now match the GtkStyle they are drawn with.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agodon't renumber dock rows to remove gaps
Benjamin Williams [Tue, 6 Nov 2007 17:03:00 +0000 (17:03 +0000)] 
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

16 years agoaui dock renumbering fix
Benjamin Williams [Tue, 6 Nov 2007 14:03:13 +0000 (14:03 +0000)] 
aui dock renumbering fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoMoved desktop margin options to a more sensible place
Julian Smart [Tue, 6 Nov 2007 10:52:14 +0000 (10:52 +0000)] 
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

16 years agoAdded sizer.desktopmargin.x, sizer.desktopmargin.y options to allow for desktop decor...
Julian Smart [Tue, 6 Nov 2007 09:42:28 +0000 (09:42 +0000)] 
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

16 years agodon't add 0.5 to GetTextExtent() results and do take trailing spaces into account...
Vadim Zeitlin [Tue, 6 Nov 2007 01:43:56 +0000 (01:43 +0000)] 
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

16 years agoFix compilation of gnome-vfs module after dynlib.h changes back in September:
Mart Raudsepp [Tue, 6 Nov 2007 01:35:56 +0000 (01:35 +0000)] 
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

16 years agoInclude the parent classes header to fix compilation of wxGTK core after these contro...
Mart Raudsepp [Tue, 6 Nov 2007 00:32:34 +0000 (00:32 +0000)] 
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

16 years agoimplemented wxTextEntry for wxMotif, made wxComboBox derive from it
Vadim Zeitlin [Mon, 5 Nov 2007 23:13:09 +0000 (23:13 +0000)] 
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

16 years agoundid an overeager WXUNUSED() which broke non-Mac compilation
Vadim Zeitlin [Mon, 5 Nov 2007 22:47:05 +0000 (22:47 +0000)] 
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

16 years agomore unused parameters warnings (should have been part of r49659)
Vadim Zeitlin [Mon, 5 Nov 2007 22:33:54 +0000 (22:33 +0000)] 
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

16 years agodon't include generic files in wxGTK build (should have been part of r49660)
Vadim Zeitlin [Mon, 5 Nov 2007 22:33:24 +0000 (22:33 +0000)] 
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

16 years agorequire GTK+ 2.4 for wxGTK2
Vadim Zeitlin [Mon, 5 Nov 2007 22:32:45 +0000 (22:32 +0000)] 
require GTK+ 2.4 for wxGTK2

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoremoved all compile- and run-time checks for GTK+ < 2.4; don't include the generic...
Vadim Zeitlin [Mon, 5 Nov 2007 22:31:24 +0000 (22:31 +0000)] 
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

16 years agofix a few hundreds of harmless unused parameters warnings and a couple of real bugs...
Vadim Zeitlin [Mon, 5 Nov 2007 22:29:16 +0000 (22:29 +0000)] 
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

16 years agosuppress (harmless) gcc warning about non-virtual dtor in a class with virtual functions
Vadim Zeitlin [Mon, 5 Nov 2007 21:49:26 +0000 (21:49 +0000)] 
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

16 years agoexclude include/wx/vms_x_fix.h from ctags input, it doesn't contain any useful defini...
Vadim Zeitlin [Mon, 5 Nov 2007 21:28:42 +0000 (21:28 +0000)] 
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

16 years agotemporary wxMotif compilation fix
Vadim Zeitlin [Mon, 5 Nov 2007 21:21:09 +0000 (21:21 +0000)] 
temporary wxMotif compilation fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoMinimum is now GTK+ 2.4
Robert Roebling [Mon, 5 Nov 2007 18:51:23 +0000 (18:51 +0000)] 
Minimum is now GTK+ 2.4

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoMinimum is now GTK+ 2.4
Robert Roebling [Mon, 5 Nov 2007 18:49:49 +0000 (18:49 +0000)] 
Minimum is now GTK+ 2.4

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoMinimum is now GTK+ 2.4
Robert Roebling [Mon, 5 Nov 2007 18:48:42 +0000 (18:48 +0000)] 
Minimum is now GTK+ 2.4

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoMinimum is now GTK+ 2.4
Robert Roebling [Mon, 5 Nov 2007 18:46:43 +0000 (18:46 +0000)] 
Minimum is now GTK+ 2.4

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years ago[ 1823588 ] gtk filedlg - droping support for gtk 2.2
Robert Roebling [Mon, 5 Nov 2007 18:43:14 +0000 (18:43 +0000)] 
[ 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

16 years agofix ReceiveTimeout() reference
Vadim Zeitlin [Mon, 5 Nov 2007 18:22:22 +0000 (18:22 +0000)] 
fix ReceiveTimeout() reference

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoupdate the requirements: OS X >= 10.3, GTK+ >= 2.4
Vadim Zeitlin [Mon, 5 Nov 2007 17:49:27 +0000 (17:49 +0000)] 
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

16 years agocompilation fix for stuff missing from mingw32 headers
Vadim Zeitlin [Mon, 5 Nov 2007 13:35:24 +0000 (13:35 +0000)] 
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

16 years agoforward declare wxArrayString (compilation fix for non-PCH build)
Vadim Zeitlin [Mon, 5 Nov 2007 13:27:58 +0000 (13:27 +0000)] 
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

16 years agoinitialize bitmap to avoid assertion
Paul Cornett [Mon, 5 Nov 2007 07:11:01 +0000 (07:11 +0000)] 
initialize bitmap to avoid assertion

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoimplement AutoComplete for wxMSW too
Vadim Zeitlin [Mon, 5 Nov 2007 00:44:26 +0000 (00:44 +0000)] 
implement AutoComplete for wxMSW too

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agobuild fix: return type for AutoComplete is bool
Paul Cornett [Sun, 4 Nov 2007 23:27:59 +0000 (23:27 +0000)] 
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

16 years agoadded wxTextEntry::AutoCompleteFileNames() and implemented it for wxMSW
Vadim Zeitlin [Sun, 4 Nov 2007 23:08:26 +0000 (23:08 +0000)] 
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

16 years agoadded wxTextEntry::AutoComplete() and implemented it for wxGTK
Vadim Zeitlin [Sun, 4 Nov 2007 22:39:54 +0000 (22:39 +0000)] 
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

16 years agobug fix for vista in multi-selection tree
Benjamin Williams [Sun, 4 Nov 2007 21:26:56 +0000 (21:26 +0000)] 
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

16 years agobuild fixes for universal
Paul Cornett [Sun, 4 Nov 2007 19:39:12 +0000 (19:39 +0000)] 
build fixes for universal

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoremove unused file
Paul Cornett [Sun, 4 Nov 2007 19:02:05 +0000 (19:02 +0000)] 
remove unused file

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agouse gtk_entry_set_activates_default() instead of redoing its work manually ourselves
Vadim Zeitlin [Sun, 4 Nov 2007 16:34:36 +0000 (16:34 +0000)] 
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

16 years agoonly generate wxEVT_COMMAND_TEXT_ENTER if the combobox has wxTE_PROCESS_ENTER style...
Vadim Zeitlin [Sun, 4 Nov 2007 16:16:46 +0000 (16:16 +0000)] 
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

16 years agoimplement wxLocale::GetInfo() using CFLocale (modified patch 1760939)
Vadim Zeitlin [Sun, 4 Nov 2007 16:01:05 +0000 (16:01 +0000)] 
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

16 years agoinclude wx/wxprec.h first (patch 1743343)
Vadim Zeitlin [Sun, 4 Nov 2007 15:40:30 +0000 (15:40 +0000)] 
include wx/wxprec.h first (patch 1743343)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agomention that wxTE_PROCESS_ENTER must be used in order to receive EVT_TEXT_ENTER from...
Vadim Zeitlin [Sun, 4 Nov 2007 00:06:12 +0000 (00:06 +0000)] 
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

16 years agoadded wxWindow::AlwaysShowScrollbars() and its wxMac implementation
Vadim Zeitlin [Sat, 3 Nov 2007 22:14:29 +0000 (22:14 +0000)] 
added wxWindow::AlwaysShowScrollbars() and its wxMac implementation

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agomake wxScrollBar derive from wxScrollBarBase under wxMac too
Vadim Zeitlin [Sat, 3 Nov 2007 22:12:26 +0000 (22:12 +0000)] 
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

16 years agoset the event object of the menu events to the frame the menu is attached to instead...
Vadim Zeitlin [Sat, 3 Nov 2007 21:48:47 +0000 (21:48 +0000)] 
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

16 years agohandle failure of gtk_drag_begin() (which can happen e.g. because gdk_pointer_grab...
Vadim Zeitlin [Sat, 3 Nov 2007 21:46:55 +0000 (21:46 +0000)] 
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

16 years agoput dnl on a new line so it doesn't join lines, remove redundant
Paul Cornett [Sat, 3 Nov 2007 16:44:04 +0000 (16:44 +0000)] 
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

16 years agodo not use [] around tr character ranges, it is not portable and not necessary
Paul Cornett [Sat, 3 Nov 2007 16:14:28 +0000 (16:14 +0000)] 
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

16 years agofix for configure error message "grep: Unmatched [ or [^"
Paul Cornett [Sat, 3 Nov 2007 16:02:40 +0000 (16:02 +0000)] 
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

16 years agofix unused parameters warnings
Vadim Zeitlin [Fri, 2 Nov 2007 22:07:26 +0000 (22:07 +0000)] 
fix unused parameters warnings

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agodon't make the dialog 3 times as wide as the length of the label string, this is...
Vadim Zeitlin [Fri, 2 Nov 2007 16:11:08 +0000 (16:11 +0000)] 
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

16 years agofixing compile problem, but is it the best way to fix it ?
Stefan Csomor [Fri, 2 Nov 2007 14:14:05 +0000 (14:14 +0000)] 
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

16 years agofix warnings in EventsSuppressor ctor from gcc with -O option
Vadim Zeitlin [Fri, 2 Nov 2007 13:27:38 +0000 (13:27 +0000)] 
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

16 years agoprevent builtin libtiff from using libjpeg if --without-libjpeg was specified
Vadim Zeitlin [Fri, 2 Nov 2007 13:22:06 +0000 (13:22 +0000)] 
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

16 years agobuild fixes
Paul Cornett [Fri, 2 Nov 2007 05:04:26 +0000 (05:04 +0000)] 
build fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agotry (this can be vetoed) to set focus to the listbox before generating the events...
Vadim Zeitlin [Fri, 2 Nov 2007 00:27:13 +0000 (00:27 +0000)] 
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

16 years agofixes for DLL build
Vadim Zeitlin [Fri, 2 Nov 2007 00:05:09 +0000 (00:05 +0000)] 
fixes for DLL build

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agouse wxTextEntry in wxTextValidator (modified patch 1821743)
Vadim Zeitlin [Thu, 1 Nov 2007 20:52:40 +0000 (20:52 +0000)] 
use wxTextEntry in wxTextValidator (modified patch 1821743)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agodon't crash in HiglightAll() (called, in particular, from SortItems()) when the contr...
Vadim Zeitlin [Thu, 1 Nov 2007 20:41:30 +0000 (20:41 +0000)] 
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

16 years agoset the focus to the tree before generating the selection change events to have a...
Vadim Zeitlin [Thu, 1 Nov 2007 20:26:11 +0000 (20:26 +0000)] 
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

16 years agomade LogLastRepetitionCountIfNeeded() non static to avoid recreating the log target...
Vadim Zeitlin [Thu, 1 Nov 2007 20:22:06 +0000 (20:22 +0000)] 
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

16 years agoSizing improvements and read-only preview controls
Julian Smart [Thu, 1 Nov 2007 17:37:29 +0000 (17:37 +0000)] 
Sizing improvements and read-only preview controls

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoTemporary hack to allow wxUSE_FSCRIPT to be set on the compiler command-line
David Elliott [Thu, 1 Nov 2007 16:51:06 +0000 (16:51 +0000)] 
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

16 years agoFix mouse coordinates in scrolled views to be those that wxWidgets expects.
David Elliott [Thu, 1 Nov 2007 06:06:07 +0000 (06:06 +0000)] 
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

16 years agoImplement scrolling like wxWindow expects. That is, scrollbars send an event
David Elliott [Thu, 1 Nov 2007 04:25:25 +0000 (04:25 +0000)] 
Implement scrolling like wxWindow expects.  That is, scrollbars send an event
which the application processes to scroll the window the desired amount rather
than letting the toolkit do it.
There's still a lot more to go w.r.t. coordinate system transformations.
Copyright 2007 Software 2000 Ltd.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoadded wxMessageQueue class for inter-thread communications
Vadim Zeitlin [Thu, 1 Nov 2007 01:35:20 +0000 (01:35 +0000)] 
added wxMessageQueue class for inter-thread communications

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoalso assert in generic GetSelection() if the control is in multiselection mode, for...
Vadim Zeitlin [Thu, 1 Nov 2007 00:09:13 +0000 (00:09 +0000)] 
also assert in generic GetSelection() if the control is in multiselection mode, for consistency with wxMSW and other controls

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agomention that bitmap must be selected out of wxMemoryDC before being used for anything...
Vadim Zeitlin [Wed, 31 Oct 2007 16:14:29 +0000 (16:14 +0000)] 
mention that bitmap must be selected out of wxMemoryDC before being used for anything else (patch 1823516)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agomake strings used in the dialog translatable (patch 1823372)
Vadim Zeitlin [Wed, 31 Oct 2007 16:08:18 +0000 (16:08 +0000)] 
make strings used in the dialog translatable (patch 1823372)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoreplaced a wrong _() with _T() (small part of patch 1822769)
Vadim Zeitlin [Wed, 31 Oct 2007 16:06:22 +0000 (16:06 +0000)] 
replaced a wrong _() with _T() (small part of patch 1822769)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoreverted last changed (r49413) as deleting non-attached menus fails under Windows 95
Vadim Zeitlin [Tue, 30 Oct 2007 18:51:16 +0000 (18:51 +0000)] 
reverted last changed (r49413) as deleting non-attached menus fails under Windows 95

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agodon't set CF_TEXT data in wxURLDataObject in Unicode build, this results in an assert
Vadim Zeitlin [Tue, 30 Oct 2007 12:50:39 +0000 (12:50 +0000)] 
don't set CF_TEXT data in wxURLDataObject in Unicode build, this results in an assert

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agomove to newer tex2rtf
Chris Elliott [Tue, 30 Oct 2007 10:22:33 +0000 (10:22 +0000)] 
move to newer tex2rtf

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoadd wxMouseEvent::GetClickCount() and implement it for wxMac
Vadim Zeitlin [Mon, 29 Oct 2007 22:31:18 +0000 (22:31 +0000)] 
add wxMouseEvent::GetClickCount() and implement it for wxMac

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoWatcom needs lfind change too
Chris Elliott [Mon, 29 Oct 2007 20:57:56 +0000 (20:57 +0000)] 
Watcom needs lfind change too

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoAdd WXUNUSED to unused parameters in several inline-implemented methods.
David Elliott [Mon, 29 Oct 2007 16:18:59 +0000 (16:18 +0000)] 
Add WXUNUSED to unused parameters in several inline-implemented methods.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agodefine TTF_TRANSPARENT if it's absent from SDK headers
Vadim Zeitlin [Mon, 29 Oct 2007 15:27:40 +0000 (15:27 +0000)] 
define TTF_TRANSPARENT if it's absent from SDK headers

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agodefine HDS_DRAGDROP and HDS_FULLDRAG if the SDK is too old to define them
Vadim Zeitlin [Mon, 29 Oct 2007 13:46:44 +0000 (13:46 +0000)] 
define HDS_DRAGDROP and HDS_FULLDRAG if the SDK is too old to define them

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoDMC work round
Chris Elliott [Mon, 29 Oct 2007 13:33:12 +0000 (13:33 +0000)] 
DMC work round

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agofix syntax errors in the example
Vadim Zeitlin [Mon, 29 Oct 2007 12:13:53 +0000 (12:13 +0000)] 
fix syntax errors in the example

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agofix syntax error in the example
Vadim Zeitlin [Mon, 29 Oct 2007 12:11:55 +0000 (12:11 +0000)] 
fix syntax error in the example

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agofix more unused parameters warnings
Vadim Zeitlin [Mon, 29 Oct 2007 12:10:48 +0000 (12:10 +0000)] 
fix more unused parameters warnings

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agorun libtiff configure when --with-libtiff=builtin is specified
Vadim Zeitlin [Mon, 29 Oct 2007 12:09:59 +0000 (12:09 +0000)] 
run libtiff configure when --with-libtiff=builtin is specified

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agouse TTF_TRANSPARENT to fix problem with flashing tooltips (patch 1821229)
Vadim Zeitlin [Mon, 29 Oct 2007 00:38:57 +0000 (00:38 +0000)] 
use TTF_TRANSPARENT to fix problem with flashing tooltips (patch 1821229)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agouse fixed TOOLINFO struct size instead of trying to (wrongly) deduce it from the...
Vadim Zeitlin [Mon, 29 Oct 2007 00:33:48 +0000 (00:33 +0000)] 
use fixed TOOLINFO struct size instead of trying to (wrongly) deduce it from the _WIN32_IE value, fixes bug with tooltips not appearing under Windows 95

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoApplied patch #1821711 (workaround for Watcom inconsistency wrt Posix functions)
Stefan Neis [Sun, 28 Oct 2007 18:52:46 +0000 (18:52 +0000)] 
Applied patch #1821711 (workaround for Watcom inconsistency wrt Posix functions)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoOS/2 currently unsupported due to platform's insufficient Unicode support.
Stefan Neis [Sun, 28 Oct 2007 18:36:28 +0000 (18:36 +0000)] 
OS/2 currently unsupported due to platform's insufficient Unicode support.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years ago2.4 GTK fix as at http://thread.gmane.org/gmane.comp.lib.wxwidgets.devel/93157
Chris Elliott [Sun, 28 Oct 2007 10:54:19 +0000 (10:54 +0000)] 
2.4 GTK fix as at thread.gmane.org/gmane.comp.lib.wxwidgets.devel/93157

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agodefine wxTIFFHandler ctor in the .cpp file even if wxUSE_STREAMS==0 as it's declared...
Vadim Zeitlin [Sun, 28 Oct 2007 00:08:27 +0000 (00:08 +0000)] 
define wxTIFFHandler ctor in the .cpp file even if wxUSE_STREAMS==0 as it's declared in the header in this case (this doesn't really make much sense as the class is unusable anyhow but the other handlers do it like this so let's do the same thing here for consistency and maybe fix all of them at once later)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agouse the same #if wxUSE_XXX checks in platform-specific files as around wxTextEntryBas...
Vadim Zeitlin [Sun, 28 Oct 2007 00:03:23 +0000 (00:03 +0000)] 
use the same #if wxUSE_XXX checks in platform-specific files as around wxTextEntryBase implementation

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoreverted unrelated changes accidentally committed as part of r49411
Vadim Zeitlin [Sun, 28 Oct 2007 00:00:12 +0000 (00:00 +0000)] 
reverted unrelated changes accidentally committed as part of r49411

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agobuild fixes
Paul Cornett [Sat, 27 Oct 2007 22:24:35 +0000 (22:24 +0000)] 
build fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agodon't delete uninitialized m_eventHandler pointer if initialization failed (patch...
Vadim Zeitlin [Sat, 27 Oct 2007 21:16:54 +0000 (21:16 +0000)] 
don't delete uninitialized m_eventHandler pointer if initialization failed (patch 1819944)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775