]>
git.saurik.com Git - wxWidgets.git/log
Stefan Csomor [Wed, 2 May 2007 14:31:30 +0000 (14:31 +0000)]
trying optimal scrolling solution perf-wise
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45757
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Wed, 2 May 2007 13:01:12 +0000 (13:01 +0000)]
Corrected swapped descriptions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45755
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Wed, 2 May 2007 13:00:28 +0000 (13:00 +0000)]
Corrected swapped descriptions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45754
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Wed, 2 May 2007 12:29:32 +0000 (12:29 +0000)]
added test for passing std::string to vararg functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45753
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Wed, 2 May 2007 11:05:45 +0000 (11:05 +0000)]
Moved all the coordinate system calculation to wxDCBase
and thus removed all the duplicated code in all wxDC
classes.
Problematic is that wxSVGFileDC and wxPostscriptDC inherit
from wxDC and therefore include platform specific code
(also before this change) so I chose to override all
SetLogicalOrigin() etc. methods in these classes and
call their wxDCBase methods thereby circumventing the
platform dependent code.
I'm afraid the Mac code will require updating, too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45752
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Wed, 2 May 2007 09:03:03 +0000 (09:03 +0000)]
made wxConvXXX objects usable at static initialization time
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45751
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Wed, 2 May 2007 07:41:27 +0000 (07:41 +0000)]
include object.h so that delete has complete type
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45750
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
David Elliott [Wed, 2 May 2007 07:18:57 +0000 (07:18 +0000)]
Add comments and a debugging aid to Get/SetLabel implementations which are intentional no-ops for wxCocoa.
Copyright Software 2000 Ltd.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45749
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Wed, 2 May 2007 04:16:31 +0000 (04:16 +0000)]
remove miniframe stuff from GtkOnSize(), it's handled by wxFrame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45745
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Wed, 2 May 2007 03:18:18 +0000 (03:18 +0000)]
make File->Exit work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45744
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Tue, 1 May 2007 22:20:56 +0000 (22:20 +0000)]
Renamed wxDCBase::LogicalTo ... to wxDC::.. here, too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45742
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Tue, 1 May 2007 21:28:29 +0000 (21:28 +0000)]
Made device to logical and vv conversion methods
virtual and implement them like any other method
in the wxDC classes, not only in the their files
but somehow belonging to the wxDCBase class.
This is required for plugging in differnt DC backends
with different conversions.
Ideally (and absolutely possible ) all these methods
should be removed and just the one in wxDCBase
should stay using values set in the various
derived classes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45741
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Tue, 1 May 2007 21:19:02 +0000 (21:19 +0000)]
added inline plural form of wxGetTranslation to wxUSE_INTL=0 case for use with non-default domain too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45740
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Tue, 1 May 2007 21:13:56 +0000 (21:13 +0000)]
define wxPLURAL even if wxUSE_INTL=0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45739
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Tue, 1 May 2007 19:34:00 +0000 (19:34 +0000)]
adjusting refcount asserts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45735
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 1 May 2007 14:34:53 +0000 (14:34 +0000)]
clarified alpha support status (bug
1710013 )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45734
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 1 May 2007 14:11:06 +0000 (14:11 +0000)]
fix wxStringOutputStream::Write() in Unicode build when the output overlaps a boundary between UTF-8 characters (closes bug
1701426 )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45733
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Tue, 1 May 2007 13:35:00 +0000 (13:35 +0000)]
Patch
1708290
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45731
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Tue, 1 May 2007 11:55:02 +0000 (11:55 +0000)]
Patch
1678304
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45730
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Tue, 1 May 2007 11:49:35 +0000 (11:49 +0000)]
Patch
1709069
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45729
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Tue, 1 May 2007 11:41:11 +0000 (11:41 +0000)]
Patch
1709108
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45728
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Roman Rolinsky [Mon, 30 Apr 2007 23:43:48 +0000 (23:43 +0000)]
set drop target on panel if present
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45724
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 30 Apr 2007 19:43:28 +0000 (19:43 +0000)]
fix m_sizerPage memory leak for the wizards not using sizers (replaces patch
1708331 , fixes bug
1647290 )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45722
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 30 Apr 2007 16:25:57 +0000 (16:25 +0000)]
use a marginally more precise but, more importantly, easier to understand, value for METRIC_CONVERSION_CONSTANT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45721
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 30 Apr 2007 16:23:17 +0000 (16:23 +0000)]
assert that wxRound() argument is in the supported range
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45720
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Roman Rolinsky [Mon, 30 Apr 2007 15:48:42 +0000 (15:48 +0000)]
drag-and-drop with left button
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45719
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Mon, 30 Apr 2007 12:46:30 +0000 (12:46 +0000)]
always define wxLocaleIsUtf8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45718
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Mon, 30 Apr 2007 12:08:01 +0000 (12:08 +0000)]
fixed release build compilation with compilers without __VA_ARGS__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45717
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Mon, 30 Apr 2007 09:46:44 +0000 (09:46 +0000)]
OS/2 compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45716
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Roman Rolinsky [Mon, 30 Apr 2007 08:31:19 +0000 (08:31 +0000)]
moved setting itemColour to XML_Tree.Clean where it belongs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45715
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 30 Apr 2007 01:13:37 +0000 (01:13 +0000)]
don't drop lines without trailing new line character in wxExecute() with capture
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45713
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Sun, 29 Apr 2007 10:28:22 +0000 (10:28 +0000)]
OpenWatcom >= 1.2 has __VA_ARGS__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45712
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Sun, 29 Apr 2007 09:02:38 +0000 (09:02 +0000)]
compilation fixes for --disable-log
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45711
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Sun, 29 Apr 2007 08:04:58 +0000 (08:04 +0000)]
added support for passing std::[w]string to 'vararg' templates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45710
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Sun, 29 Apr 2007 00:05:34 +0000 (00:05 +0000)]
Another fix for: AttributeError: 'XML_Tree' object has no attribute 'itemColour'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45709
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Michael Wetherell [Sat, 28 Apr 2007 15:59:12 +0000 (15:59 +0000)]
Register the test under the name displayed by "./test -l"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45708
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Michael Wetherell [Sat, 28 Apr 2007 15:56:17 +0000 (15:56 +0000)]
Map illegal UTF-8 sequences to a range in Unicode's private use area as
discussed recently on wx-users.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45707
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Neis [Sat, 28 Apr 2007 14:36:00 +0000 (14:36 +0000)]
Compilation fix for string changes (patch #
1709228 ).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45706
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Neis [Sat, 28 Apr 2007 10:04:34 +0000 (10:04 +0000)]
Adapted to API changes with respect to GetTextExtent (patch #
1709152 ).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45705
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Sat, 28 Apr 2007 07:56:45 +0000 (07:56 +0000)]
added missing #include "wx/buffer.h"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45704
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Sat, 28 Apr 2007 07:06:18 +0000 (07:06 +0000)]
allow the UTF8 build to treat C locale as UTF8, too, it's a 7bit subset of it, so it should be OK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45703
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Fri, 27 Apr 2007 22:13:31 +0000 (22:13 +0000)]
Ensure there is a g.testWin before trying to use it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45701
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Fri, 27 Apr 2007 21:35:43 +0000 (21:35 +0000)]
WX_PRECOMP, not WXPRECOMP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45700
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Fri, 27 Apr 2007 21:32:40 +0000 (21:32 +0000)]
PCH-less compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45699
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Fri, 27 Apr 2007 21:03:46 +0000 (21:03 +0000)]
PCH-less compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45698
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Roman Rolinsky [Fri, 27 Apr 2007 20:33:54 +0000 (20:33 +0000)]
drop highlight color fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45697
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Roman Rolinsky [Fri, 27 Apr 2007 20:24:57 +0000 (20:24 +0000)]
fixes to move-around methods related to current selection highlight
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45696
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Roman Rolinsky [Fri, 27 Apr 2007 20:19:56 +0000 (20:19 +0000)]
cursor image type fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45695
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Fri, 27 Apr 2007 15:50:07 +0000 (15:50 +0000)]
PCH-less compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45689
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Fri, 27 Apr 2007 10:08:53 +0000 (10:08 +0000)]
include wxchar.h from string.h in 2.8 compatibility mode to prevent lots of compilation errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45688
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Fri, 27 Apr 2007 08:48:56 +0000 (08:48 +0000)]
added copy ctor to wxCStrData to fix crashes when passing to vararg functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45687
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 27 Apr 2007 00:57:14 +0000 (00:57 +0000)]
no changes, just fix a typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45686
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Roman Rolinsky [Thu, 26 Apr 2007 20:32:14 +0000 (20:32 +0000)]
test prevented to update encoding
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45683
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Roman Rolinsky [Thu, 26 Apr 2007 19:55:10 +0000 (19:55 +0000)]
final revision
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45682
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Roman Rolinsky [Thu, 26 Apr 2007 19:54:29 +0000 (19:54 +0000)]
some sizing fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45681
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Roman Rolinsky [Thu, 26 Apr 2007 19:53:32 +0000 (19:53 +0000)]
drag-and-drop highlighting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45680
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Roman Rolinsky [Thu, 26 Apr 2007 19:52:15 +0000 (19:52 +0000)]
more param renaming, some sizing fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45679
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Roman Rolinsky [Thu, 26 Apr 2007 19:51:14 +0000 (19:51 +0000)]
drag-and-drop adding of controls to test window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45678
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Roman Rolinsky [Thu, 26 Apr 2007 19:48:12 +0000 (19:48 +0000)]
set labels for new controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45677
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Roman Rolinsky [Thu, 26 Apr 2007 19:42:52 +0000 (19:42 +0000)]
specify order of radios in prefs dlg
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45676
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Roman Rolinsky [Thu, 26 Apr 2007 19:33:38 +0000 (19:33 +0000)]
made main toolbar bitmaps 24x24
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45675
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Thu, 26 Apr 2007 18:45:16 +0000 (18:45 +0000)]
Only set focus to widget automatically if left down
event was not handled (as per wxMSW).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45674
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Thu, 26 Apr 2007 18:42:23 +0000 (18:42 +0000)]
Added IsOfStandardClass() as per wxMSW.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45673
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Thu, 26 Apr 2007 18:40:43 +0000 (18:40 +0000)]
Added Test for wxComboBox::SetValue() to widgets sample.
Make wxGTK not send text change events then.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45672
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Thu, 26 Apr 2007 15:46:26 +0000 (15:46 +0000)]
build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45671
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Chris Elliott [Thu, 26 Apr 2007 14:03:29 +0000 (14:03 +0000)]
add Borland Developer Studio and Turbo Explorer info
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45670
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Chris Elliott [Thu, 26 Apr 2007 13:38:52 +0000 (13:38 +0000)]
better user info
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45669
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Chris Elliott [Thu, 26 Apr 2007 13:28:46 +0000 (13:28 +0000)]
fix dll path
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45668
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 26 Apr 2007 13:05:41 +0000 (13:05 +0000)]
added Roscale() test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45667
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 26 Apr 2007 12:50:04 +0000 (12:50 +0000)]
added Rotate() test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45666
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Chris Elliott [Thu, 26 Apr 2007 12:42:31 +0000 (12:42 +0000)]
add Borland Developer Studio project file (for Turbo Explorer) uses dll build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45665
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Thu, 26 Apr 2007 12:00:43 +0000 (12:00 +0000)]
more efficient implementation of ToAscii/FromAscii in UTF8 build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45664
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Thu, 26 Apr 2007 11:40:04 +0000 (11:40 +0000)]
use UTF8-encoded char* strings in UTF8 build instead of wchar_t* if the current locale uses UTF8;
fall back to widechar CRT functions in the locale is not UTF8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45663
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Chris Elliott [Thu, 26 Apr 2007 11:11:28 +0000 (11:11 +0000)]
remove warnings of intentionally unreachable code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45662
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Chris Elliott [Thu, 26 Apr 2007 10:54:15 +0000 (10:54 +0000)]
removd as recommended in http://article.gmane.org/gmane.comp.lib.wxwidgets.devel/85790/
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45661
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Chris Elliott [Thu, 26 Apr 2007 10:50:54 +0000 (10:50 +0000)]
tested and applied http://article.gmane.org/gmane.comp.lib.wxwidgets.devel/85790/
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45660
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Thu, 26 Apr 2007 05:22:09 +0000 (05:22 +0000)]
replace 5 copies of size constraining code with one function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45657
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Thu, 26 Apr 2007 02:52:03 +0000 (02:52 +0000)]
really fix window being repositioned after hiding, then reshowing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45656
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 26 Apr 2007 02:22:00 +0000 (02:22 +0000)]
don't assert in SetSelection(wxNOT_FOUND), just clear text zone contents
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45654
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 26 Apr 2007 02:15:24 +0000 (02:15 +0000)]
move wxKEY_XXX constants to wx/defs.h from wx/list.h and wx/hash.h to avoid duplicating their declarations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45652
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 26 Apr 2007 02:13:08 +0000 (02:13 +0000)]
don't assert in SetSelection(wxNOT_FOUND), just clear text zone contents (patch
1707475 )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45651
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 26 Apr 2007 02:10:36 +0000 (02:10 +0000)]
allow to test changing combobox selection too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45650
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 26 Apr 2007 01:26:46 +0000 (01:26 +0000)]
use wxCopyRectToRECT() instead of duplicating its code (patch
1707294 )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45649
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Thu, 26 Apr 2007 01:04:47 +0000 (01:04 +0000)]
invalidate the best size when adding or deleting items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45648
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Thu, 26 Apr 2007 00:15:42 +0000 (00:15 +0000)]
ensure there is a current cell before using it to try and get width/height
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45647
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 25 Apr 2007 19:21:46 +0000 (19:21 +0000)]
leave only wxString overloads for of the functions working with string keys; remove the old variant of hash table (deprecated since 2.4)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45644
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 25 Apr 2007 12:36:28 +0000 (12:36 +0000)]
compilation fix after c_str() changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45643
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Wed, 25 Apr 2007 09:22:02 +0000 (09:22 +0000)]
Added compile guards to wxEditableListBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45642
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Wed, 25 Apr 2007 08:40:42 +0000 (08:40 +0000)]
Added mini docs for wxChoicebook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45641
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Wed, 25 Apr 2007 08:33:19 +0000 (08:33 +0000)]
Added mini docs to wxListbook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45640
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Wed, 25 Apr 2007 08:20:03 +0000 (08:20 +0000)]
Typo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45639
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 25 Apr 2007 01:49:47 +0000 (01:49 +0000)]
changed wxDC::GetTextExtent() and related methods to take const wxFont pointer, for consistency with wxWindow::GetTextExtent() and because it generally doesn't need a non-const font
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45638
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 25 Apr 2007 01:38:11 +0000 (01:38 +0000)]
don't declare inline function with dllexport declaration, this provokes mingw32 warnings and is unnecessary anyhow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45637
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Tue, 24 Apr 2007 20:25:07 +0000 (20:25 +0000)]
Use wx.FileHistory for the recent files menu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45628
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Tue, 24 Apr 2007 18:00:14 +0000 (18:00 +0000)]
Use child's listmodelnotifier's destructor (by overloading
it) to get informed about the destruction of the child
model in a sorted model. Removed Freed() method used for
that so far.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45627
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Tue, 24 Apr 2007 16:19:27 +0000 (16:19 +0000)]
removed wxCStrData::operator bool(), using c_str() return value as bool doesn't make any sense and any code that stops compiling because of this is almost certainly buggy
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45626
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Tue, 24 Apr 2007 15:51:51 +0000 (15:51 +0000)]
corrected (Do)GetWriteBuf() return types to use more appropriate type (no real difference)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45625
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Tue, 24 Apr 2007 14:09:51 +0000 (14:09 +0000)]
added test for a crash when passing wxCStrData constructed from a literal (operator?: operand) to a vararg template
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45624
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Tue, 24 Apr 2007 12:35:30 +0000 (12:35 +0000)]
fixed broken wxCStrData and operator?: check
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45623
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Tue, 24 Apr 2007 10:59:58 +0000 (10:59 +0000)]
removed unused APPEND_STR macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45621
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775