wxWidgets.git
16 years agoFix wxString::replace when nLen is wxString::npos.
Michael Wetherell [Thu, 4 Oct 2007 12:50:49 +0000 (12:50 +0000)] 
Fix wxString::replace when nLen is wxString::npos.

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

16 years agocheck for m_filectrl != NULL in OnUpdateButtonsUI() (fixes crash under GTK1)
Vadim Zeitlin [Thu, 4 Oct 2007 12:03:10 +0000 (12:03 +0000)] 
check for m_filectrl != NULL in OnUpdateButtonsUI() (fixes crash under GTK1)

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

16 years agofix range used for native volume in Set/GetVolume() and simplify the code a bit
Vadim Zeitlin [Wed, 3 Oct 2007 22:35:44 +0000 (22:35 +0000)] 
fix range used for native volume in Set/GetVolume() and simplify the code a bit

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

16 years agolook for message catalogs also directly under prefix in GetMsgCatalogSubdirs() as...
Vadim Zeitlin [Wed, 3 Oct 2007 21:45:33 +0000 (21:45 +0000)] 
look for message catalogs also directly under prefix in GetMsgCatalogSubdirs() as we used to do in 2.6

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

16 years agosome (blind) compilation fixes after wxString/Unicode changes
Vadim Zeitlin [Wed, 3 Oct 2007 00:36:08 +0000 (00:36 +0000)] 
some (blind) compilation fixes after wxString/Unicode changes

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

16 years agosemaphore with count of 1 is not exactly the same as mutex
Vadim Zeitlin [Wed, 3 Oct 2007 00:13:51 +0000 (00:13 +0000)] 
semaphore with count of 1 is not exactly the same as mutex

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

16 years agoinitialize all fields of WINDOWPOS struct to avoid mingw32 warnings
Vadim Zeitlin [Tue, 2 Oct 2007 17:34:30 +0000 (17:34 +0000)] 
initialize all fields of WINDOWPOS struct to avoid mingw32 warnings

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

16 years agoDefine CPPUNIT_STD_NEED_ALLOCATOR to 0 if it is undefined as we compile with
Michael Wetherell [Tue, 2 Oct 2007 14:56:09 +0000 (14:56 +0000)] 
Define CPPUNIT_STD_NEED_ALLOCATOR to 0 if it is undefined as we compile with
-Wundef.

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

16 years agofix several mingw32 warnings (patch from Tim Stahlhut)
Vadim Zeitlin [Tue, 2 Oct 2007 11:36:35 +0000 (11:36 +0000)] 
fix several mingw32 warnings (patch from Tim Stahlhut)

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

16 years agoPCH-less compilation fix
Vadim Zeitlin [Tue, 2 Oct 2007 11:32:25 +0000 (11:32 +0000)] 
PCH-less compilation fix

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

16 years agomention that Win32 mutexes are always recursive
Vadim Zeitlin [Tue, 2 Oct 2007 11:31:02 +0000 (11:31 +0000)] 
mention that Win32 mutexes are always recursive

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

16 years agodon't leak wxFileType returned from GetFileTypeFromExtension(); fix compilation with...
Vadim Zeitlin [Tue, 2 Oct 2007 11:25:29 +0000 (11:25 +0000)] 
don't leak wxFileType returned from GetFileTypeFromExtension(); fix compilation with wxUSE_MIMETYPE==0

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

16 years agoDocument _ITEM_VALUE_CHANGED and implmement it equally as being sent from valueChange...
Robert Roebling [Tue, 2 Oct 2007 10:41:46 +0000 (10:41 +0000)] 
Document _ITEM_VALUE_CHANGED and implmement it equally as being sent from valueChanged and ItemChanged. Remove other _MODEL_XXX events.

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

16 years agotypo fix
Chris Elliott [Tue, 2 Oct 2007 10:30:34 +0000 (10:30 +0000)] 
typo fix

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

16 years agoadd misisng files
Chris Elliott [Tue, 2 Oct 2007 09:39:06 +0000 (09:39 +0000)] 
add misisng files

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

16 years agodon't use tif_os2.c which doesn't exist any more
Vadim Zeitlin [Mon, 1 Oct 2007 17:43:45 +0000 (17:43 +0000)] 
don't use tif_os2.c which doesn't exist any more

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

16 years agobetter child focus
Benjamin Williams [Mon, 1 Oct 2007 16:13:30 +0000 (16:13 +0000)] 
better child focus

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

16 years agoinclude jconfig.vc under OS/2 too
Vadim Zeitlin [Mon, 1 Oct 2007 13:02:52 +0000 (13:02 +0000)] 
include jconfig.vc under OS/2 too

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

16 years agodefine WXDLLIMPEXP_FWD_XXX as nothing for mingw32 too to avoid warnings about __decls...
Vadim Zeitlin [Mon, 1 Oct 2007 12:14:35 +0000 (12:14 +0000)] 
define WXDLLIMPEXP_FWD_XXX as nothing for mingw32 too to avoid warnings about __declspec being ignored in forward declarations

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

16 years agouse WXDLLIMPEXP_FWD_CORE instead of WXDLLEXPORT
Vadim Zeitlin [Mon, 1 Oct 2007 11:54:50 +0000 (11:54 +0000)] 
use WXDLLIMPEXP_FWD_CORE instead of WXDLLEXPORT

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

16 years agoOpenVMS : removing dependency on obsolete Porting-library (Jackets)
Jouk Jansen [Mon, 1 Oct 2007 11:46:08 +0000 (11:46 +0000)] 
OpenVMS : removing dependency on obsolete Porting-library (Jackets)

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

16 years agoAdded API for adding/deleting/changing multiple items
Robert Roebling [Mon, 1 Oct 2007 10:54:57 +0000 (10:54 +0000)] 
Added API for adding/deleting/changing multiple items

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

16 years agoOpenVMS update
Jouk Jansen [Mon, 1 Oct 2007 05:58:13 +0000 (05:58 +0000)] 
OpenVMS update

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

16 years agodon't crash in GetAsDOS() if the time is not in time_t range (bug 1804421)
Vadim Zeitlin [Sun, 30 Sep 2007 20:37:29 +0000 (20:37 +0000)] 
don't crash in GetAsDOS() if the time is not in time_t range (bug 1804421)

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

16 years agoreally fixed the DST test by using explicit country in it
Vadim Zeitlin [Sun, 30 Sep 2007 19:28:29 +0000 (19:28 +0000)] 
really fixed the DST test by using explicit country in it

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

16 years agoreturn the beginning/end of DST in local time, not UTC, for consistency with the...
Vadim Zeitlin [Sun, 30 Sep 2007 19:27:23 +0000 (19:27 +0000)] 
return the beginning/end of DST in local time, not UTC, for consistency with the other methods; fixed the test

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

16 years agocleaned up and significantly simiplied Format() handling of %c and %x formats and...
Vadim Zeitlin [Sun, 30 Sep 2007 19:11:36 +0000 (19:11 +0000)] 
cleaned up and significantly simiplied Format() handling of %c and %x formats and fixed an assert failure in UTF-8 build due to the use of invalid Unicode characters such as -1

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

16 years agogenerate #line references to source .xrc files in wxrc --gettext (patch #1803492...
Václav Slavík [Sun, 30 Sep 2007 11:11:51 +0000 (11:11 +0000)] 
generate #line references to source .xrc files in wxrc --gettext (patch #1803492 by Heikki Linnakangas)

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

16 years agoinclude line number information in wxXmlNode (based on patch #1803492 by Heikki Linna...
Václav Slavík [Sun, 30 Sep 2007 11:09:54 +0000 (11:09 +0000)] 
include line number information in wxXmlNode (based on patch #1803492 by Heikki Linnakangas)

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

16 years ago_WX_DECLARE_OBJARRAY was missing reserve() declaration
Václav Slavík [Sun, 30 Sep 2007 10:52:08 +0000 (10:52 +0000)] 
_WX_DECLARE_OBJARRAY was missing reserve() declaration

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

16 years agouse reserve() instead of Alloc() in WX_APPEND_ARRAY so that it works with std classes too
Václav Slavík [Sun, 30 Sep 2007 10:44:45 +0000 (10:44 +0000)] 
use reserve() instead of Alloc() in WX_APPEND_ARRAY so that it works with std classes too

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

16 years agofix compilation in Unicode build (not sure if this fixes run-time behaviour though...)
Vadim Zeitlin [Sun, 30 Sep 2007 00:58:14 +0000 (00:58 +0000)] 
fix compilation in Unicode build (not sure if this fixes run-time behaviour though...)

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

16 years agoanother wxCmdLineEntryDesc compilation fix
Vadim Zeitlin [Sun, 30 Sep 2007 00:50:29 +0000 (00:50 +0000)] 
another wxCmdLineEntryDesc compilation fix

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

16 years agofix DrawLine() and DrawPolygon() which were totally broken for GTK1 since rev 36998
Vadim Zeitlin [Sat, 29 Sep 2007 23:10:35 +0000 (23:10 +0000)] 
fix DrawLine() and DrawPolygon() which were totally broken for GTK1 since rev 36998

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

16 years agoANSI mode compilation fix
Vadim Zeitlin [Sat, 29 Sep 2007 22:28:55 +0000 (22:28 +0000)] 
ANSI mode compilation fix

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

16 years agoPCH-less build fix
Vadim Zeitlin [Fri, 28 Sep 2007 23:15:00 +0000 (23:15 +0000)] 
PCH-less build fix

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

16 years agocorrect properties were not set during initial add somehow
Vadim Zeitlin [Fri, 28 Sep 2007 23:14:08 +0000 (23:14 +0000)] 
correct properties were not set during initial add somehow

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

16 years agoanother compilation fix after wxCmdLineEntryDesc changes
Vadim Zeitlin [Fri, 28 Sep 2007 22:17:37 +0000 (22:17 +0000)] 
another compilation fix after wxCmdLineEntryDesc changes

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

16 years agoPCH-less build fix
Vadim Zeitlin [Fri, 28 Sep 2007 21:54:44 +0000 (21:54 +0000)] 
PCH-less build fix

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

16 years agovc6 did not like this (void function returning a value)
Chris Elliott [Fri, 28 Sep 2007 16:01:17 +0000 (16:01 +0000)] 
vc6 did not like this (void function returning a value)

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

16 years agoAdd buildbot configuration.
Michael Wetherell [Fri, 28 Sep 2007 11:39:39 +0000 (11:39 +0000)] 
Add buildbot configuration.

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

16 years ago[ 1803350 ] Wrong top-level window positioning on scrolled window
Robert Roebling [Thu, 27 Sep 2007 20:21:52 +0000 (20:21 +0000)] 
[ 1803350 ] Wrong top-level window positioning on scrolled window

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

16 years agocopy the list in wxList::operator=(), for consistency with typed macro-based lists
Václav Slavík [Thu, 27 Sep 2007 15:01:12 +0000 (15:01 +0000)] 
copy the list in wxList::operator=(), for consistency with typed macro-based lists

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

16 years agoadded disambiguation for Clear() too
Vadim Zeitlin [Thu, 27 Sep 2007 12:49:18 +0000 (12:49 +0000)] 
added disambiguation for Clear() too

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

16 years agodon't declare HasSelection() in this class and especially don't declare it as protected
Vadim Zeitlin [Thu, 27 Sep 2007 12:47:12 +0000 (12:47 +0000)] 
don't declare HasSelection() in this class and especially don't declare it as protected

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

16 years agoadded msw/textentry{cpp,h}
Vadim Zeitlin [Thu, 27 Sep 2007 12:44:14 +0000 (12:44 +0000)] 
added msw/textentry{cpp,h}

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

16 years agofixed cellpadding when printing (bug #1795572)
Václav Slavík [Thu, 27 Sep 2007 09:05:47 +0000 (09:05 +0000)] 
fixed cellpadding when printing (bug #1795572)

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

16 years agogit-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48961 c3d73ce0-8a6f...
Jouk Jansen [Thu, 27 Sep 2007 08:09:44 +0000 (08:09 +0000)] 
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agocontinue with loading the message catalog even if setting the locale failed
Vadim Zeitlin [Wed, 26 Sep 2007 23:10:14 +0000 (23:10 +0000)] 
continue with loading the message catalog even if setting the locale failed

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

16 years agofixed command line processing which was preempted by wxApp::OnInit() call
Vadim Zeitlin [Wed, 26 Sep 2007 22:57:02 +0000 (22:57 +0000)] 
fixed command line processing which was preempted by wxApp::OnInit() call

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

16 years agocompilation fix after wxTRANSLATE() changes
Vadim Zeitlin [Wed, 26 Sep 2007 22:41:53 +0000 (22:41 +0000)] 
compilation fix after wxTRANSLATE() changes

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

16 years agoanother compilation fix PCH-less build
Vadim Zeitlin [Wed, 26 Sep 2007 22:32:36 +0000 (22:32 +0000)] 
another compilation fix PCH-less build

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

16 years agoCompilo
Robert Roebling [Wed, 26 Sep 2007 20:57:42 +0000 (20:57 +0000)] 
Compilo

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

16 years agoCompilo for non-PCH
Robert Roebling [Wed, 26 Sep 2007 20:14:14 +0000 (20:14 +0000)] 
Compilo for non-PCH

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

16 years agoForgot to commit
Robert Roebling [Wed, 26 Sep 2007 19:33:44 +0000 (19:33 +0000)] 
Forgot to commit

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

16 years agopart of wxComboBox to wxEntry refactoring (should have been part of rev48952)
Vadim Zeitlin [Wed, 26 Sep 2007 16:52:48 +0000 (16:52 +0000)] 
part of wxComboBox to wxEntry refactoring (should have been part of rev48952)

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

16 years agorefactor wxMSW code to extract parts common to wxTextCtrl and wxComboBox into wxTextEntry
Vadim Zeitlin [Wed, 26 Sep 2007 16:48:46 +0000 (16:48 +0000)] 
refactor wxMSW code to extract parts common to wxTextCtrl and wxComboBox into wxTextEntry

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

16 years agoremove wxComboBox-specific hack, override DoSetToolTip() in wxComboBox itself instead
Vadim Zeitlin [Wed, 26 Sep 2007 16:23:51 +0000 (16:23 +0000)] 
remove wxComboBox-specific hack, override DoSetToolTip() in wxComboBox itself instead

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

16 years agocompilation fixes for wxGTK1 after wxTextEntry changes (unit test still fails, Replac...
Vadim Zeitlin [Wed, 26 Sep 2007 12:18:00 +0000 (12:18 +0000)] 
compilation fixes for wxGTK1 after wxTextEntry changes (unit test still fails, Replace() generates 2 events instead of 1...)

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

16 years agocompilation fix for wxGTK1
Vadim Zeitlin [Wed, 26 Sep 2007 12:17:01 +0000 (12:17 +0000)] 
compilation fix for wxGTK1

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

16 years agoAdded forward declaration for wxWindow
Julian Smart [Wed, 26 Sep 2007 06:41:11 +0000 (06:41 +0000)] 
Added forward declaration for wxWindow

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

16 years agofix harmless unused parameter warning
Vadim Zeitlin [Wed, 26 Sep 2007 00:39:04 +0000 (00:39 +0000)] 
fix harmless unused parameter warning

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

16 years agoadded wxTextEntry common base class for both wxTextCtrl and wxComboBox; refactor...
Vadim Zeitlin [Wed, 26 Sep 2007 00:30:22 +0000 (00:30 +0000)] 
added wxTextEntry common base class for both wxTextCtrl and wxComboBox; refactor wxGTK code to put common parts of these classes in the base class; fixed some inconsistencies in the text control behaviour between platforms

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

16 years agoadded unit test for some of wxTextCtrl methods and its events generation
Vadim Zeitlin [Wed, 26 Sep 2007 00:28:31 +0000 (00:28 +0000)] 
added unit test for some of wxTextCtrl methods and its events generation

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

16 years agofix operator<<() for wxString
Vadim Zeitlin [Tue, 25 Sep 2007 23:22:41 +0000 (23:22 +0000)] 
fix operator<<() for wxString

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

16 years agodefine wxUSE_GADGETS as 0 as it's not defined in configure and results in warnings...
Vadim Zeitlin [Tue, 25 Sep 2007 16:56:06 +0000 (16:56 +0000)] 
define wxUSE_GADGETS as 0 as it's not defined in configure and results in warnings during wxMotif build

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

16 years agofix warning about visibility attribute ignored on non-class types (which was given...
Vadim Zeitlin [Tue, 25 Sep 2007 16:53:28 +0000 (16:53 +0000)] 
fix warning about visibility attribute ignored on non-class types (which was given for wxGetClipboardData only but change the other functions too for consistency)

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

16 years agogit-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48936 c3d73ce0-8a6f...
Jouk Jansen [Tue, 25 Sep 2007 14:39:47 +0000 (14:39 +0000)] 
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agodocument that GetAttribute's argument must not be NULL
Václav Slavík [Mon, 24 Sep 2007 22:29:23 +0000 (22:29 +0000)] 
document that GetAttribute's argument must not be NULL

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

16 years agowxXmlNode::GetAttribute's pointer argument must not be NULL, check for it
Václav Slavík [Mon, 24 Sep 2007 22:09:06 +0000 (22:09 +0000)] 
wxXmlNode::GetAttribute's pointer argument must not be NULL, check for it

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

16 years agoReduce width and height of drawing ops by one in all vector printing backends
Robert Roebling [Mon, 24 Sep 2007 21:07:20 +0000 (21:07 +0000)] 
Reduce width and height of drawing ops by one in all vector printing backends

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

16 years agoFix various minor PS issues
Robert Roebling [Mon, 24 Sep 2007 20:42:32 +0000 (20:42 +0000)] 
Fix various minor PS issues

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

16 years agoUse line width code from GTK+ print in GNOME print
Robert Roebling [Mon, 24 Sep 2007 14:04:44 +0000 (14:04 +0000)] 
Use line width code from GTK+ print in GNOME print

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

16 years agoRemove several hack from PS code, use high resolution code from GNOME print, invert...
Robert Roebling [Mon, 24 Sep 2007 14:04:09 +0000 (14:04 +0000)] 
Remove several hack from PS code, use high resolution code from GNOME print, invert Y axis internally

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

16 years agoCompilation with new dc code
Robert Roebling [Mon, 24 Sep 2007 09:42:22 +0000 (09:42 +0000)] 
Compilation with new dc code

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

16 years agoreorganized wxSVGFileDC code
Robert Roebling [Mon, 24 Sep 2007 09:30:24 +0000 (09:30 +0000)] 
reorganized wxSVGFileDC code

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

16 years agoadded wxWindow::GetPopupMenuSelectionFromUser() (modified patch 1793823)
Vadim Zeitlin [Sun, 23 Sep 2007 23:42:31 +0000 (23:42 +0000)] 
added wxWindow::GetPopupMenuSelectionFromUser() (modified patch 1793823)

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

16 years agoConverted wxGTK's basic DC classes to new DC code
Robert Roebling [Sun, 23 Sep 2007 11:27:41 +0000 (11:27 +0000)] 
Converted wxGTK's basic DC classes to new DC code

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

16 years agodon't define wxCRT_xxprintfW function if the corresponding xxprintfw() standard funct...
Vadim Zeitlin [Sun, 23 Sep 2007 00:20:35 +0000 (00:20 +0000)] 
don't define wxCRT_xxprintfW function if the corresponding xxprintfw() standard functions are not available

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

16 years agorevert last change (r48897)
Vadim Zeitlin [Sun, 23 Sep 2007 00:14:18 +0000 (00:14 +0000)] 
revert last change (r48897)

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

16 years agoinclude wx/log.h to fix PCH-less compilation
Vadim Zeitlin [Sat, 22 Sep 2007 12:08:23 +0000 (12:08 +0000)] 
include wx/log.h to fix PCH-less compilation

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

16 years agoadd missing sample stc
Chris Elliott [Sat, 22 Sep 2007 11:10:12 +0000 (11:10 +0000)] 
add missing sample stc

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

16 years agoRemoved last bits of DrawScaledBitmap (was removed part of GTK+ printing patch)
Robert Roebling [Sat, 22 Sep 2007 09:55:23 +0000 (09:55 +0000)] 
Removed last bits of DrawScaledBitmap (was removed part of GTK+ printing patch)

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

16 years agouse logical operator &&, not bitwise &; indentation fix
Paul Cornett [Sat, 22 Sep 2007 04:40:51 +0000 (04:40 +0000)] 
use logical operator &&, not bitwise &; indentation fix

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

16 years agounused variables, useless assert
Paul Cornett [Sat, 22 Sep 2007 04:40:37 +0000 (04:40 +0000)] 
unused variables, useless assert

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

16 years agounused variable, more efficient increment operator
Paul Cornett [Sat, 22 Sep 2007 04:40:21 +0000 (04:40 +0000)] 
unused variable, more efficient increment operator

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

16 years agoCorrected doc typo (missing escaped underscore).
Bryan Petty [Sat, 22 Sep 2007 01:30:48 +0000 (01:30 +0000)] 
Corrected doc typo (missing escaped underscore).

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

16 years agoifconfig under NetBSD also takes -a
Vadim Zeitlin [Fri, 21 Sep 2007 23:54:07 +0000 (23:54 +0000)] 
ifconfig under NetBSD also takes -a

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

16 years ago*wprintf() functions should be extern, not static, when we define them in wxNEED_WPRI...
Vadim Zeitlin [Fri, 21 Sep 2007 23:50:36 +0000 (23:50 +0000)] 
*wprintf() functions should be extern, not static, when we define them in wxNEED_WPRINTF case

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

16 years agoinclude tif_config.h using <> instead of ""
Vadim Zeitlin [Fri, 21 Sep 2007 19:56:41 +0000 (19:56 +0000)] 
include tif_config.h using <> instead of ""

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

16 years agobring the new linpng 1.2.20 (without its contrib subdirectory) into trunk
Vadim Zeitlin [Fri, 21 Sep 2007 18:47:38 +0000 (18:47 +0000)] 
bring the new linpng 1.2.20 (without its contrib subdirectory) into trunk

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

16 years agoremove old libpng 1.2.7
Vadim Zeitlin [Fri, 21 Sep 2007 18:45:12 +0000 (18:45 +0000)] 
remove old libpng 1.2.7

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

16 years agoadded more convenient wxDL_INIT_FUNC[_AW] macros and use them instead of verbose...
Vadim Zeitlin [Fri, 21 Sep 2007 18:43:51 +0000 (18:43 +0000)] 
added more convenient wxDL_INIT_FUNC[_AW] macros and use them instead of verbose wxDynamicLibrary::GetSymbol() calls

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

16 years agomade gs_msgXXX variables static
Vadim Zeitlin [Fri, 21 Sep 2007 18:31:09 +0000 (18:31 +0000)] 
made gs_msgXXX variables static

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

16 years agoallow using wxTaskBarIcon under Win95 by loading Shell_NotifyIcon() dynamically ...
Vadim Zeitlin [Fri, 21 Sep 2007 18:28:04 +0000 (18:28 +0000)] 
allow using wxTaskBarIcon under Win95 by loading Shell_NotifyIcon() dynamically (more importantly, allow applications using to start up under Win95 as they didn't without it)

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

16 years agoDoc corrections
Julian Smart [Fri, 21 Sep 2007 17:53:17 +0000 (17:53 +0000)] 
Doc corrections

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

16 years agopredefine _WIN32_IE before including shellapi.h too to allow tooltips longer than...
Vadim Zeitlin [Fri, 21 Sep 2007 17:51:11 +0000 (17:51 +0000)] 
predefine _WIN32_IE before including shellapi.h too to allow tooltips longer than 64 (up to 128) characters in wxTaskBarIcon

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

16 years agoallow copying wxFormatString for compiler-generated temporaries
Paul Cornett [Fri, 21 Sep 2007 16:04:24 +0000 (16:04 +0000)] 
allow copying wxFormatString for compiler-generated temporaries

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

16 years agocopy tif_config.h.vc to tif_config.h, this file will be used for all builds not using...
Vadim Zeitlin [Fri, 21 Sep 2007 15:04:16 +0000 (15:04 +0000)] 
copy tif_config.h.vc to tif_config.h, this file will be used for all builds not using configure (for configure-based builds the file with the same name in the build directory will be used)

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

16 years agouse libtiff/libjpeg VC-specific include files for all Win32 compilers, including...
Vadim Zeitlin [Fri, 21 Sep 2007 14:13:15 +0000 (14:13 +0000)] 
use libtiff/libjpeg VC-specific include files for all Win32 compilers, including mingw32 (and even when using configure which is wrong but will be fixed later)

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