wxWidgets.git
17 years agosuppress warning about converting -1 to MenuItemIndex
Vadim Zeitlin [Fri, 6 Apr 2007 22:41:10 +0000 (22:41 +0000)] 
suppress warning about converting -1 to MenuItemIndex

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

17 years agoBugfix (comparision vs. assignment).
Stefan Neis [Fri, 6 Apr 2007 22:16:17 +0000 (22:16 +0000)] 
Bugfix (comparision vs. assignment).

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

17 years agoAdded missing argument for DoGiveHelp.
Stefan Neis [Fri, 6 Apr 2007 21:42:54 +0000 (21:42 +0000)] 
Added missing argument for DoGiveHelp.

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

17 years agocompilation fix: don't try to convert wxString to bool, use empty() instead
Vadim Zeitlin [Fri, 6 Apr 2007 21:38:05 +0000 (21:38 +0000)] 
compilation fix: don't try to convert wxString to bool, use empty() instead

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

17 years agocompilation fix: don't try to convert wxString to bool (apparently unnecessarily)
Vadim Zeitlin [Fri, 6 Apr 2007 21:35:21 +0000 (21:35 +0000)] 
compilation fix: don't try to convert wxString to bool (apparently unnecessarily)

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

17 years agocompilation fix: test correctly for filter string not being empty in MakeUserDataRec
Vadim Zeitlin [Fri, 6 Apr 2007 21:23:52 +0000 (21:23 +0000)] 
compilation fix: test correctly for filter string not being empty in MakeUserDataRec

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

17 years agoMore patches from FM to clean up after moving contribs. Also removes
Robin Dunn [Fri, 6 Apr 2007 21:08:30 +0000 (21:08 +0000)] 
More patches from FM to clean up after moving contribs.  Also removes
use of wxUSE_RESOURCES

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

17 years agoRather use the "obvious" implementation of wxStaticText::DoGetLabel().
Stefan Neis [Fri, 6 Apr 2007 20:49:07 +0000 (20:49 +0000)] 
Rather use the "obvious" implementation of wxStaticText::DoGetLabel().

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

17 years agoTentative implementation of wxStaticText::DoGetLabel().
Stefan Neis [Fri, 6 Apr 2007 20:42:29 +0000 (20:42 +0000)] 
Tentative implementation of wxStaticText::DoGetLabel().

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

17 years agoCompilation fix for wxCStrData handling.
Stefan Neis [Fri, 6 Apr 2007 20:31:02 +0000 (20:31 +0000)] 
Compilation fix for wxCStrData handling.

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

17 years agoCompilation fix for wxCStrData handling.
Stefan Neis [Fri, 6 Apr 2007 20:06:41 +0000 (20:06 +0000)] 
Compilation fix for wxCStrData handling.

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

17 years agohandle child destruction notifications in wxTLW itself and reset both normal and...
Vadim Zeitlin [Fri, 6 Apr 2007 19:22:38 +0000 (19:22 +0000)] 
handle child destruction notifications in wxTLW itself and reset both normal and temporary default item pointers when the default window is destroyed

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

17 years agomore compilation and linking fixes for !wxHAS_NATIVE_TAB_TRAVERSAL after recent changes
Vadim Zeitlin [Fri, 6 Apr 2007 19:16:07 +0000 (19:16 +0000)] 
more compilation and linking fixes for !wxHAS_NATIVE_TAB_TRAVERSAL after recent changes

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

17 years agocompilation fix for VC7.1: add size_t overloads for arithmetic operators on wxStringI...
Vadim Zeitlin [Fri, 6 Apr 2007 19:08:21 +0000 (19:08 +0000)] 
compilation fix for VC7.1: add size_t overloads for arithmetic operators on wxStringImpl::iterator

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

17 years agoCompilation fix for wxCStrData handling.
Stefan Neis [Fri, 6 Apr 2007 18:08:32 +0000 (18:08 +0000)] 
Compilation fix for wxCStrData handling.

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

17 years agoCompilation fix for wxCStrData handling.
Stefan Neis [Fri, 6 Apr 2007 17:22:29 +0000 (17:22 +0000)] 
Compilation fix for wxCStrData handling.

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

17 years agoOS/2 specific compilation fix for wxCStrData handling.
Stefan Neis [Fri, 6 Apr 2007 17:10:03 +0000 (17:10 +0000)] 
OS/2 specific compilation fix for wxCStrData handling.

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

17 years agocompilation fix for g++ 3 (and probably others) after the last commit
Vadim Zeitlin [Thu, 5 Apr 2007 22:33:16 +0000 (22:33 +0000)] 
compilation fix for g++ 3 (and probably others) after the last commit

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

17 years agocompilation fixes for generic TAB navigation after last commit
Vadim Zeitlin [Thu, 5 Apr 2007 22:32:35 +0000 (22:32 +0000)] 
compilation fixes for generic TAB navigation after last commit

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

17 years agomake wxControlContainer accept focus depending on whether it has any focusable childr...
Vadim Zeitlin [Thu, 5 Apr 2007 22:29:14 +0000 (22:29 +0000)] 
make wxControlContainer accept focus depending on whether it has any focusable children when using native TAB navigation too but also allow to manually override this automatic detection; added wxWindow::SetCanFocus() to notify GTK+ about changed focus state

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

17 years agowxString::[const_]iterator operators -= and += should return reference and not iterat...
Vadim Zeitlin [Thu, 5 Apr 2007 21:56:21 +0000 (21:56 +0000)] 
wxString::[const_]iterator operators -= and += should return reference and not iterator object

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

17 years agoadded overloads taking pairs of const char/wchar_t pointers for wxString methods...
Vadim Zeitlin [Thu, 5 Apr 2007 21:55:29 +0000 (21:55 +0000)] 
added overloads taking pairs of const char/wchar_t pointers for wxString methods working with const_iterators for backwards compatibility with old wxString::const_iterator which used to be convertible to/from const wxChar *

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

17 years agoadded WX_ASSERT_STR_EQUAL helper macro for comparing wxStrings with C strings
Vadim Zeitlin [Thu, 5 Apr 2007 21:54:29 +0000 (21:54 +0000)] 
added WX_ASSERT_STR_EQUAL helper macro for comparing wxStrings with C strings

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

17 years agocompilation fix for previous commit
Václav Slavík [Thu, 5 Apr 2007 21:47:35 +0000 (21:47 +0000)] 
compilation fix for previous commit

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

17 years agoprovide both const char* and const wchar_t* implicit conversion of wxCStrData regardl...
Václav Slavík [Thu, 5 Apr 2007 21:28:14 +0000 (21:28 +0000)] 
provide both const char* and const wchar_t* implicit conversion of wxCStrData regardless of the build type

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

17 years agoCompile fix for gcc on MSW
Robin Dunn [Thu, 5 Apr 2007 18:28:28 +0000 (18:28 +0000)] 
Compile fix for gcc on MSW

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

17 years agoPatch from FM with more bakefile tweaks and etc.
Robin Dunn [Thu, 5 Apr 2007 18:26:59 +0000 (18:26 +0000)] 
Patch from FM with more bakefile tweaks and etc.

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

17 years agoavoid assert in window list drop down
Benjamin Williams [Thu, 5 Apr 2007 16:31:23 +0000 (16:31 +0000)] 
avoid assert in window list drop down

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

17 years agocompilation fixes
Václav Slavík [Thu, 5 Apr 2007 15:38:36 +0000 (15:38 +0000)] 
compilation fixes

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

17 years agouse wxINT32_MIN, not LONG_MIN, in wxDateTime default ctor to fix it under LP64 platforms
Vadim Zeitlin [Thu, 5 Apr 2007 15:01:48 +0000 (15:01 +0000)] 
use wxINT32_MIN, not LONG_MIN, in wxDateTime default ctor to fix it under LP64 platforms

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

17 years agochanged wxLongLongNative(hi, lo) ctor to take wxInt32, not long, as it was completely...
Vadim Zeitlin [Thu, 5 Apr 2007 15:00:24 +0000 (15:00 +0000)] 
changed wxLongLongNative(hi, lo) ctor to take wxInt32, not long, as it was completely broken on LP64 architectures otherwise

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

17 years agodefine C99-like wxINT8/16/32_MIN/MAX constants in addition to wxInt8/16/32 types
Vadim Zeitlin [Thu, 5 Apr 2007 14:58:58 +0000 (14:58 +0000)] 
define C99-like wxINT8/16/32_MIN/MAX constants in addition to wxInt8/16/32 types

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

17 years agocorrected signed/unsigned comparison warning
Vadim Zeitlin [Thu, 5 Apr 2007 14:21:55 +0000 (14:21 +0000)] 
corrected signed/unsigned comparison warning

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

17 years agofix another warning about unused variable in DoCStrDataTernaryOperator()
Vadim Zeitlin [Thu, 5 Apr 2007 14:19:18 +0000 (14:19 +0000)] 
fix another warning about unused variable in DoCStrDataTernaryOperator()

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

17 years agofix warning about unused variable in DoCStrDataTernaryOperator()
Vadim Zeitlin [Thu, 5 Apr 2007 12:41:19 +0000 (12:41 +0000)] 
fix warning about unused variable in DoCStrDataTernaryOperator()

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

17 years agoconstruct wxBasicString directly from wxString instead of passing by mb_str(): this...
Vadim Zeitlin [Thu, 5 Apr 2007 09:58:13 +0000 (09:58 +0000)] 
construct wxBasicString directly from wxString instead of passing by mb_str(): this is completely unnecessary (and also happens not to compile in Unicode build currently)

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

17 years agofix typo in allowOthers description
Vadim Zeitlin [Thu, 5 Apr 2007 09:33:42 +0000 (09:33 +0000)] 
fix typo in allowOthers description

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

17 years agomade wxString::Replace, Matches and Find work with any form of string argument
Václav Slavík [Thu, 5 Apr 2007 08:35:39 +0000 (08:35 +0000)] 
made wxString::Replace, Matches and Find work with any form of string argument

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

17 years agoBakefile and other changes for new locations of STC and wxSVGFileDC.
Robin Dunn [Thu, 5 Apr 2007 06:27:23 +0000 (06:27 +0000)] 
Bakefile and other changes for new locations of STC and wxSVGFileDC.
Remove old files in contrib.

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

17 years agocompilation fix for Unicode build: remove ambiguity arising when trying to pass wxCha...
Vadim Zeitlin [Wed, 4 Apr 2007 23:41:40 +0000 (23:41 +0000)] 
compilation fix for Unicode build: remove ambiguity arising when trying to pass wxCharBuffer to wxBasicString ctor which is overloaded for const char * and wxString by passing it directly wxString instead of calling mb_str() on it first

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

17 years agodon't call OnMouseEnter(-1) twice when the mouse leaves the toolbar but wasn't over...
Vadim Zeitlin [Wed, 4 Apr 2007 13:38:37 +0000 (13:38 +0000)] 
don't call OnMouseEnter(-1) twice when the mouse leaves the toolbar but wasn't over a tool before

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

17 years agobuild fixes after previous commit
Václav Slavík [Wed, 4 Apr 2007 11:40:36 +0000 (11:40 +0000)] 
build fixes after previous commit

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

17 years agocall SetEventObject() for wxHtmlLinkEvents we generate
Vadim Zeitlin [Wed, 4 Apr 2007 02:00:32 +0000 (02:00 +0000)] 
call SetEventObject() for wxHtmlLinkEvents we generate

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

17 years agocleanup of wxString ctors and operator=: made both char* and wchar_t* versions availa...
Václav Slavík [Tue, 3 Apr 2007 20:29:42 +0000 (20:29 +0000)] 
cleanup of wxString ctors and operator=: made both char* and wchar_t* versions available, regardless of the build

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

17 years agoUse our own getters and properties for wxVisualAttributes
Robin Dunn [Tue, 3 Apr 2007 18:42:01 +0000 (18:42 +0000)] 
Use our own getters and properties for wxVisualAttributes

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

17 years agoUndid last commit and restored bool argument to wxFrame::DoGiveHelp() as
Vadim Zeitlin [Tue, 3 Apr 2007 18:04:44 +0000 (18:04 +0000)] 
Undid last commit and restored bool argument to wxFrame::DoGiveHelp() as
removing it could silently break existing user code overriding this function.

Fix the problem with not restoring the original status bar text when the mouse
pointer left the toolbar by simply calling DoGiveHelp() with false as second
parameter only if there was no valid tool under mouse, not if the help string
(for a valid tool) was empty.

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

17 years agoremoved unnecessary checks for m_clipboard/targetsWidget being non-NULL in dtor:...
Vadim Zeitlin [Tue, 3 Apr 2007 15:12:31 +0000 (15:12 +0000)] 
removed unnecessary checks for m_clipboard/targetsWidget being non-NULL in dtor: they're used without these checks in many other places anyhow

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

17 years agoremoved second parameter of wxFrame::DoGiveHelp(), the help string is always shown...
Vadim Zeitlin [Tue, 3 Apr 2007 11:27:53 +0000 (11:27 +0000)] 
removed second parameter of wxFrame::DoGiveHelp(), the help string is always shown (even if it's empty), not hidden; this hopefully really fixes restoring the previously shown status bar text when the menu is dismissed

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

17 years agoBCC5.5 compilation fix
Václav Slavík [Tue, 3 Apr 2007 10:36:40 +0000 (10:36 +0000)] 
BCC5.5 compilation fix

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

17 years agocompilation fix for BCC5.5
Václav Slavík [Tue, 3 Apr 2007 10:06:08 +0000 (10:06 +0000)] 
compilation fix for BCC5.5

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

17 years agofixed wxBitmap<->wxImage conversion to not exchange red and blue components
Václav Slavík [Tue, 3 Apr 2007 08:46:53 +0000 (08:46 +0000)] 
fixed wxBitmap<->wxImage conversion to not exchange red and blue components

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

17 years agobuild fixes for wxUSE_VALIDATORS==0
Paul Cornett [Tue, 3 Apr 2007 02:44:32 +0000 (02:44 +0000)] 
build fixes for wxUSE_VALIDATORS==0

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

17 years agomore checks for non-scrolling windows, some code duplication cleanup
Paul Cornett [Tue, 3 Apr 2007 02:15:02 +0000 (02:15 +0000)] 
more checks for non-scrolling windows, some code duplication cleanup

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

17 years agoquote AM_PATH_WXCONFIG arguments before passing them to WX_CONFIG_CHECK, otherwise...
Vadim Zeitlin [Tue, 3 Apr 2007 01:02:05 +0000 (01:02 +0000)] 
quote AM_PATH_WXCONFIG arguments before passing them to WX_CONFIG_CHECK, otherwise they're lost when using autoconf 2.13

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

17 years agoremoved second parameter of wxFrame::DoGiveHelp(), the help string is always shown...
Vadim Zeitlin [Mon, 2 Apr 2007 22:00:52 +0000 (22:00 +0000)] 
removed second parameter of wxFrame::DoGiveHelp(), the help string is always shown (even if it's empty), not hidden; this hopefully really fixes restoring the previously shown status bar text when the menu is dismissed

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

17 years agoreSWIGged
Robin Dunn [Mon, 2 Apr 2007 21:37:01 +0000 (21:37 +0000)] 
reSWIGged

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

17 years agoElippsis and markup support for wxStaticText
Robin Dunn [Mon, 2 Apr 2007 21:26:39 +0000 (21:26 +0000)] 
Elippsis and markup support for wxStaticText

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

17 years agoAdd wx.SizerItem.Assign* methods, deprecate coresponding wx.SizerItem.Set* methods
Robin Dunn [Mon, 2 Apr 2007 21:25:19 +0000 (21:25 +0000)] 
Add wx.SizerItem.Assign* methods, deprecate coresponding wx.SizerItem.Set* methods

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

17 years agoremove some problem commas
Robin Dunn [Mon, 2 Apr 2007 21:24:35 +0000 (21:24 +0000)] 
remove some problem commas

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

17 years agoPrimary selection stuff
Robin Dunn [Mon, 2 Apr 2007 21:23:35 +0000 (21:23 +0000)] 
Primary selection stuff

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

17 years agofix test code
Robin Dunn [Mon, 2 Apr 2007 21:21:35 +0000 (21:21 +0000)] 
fix test code

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

17 years agopatch from Andrea fixing sending of events and drawing of lines at root.
Robin Dunn [Mon, 2 Apr 2007 21:20:16 +0000 (21:20 +0000)] 
patch from Andrea fixing sending of events and drawing of lines at root.

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

17 years agoGizmos has been moved to wxCode.
Robin Dunn [Mon, 2 Apr 2007 21:19:13 +0000 (21:19 +0000)] 
Gizmos has been moved to wxCode.

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

17 years agoEnable the use of the primary selection
Robin Dunn [Mon, 2 Apr 2007 21:17:45 +0000 (21:17 +0000)] 
Enable the use of the primary selection

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

17 years agoAlways use wxHSCROLL|wxVSCROLL.
Robin Dunn [Mon, 2 Apr 2007 21:15:27 +0000 (21:15 +0000)] 
Always use wxHSCROLL|wxVSCROLL.

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

17 years agoget wx and tex2rtf docs only
Chris Elliott [Mon, 2 Apr 2007 20:35:35 +0000 (20:35 +0000)] 
get wx and tex2rtf docs only

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

17 years agorestore cvs up
Chris Elliott [Mon, 2 Apr 2007 18:14:37 +0000 (18:14 +0000)] 
restore cvs up

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

17 years agoadded some unsigned char overloads to wxString for compatibility
Václav Slavík [Mon, 2 Apr 2007 18:13:48 +0000 (18:13 +0000)] 
added some unsigned char overloads to wxString for compatibility

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

17 years agotidy up daily build for 2.9
Chris Elliott [Mon, 2 Apr 2007 17:42:42 +0000 (17:42 +0000)] 
tidy up daily build for 2.9

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

17 years agosome more operator?! tests
Václav Slavík [Mon, 2 Apr 2007 17:42:20 +0000 (17:42 +0000)] 
some more operator?! tests

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

17 years agoAdded mouse event handler invocations
Julian Smart [Mon, 2 Apr 2007 08:51:06 +0000 (08:51 +0000)] 
Added mouse event handler invocations

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

17 years agoFixed compile problem and warning
Julian Smart [Mon, 2 Apr 2007 08:49:36 +0000 (08:49 +0000)] 
Fixed compile problem and warning

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

17 years agoGetBaseByName doesn't exist anymore
Václav Slavík [Mon, 2 Apr 2007 05:33:37 +0000 (05:33 +0000)] 
GetBaseByName doesn't exist anymore

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

17 years agoavoid asserts when the cipboard is acquired by another application
Vadim Zeitlin [Sun, 1 Apr 2007 21:52:27 +0000 (21:52 +0000)] 
avoid asserts when the cipboard is acquired by another application

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

17 years agoremoving obsolete contribs (partly moved to wxCode)
Vadim Zeitlin [Sun, 1 Apr 2007 17:00:00 +0000 (17:00 +0000)] 
removing obsolete contribs (partly moved to wxCode)

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

17 years agoremoving obsolete contribs (partly moved to wxCode)
Vadim Zeitlin [Sun, 1 Apr 2007 16:35:27 +0000 (16:35 +0000)] 
removing obsolete contribs (partly moved to wxCode)

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

17 years agoblind fix for Unicode key handling (patch 1615989)
Vadim Zeitlin [Sun, 1 Apr 2007 15:19:44 +0000 (15:19 +0000)] 
blind fix for Unicode key handling (patch 1615989)

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

17 years agotoggle the first button in a radio tools group initially (second version of patch...
Vadim Zeitlin [Sun, 1 Apr 2007 15:06:11 +0000 (15:06 +0000)] 
toggle the first button in a radio tools group initially (second version of patch 1469227)

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

17 years agocompilation fix for wxUniv after last commit
Vadim Zeitlin [Sun, 1 Apr 2007 15:05:31 +0000 (15:05 +0000)] 
compilation fix for wxUniv after last commit

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

17 years agocompilation fix for !wxUSE_PRINTF_POS_PARAMS
Vadim Zeitlin [Sun, 1 Apr 2007 15:01:57 +0000 (15:01 +0000)] 
compilation fix for !wxUSE_PRINTF_POS_PARAMS

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

17 years agoimplement GetBestSize() (patch 1386199)
Vadim Zeitlin [Sun, 1 Apr 2007 14:53:02 +0000 (14:53 +0000)] 
implement GetBestSize() (patch 1386199)

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

17 years agofixes for PCH-less build after last commit
Vadim Zeitlin [Sun, 1 Apr 2007 14:18:49 +0000 (14:18 +0000)] 
fixes for PCH-less build after last commit

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

17 years agofix unused parameter warning when wxHAS_NATIVE_OVERLAY (patch 1692332)
Vadim Zeitlin [Sun, 1 Apr 2007 14:14:58 +0000 (14:14 +0000)] 
fix unused parameter warning when wxHAS_NATIVE_OVERLAY (patch 1692332)

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

17 years agoadded support for ellipsization and markup in wxStaticText (modified patch 1629946)
Vadim Zeitlin [Sun, 1 Apr 2007 14:13:15 +0000 (14:13 +0000)] 
added support for ellipsization and markup in wxStaticText (modified patch 1629946)

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

17 years agocompilation fix after last change
Vadim Zeitlin [Sun, 1 Apr 2007 13:22:58 +0000 (13:22 +0000)] 
compilation fix after last change

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

17 years agoinclude aui and richtext directories
Vadim Zeitlin [Sun, 1 Apr 2007 12:13:54 +0000 (12:13 +0000)] 
include aui and richtext directories

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

17 years agoadded a generic mechanism for registering global handlers for custom windows messages...
Vadim Zeitlin [Sun, 1 Apr 2007 12:07:00 +0000 (12:07 +0000)] 
added a generic mechanism for registering global handlers for custom windows messages and use it in wxFindReplaceDialog instead of subclassing the parent window, this solves the problem with having 2 find dialogs with the same parent (replaces patch 1447739)

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

17 years agowint_t is wchar_t on OS/2 too
Václav Slavík [Sun, 1 Apr 2007 08:04:32 +0000 (08:04 +0000)] 
wint_t is wchar_t on OS/2 too

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

17 years ago(OS/2) compilation fix
Václav Slavík [Sun, 1 Apr 2007 07:52:14 +0000 (07:52 +0000)] 
(OS/2) compilation fix

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

17 years ago Don't create GtkScrolledWindow if neither wxHSCROLL
Robert Roebling [Sat, 31 Mar 2007 22:03:01 +0000 (22:03 +0000)] 
  Don't create GtkScrolledWindow if neither wxHSCROLL
    or wxVSCROLL are defined. This prevents wasting
    some resources.

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

17 years agoremove dead pro files
Chris Elliott [Sat, 31 Mar 2007 18:36:35 +0000 (18:36 +0000)] 
remove dead pro files

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

17 years agoremove dead pro files
Chris Elliott [Sat, 31 Mar 2007 18:23:35 +0000 (18:23 +0000)] 
remove dead pro files

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

17 years agoset string field of wxCommandEvent object generated by spin control when its text...
Vadim Zeitlin [Sat, 31 Mar 2007 15:16:35 +0000 (15:16 +0000)] 
set string field of wxCommandEvent object generated by spin control when its text changes (part of patch 1312699)

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

17 years agoadded test for EVT_TEXT handler for spin contorl
Vadim Zeitlin [Sat, 31 Mar 2007 15:11:02 +0000 (15:11 +0000)] 
added test for EVT_TEXT handler for spin contorl

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

17 years agodon't return wxFONTENCODING_DEFAULT from wxFont::GetEncoding(), this results in asser...
Vadim Zeitlin [Sat, 31 Mar 2007 15:10:20 +0000 (15:10 +0000)] 
don't return wxFONTENCODING_DEFAULT from wxFont::GetEncoding(), this results in asserts when its return value is used with wxCSConv (and besides this should never happen anyhow, wxFONTENCODING_DEFAULT makes sense on input only)

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

17 years agoadded gtk.tlw.can-set-transparency system option (replaces patch 1527017)
Vadim Zeitlin [Sat, 31 Mar 2007 14:51:10 +0000 (14:51 +0000)] 
added gtk.tlw.can-set-transparency system option (replaces patch 1527017)

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

17 years agodon't remove the old tags of different kinds when setting new style, this removes...
Vadim Zeitlin [Sat, 31 Mar 2007 14:38:38 +0000 (14:38 +0000)] 
don't remove the old tags of different kinds when setting new style, this removes the need for combining any style being set with the default one (based on patch 1518118)

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

17 years agodon't clamp scroll position before updating GtkRange,
Paul Cornett [Sat, 31 Mar 2007 07:08:06 +0000 (07:08 +0000)] 
don't clamp scroll position before updating GtkRange,
  it causes HandleOnScroll to incorrectly do nothing when position is > 0 and
  window is resized large enough to no longer need scrollbar

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

17 years ago1. Moved m_usePrimary to wxClipboardBase as it's now also used by wxMSW/wxMac
Vadim Zeitlin [Sat, 31 Mar 2007 02:57:55 +0000 (02:57 +0000)] 
1. Moved m_usePrimary to wxClipboardBase as it's now also used by wxMSW/wxMac
2. Added IsUsingPrimarySelection()
3. Fail all clipboard operations when IsUsingPrimarySelection() is true on
   non-X11 platforms

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

17 years agoadded a menu command to switch between clipboard and primary selection
Vadim Zeitlin [Sat, 31 Mar 2007 01:59:51 +0000 (01:59 +0000)] 
added a menu command to switch between clipboard and primary selection

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