]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
17 years agoadded wxCStrData conversion to const unsigned char * too
Vadim Zeitlin [Thu, 22 Mar 2007 17:28:00 +0000 (17:28 +0000)] 
added wxCStrData conversion to const unsigned char * too

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

17 years agoadd operator+=(unsigned char) for backwards compatibility and because we generally...
Vadim Zeitlin [Thu, 22 Mar 2007 17:26:09 +0000 (17:26 +0000)] 
add operator+=(unsigned char) for backwards compatibility and because we generally handle both signed and unisnged chars everywhere; added wxString(const wxCStrData&, size_t) ctor to resolve ambiguity between wxString(const char *, size_t) and wxString(const unsigned char *, size_t) and wxString(const wxString&, size_t) to resolved embiguity for string parameter of ctor

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

17 years agoadded conversion to unsigned int too: this is needed to be able to pass s[n] to stand...
Vadim Zeitlin [Thu, 22 Mar 2007 15:24:28 +0000 (15:24 +0000)] 
added conversion to unsigned int too: this is needed to be able to pass s[n] to standard toxxx/isyyy() functions under Windows when _MBCS is defined as they're mapped to _mbzzz(unsigned int) in this case

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

17 years agoremoved Matches(const wxChar *, int=0) overload: it creates ambiguity with Matches...
Vadim Zeitlin [Thu, 22 Mar 2007 15:20:50 +0000 (15:20 +0000)] 
removed Matches(const wxChar *, int=0) overload: it creates ambiguity with Matches(const wxString&, int=0) one when re.Matches(s.c_str()) is called now that c_str() returns wxCStrData which can be converted to both const wxChar * and wxString

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

17 years agocorrect the checked flag in the event generated by checkable menu items (fixes bug...
Vadim Zeitlin [Thu, 22 Mar 2007 03:01:50 +0000 (03:01 +0000)] 
correct the checked flag in the event generated by checkable menu items (fixes bug introduced in 1.144, patch 1685634)

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

17 years agorename wxlike-libdirname to just wxlike-dirname (patch 1685279)
Vadim Zeitlin [Thu, 22 Mar 2007 02:56:15 +0000 (02:56 +0000)] 
rename wxlike-libdirname to just wxlike-dirname (patch 1685279)

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

17 years agodon't lose the combobox text when it's opened and closed (patch 1684252, closes bug...
Vadim Zeitlin [Thu, 22 Mar 2007 02:43:52 +0000 (02:43 +0000)] 
don't lose the combobox text when it's opened and closed (patch 1684252, closes bug 1612994)

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

17 years agouse correct background colour for the box label when foreground colour is set (remain...
Vadim Zeitlin [Thu, 22 Mar 2007 02:28:06 +0000 (02:28 +0000)] 
use correct background colour for the box label when foreground colour is set (remaining part of patch 1683573)

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

17 years agocall GetTextExtent() after selecting the correct font into DC in PaintForeground...
Vadim Zeitlin [Thu, 22 Mar 2007 02:25:25 +0000 (02:25 +0000)] 
call GetTextExtent() after selecting the correct font into DC in PaintForeground(), fixes label drawing for non default font sizes (part of patch 1683573)

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

17 years agouse wxIsEmpty() instead of deprecated IsEmpty()
Vadim Zeitlin [Wed, 21 Mar 2007 23:36:17 +0000 (23:36 +0000)] 
use wxIsEmpty() instead of deprecated IsEmpty()

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

17 years ago Committing in .
Jouk Jansen [Wed, 21 Mar 2007 10:55:40 +0000 (10:55 +0000)] 
 Committing in .

 Updates for OpenVMS support

 Modified Files:
  wxWidgets/setup.h_vms wxWidgets/src/common/descrip.mms
  wxWidgets/src/generic/descrip.mms

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

17 years ago Committing in .
Jouk Jansen [Wed, 21 Mar 2007 09:54:51 +0000 (09:54 +0000)] 
 Committing in .
  VMS updates

 Modified Files:
  descrip.mms

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

17 years agorevert use of AllocExclusive
Paul Cornett [Wed, 21 Mar 2007 04:29:57 +0000 (04:29 +0000)] 
revert use of AllocExclusive

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

17 years agoremoved extraneous comma at the end of wxGridDirection enum
Vadim Zeitlin [Tue, 20 Mar 2007 21:06:06 +0000 (21:06 +0000)] 
removed extraneous comma at the end of wxGridDirection enum

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

17 years agoremoved extraneous semicolons
Vadim Zeitlin [Tue, 20 Mar 2007 21:05:09 +0000 (21:05 +0000)] 
removed extraneous semicolons

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

17 years agono changes, just fixed spelling of 'indeterminate'
Vadim Zeitlin [Tue, 20 Mar 2007 16:23:12 +0000 (16:23 +0000)] 
no changes, just fixed spelling of 'indeterminate'

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

17 years agoadded wxUniChar <-> unsigned char conversion
Václav Slavík [Tue, 20 Mar 2007 15:49:45 +0000 (15:49 +0000)] 
added wxUniChar <-> unsigned char conversion

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

17 years agoremoved unnecessary WXDLLIMPEXP_CORE from private classes (fixes VC warning about...
Vadim Zeitlin [Tue, 20 Mar 2007 13:39:31 +0000 (13:39 +0000)] 
removed unnecessary WXDLLIMPEXP_CORE from private classes (fixes VC warning about DLL-exported class using non DLL-exported GraphicsStates in DLL build)

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

17 years agocompilation fixes for !wxUSE_INTL case
Václav Slavík [Tue, 20 Mar 2007 13:32:05 +0000 (13:32 +0000)] 
compilation fixes for !wxUSE_INTL case

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

17 years agoprevent GTK+ from changing locale when wxUSE_INTL==0, this makes the behaviour consis...
Vadim Zeitlin [Tue, 20 Mar 2007 13:29:36 +0000 (13:29 +0000)] 
prevent GTK+ from changing locale when wxUSE_INTL==0, this makes the behaviour consistent with the other ports in this case too (and not only when wxUSE_INTL==1 and the locale is changed (in all ports))

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

17 years agodon't offset the window being centered more than strictly necessary for it to be...
Vadim Zeitlin [Tue, 20 Mar 2007 12:56:53 +0000 (12:56 +0000)] 
don't offset the window being centered more than strictly necessary for it to be on screen (replaces patch 1683239)

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

17 years agocompilation fix after STL fixes if 2.8 compatibility is enabled
Václav Slavík [Tue, 20 Mar 2007 08:14:06 +0000 (08:14 +0000)] 
compilation fix after STL fixes if 2.8 compatibility is enabled

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

17 years agofix non-PCH build after latest change
Vadim Zeitlin [Mon, 19 Mar 2007 22:36:31 +0000 (22:36 +0000)] 
fix non-PCH build after latest change

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

17 years agodeprecate wxTR_EXTENDED and remove it from the docs
Vadim Zeitlin [Mon, 19 Mar 2007 20:35:49 +0000 (20:35 +0000)] 
deprecate wxTR_EXTENDED and remove it from the docs

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

17 years agofixed handling of accelerators using PageUp/Down keys (bug 1683613)
Vadim Zeitlin [Mon, 19 Mar 2007 20:18:20 +0000 (20:18 +0000)] 
fixed handling of accelerators using PageUp/Down keys (bug 1683613)

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

17 years agocorrected VT_DATE conversion (bug 1683882)
Vadim Zeitlin [Mon, 19 Mar 2007 19:58:50 +0000 (19:58 +0000)] 
corrected VT_DATE conversion (bug 1683882)

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

17 years agofixed compilation if wxUSE_STL=1
Václav Slavík [Mon, 19 Mar 2007 19:23:33 +0000 (19:23 +0000)] 
fixed compilation if wxUSE_STL=1

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

17 years agofixed missing ; after class declaration
Václav Slavík [Mon, 19 Mar 2007 17:27:08 +0000 (17:27 +0000)] 
fixed missing ; after class declaration

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

17 years agotagged IsEmpty(), Strlen() and Stricmp() global functions as deprecated, 2.8-compat...
Václav Slavík [Mon, 19 Mar 2007 16:47:10 +0000 (16:47 +0000)] 
tagged IsEmpty(), Strlen() and Stricmp() global functions as deprecated, 2.8-compat (they're documented as compatibility only)

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

17 years agofixed wrong include path
Václav Slavík [Mon, 19 Mar 2007 16:38:20 +0000 (16:38 +0000)] 
fixed wrong include path

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

17 years agouse wxUin32 for wxUniChar::value_type: we need 32bit for it regardless of the platform
Václav Slavík [Mon, 19 Mar 2007 16:22:11 +0000 (16:22 +0000)] 
use wxUin32 for wxUniChar::value_type: we need 32bit for it regardless of the platform

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

17 years agowxUniChar::unicode_type -> value_type
Václav Slavík [Mon, 19 Mar 2007 16:17:37 +0000 (16:17 +0000)] 
wxUniChar::unicode_type -> value_type

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

17 years agoadded makefile targets for building individual libs, e.g. 'make wxnet'
Václav Slavík [Mon, 19 Mar 2007 16:12:19 +0000 (16:12 +0000)] 
added makefile targets for building individual libs, e.g. 'make wxnet'

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

17 years agoapplied patch 1683441
Benjamin Williams [Mon, 19 Mar 2007 14:52:48 +0000 (14:52 +0000)] 
applied patch 1683441

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

17 years agosplit wxchar.h into several smaller headers
Václav Slavík [Mon, 19 Mar 2007 14:45:38 +0000 (14:45 +0000)] 
split wxchar.h into several smaller headers

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

17 years agosplit wxchar.h into several smaller headers
Václav Slavík [Mon, 19 Mar 2007 14:39:58 +0000 (14:39 +0000)] 
split wxchar.h into several smaller headers

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

17 years agoadded wxString::operator=(const wxCStrData&) to make it possible to compile code...
Vadim Zeitlin [Mon, 19 Mar 2007 13:19:56 +0000 (13:19 +0000)] 
added wxString::operator=(const wxCStrData&) to make it possible to compile code like "wxString s = s.c_str() + 1" again (also fixes wxGTK1 compilation)

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

17 years agoadded ctor for wxChar/WCharBuffer from wxCStrData in ANSI/Unicode build to make it...
Vadim Zeitlin [Mon, 19 Mar 2007 13:18:02 +0000 (13:18 +0000)] 
added ctor for wxChar/WCharBuffer from wxCStrData in ANSI/Unicode build to make it possible to compile code like "wxCharBuffer buf = s.c_str()" again (in particular, fixes wxGTK1 compilation)

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

17 years agofixed wxDataViewCtrl compilation with DigitalMars
Václav Slavík [Mon, 19 Mar 2007 13:03:02 +0000 (13:03 +0000)] 
fixed wxDataViewCtrl compilation with DigitalMars

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

17 years agofix non-PCH build after latest change
Vadim Zeitlin [Mon, 19 Mar 2007 12:52:06 +0000 (12:52 +0000)] 
fix non-PCH build after latest change

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

17 years agohandle 0 timeout in RunLoop() correctly
Vadim Zeitlin [Mon, 19 Mar 2007 02:29:49 +0000 (02:29 +0000)] 
handle 0 timeout in RunLoop() correctly

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

17 years agoinitialize m_maxFD to avoid passing invalid values to select()
Vadim Zeitlin [Mon, 19 Mar 2007 02:27:34 +0000 (02:27 +0000)] 
initialize m_maxFD to avoid passing invalid values to select()

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

17 years agoimplement DoStretchBlit() in terms of DoBlit() and SetUserScale()
Vadim Zeitlin [Mon, 19 Mar 2007 01:53:53 +0000 (01:53 +0000)] 
implement DoStretchBlit() in terms of DoBlit() and SetUserScale()

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

17 years agocompilation fix for switch(wxChar)
Vadim Zeitlin [Mon, 19 Mar 2007 01:38:37 +0000 (01:38 +0000)] 
compilation fix for switch(wxChar)

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

17 years agoreturn wxFONTENCODING_ISO8859_1, not wxFONTENCODING_SYSTEM, from wxLocale::GetSystemE...
Vadim Zeitlin [Mon, 19 Mar 2007 01:37:22 +0000 (01:37 +0000)] 
return wxFONTENCODING_ISO8859_1, not wxFONTENCODING_SYSTEM, from wxLocale::GetSystemEncoding() when locale is C under Unix (why didn't we do this before?)

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

17 years agouse wxCollapsiblePane in the log dialog (patch 1624796)
Vadim Zeitlin [Mon, 19 Mar 2007 01:23:03 +0000 (01:23 +0000)] 
use wxCollapsiblePane in the log dialog (patch 1624796)

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

17 years agofixed all the other ports broken by controls labels in wxToolBar patch commit
Vadim Zeitlin [Mon, 19 Mar 2007 01:22:18 +0000 (01:22 +0000)] 
fixed all the other ports broken by controls labels in wxToolBar patch commit

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

17 years agocompilation fix after wxUniChar changes
Vadim Zeitlin [Mon, 19 Mar 2007 01:21:07 +0000 (01:21 +0000)] 
compilation fix after wxUniChar changes

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

17 years agofix compilation after c_str() changes, mainly by replacing c_str() with mb_str()
Vadim Zeitlin [Mon, 19 Mar 2007 00:59:08 +0000 (00:59 +0000)] 
fix compilation after c_str() changes, mainly by replacing c_str() with mb_str()

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

17 years agoadded wxXmString ctor from wxCStrData to fix compilation errors after c_str() changes
Vadim Zeitlin [Mon, 19 Mar 2007 00:53:06 +0000 (00:53 +0000)] 
added wxXmString ctor from wxCStrData to fix compilation errors after c_str() changes

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

17 years agoadded missing wxGUIAppTraits::SetLocale()
Vadim Zeitlin [Mon, 19 Mar 2007 00:49:03 +0000 (00:49 +0000)] 
added missing wxGUIAppTraits::SetLocale()

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

17 years agoadd overloads of wxString and wxCStrData::operator[] taking long, for consistency...
Vadim Zeitlin [Mon, 19 Mar 2007 00:06:17 +0000 (00:06 +0000)] 
add overloads of wxString and wxCStrData::operator[] taking long, for consistency with std::string classes

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

17 years agoadded wxCStrData::operator+(long) overload (this fixes some compilation errors in...
Vadim Zeitlin [Sun, 18 Mar 2007 23:59:09 +0000 (23:59 +0000)] 
added wxCStrData::operator+(long) overload (this fixes some compilation errors in wxGTK1 and probably not only there)

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

17 years agofixed all the other ports broken by controls labels in wxToolBar patch commit
Vadim Zeitlin [Sun, 18 Mar 2007 23:57:20 +0000 (23:57 +0000)] 
fixed all the other ports broken by controls labels in wxToolBar patch commit

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

17 years agoreplaced c_str() with mb_str() to fix compilation after c_str() changes
Vadim Zeitlin [Sun, 18 Mar 2007 23:52:35 +0000 (23:52 +0000)] 
replaced c_str() with mb_str() to fix compilation after c_str() changes

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

17 years agofixed typo in last commit
Vadim Zeitlin [Sun, 18 Mar 2007 23:18:55 +0000 (23:18 +0000)] 
fixed typo in last commit

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

17 years agoadded labels support for toolbar controls for wxMac and wxMSW (modified patch 1613603)
Vadim Zeitlin [Sun, 18 Mar 2007 23:13:18 +0000 (23:13 +0000)] 
added labels support for toolbar controls for wxMac and wxMSW (modified patch 1613603)

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

17 years agofix assert because of passing more than one border bit in style to the base class...
Vadim Zeitlin [Sun, 18 Mar 2007 23:07:58 +0000 (23:07 +0000)] 
fix assert because of passing more than one border bit in style to the base class Create()

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

17 years agomodify m_encoding, not m_name, in wxCSConv::CreateConvIfNeeded() if we don't have...
Vadim Zeitlin [Sun, 18 Mar 2007 21:12:20 +0000 (21:12 +0000)] 
modify m_encoding, not m_name, in wxCSConv::CreateConvIfNeeded() if we don't have either (as is the case with wxConvLocal); this fixes an infinite recursion in wxMac after the latest changes as wxLocale::GetSystemEncodingName() there returned empty (and not NULL) string which resulted in call to wxFontMapperBase::CharsetToEncoding() and reentrancy into wxConvLocal

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

17 years agodon't check if the file exists if we don't use it
Vadim Zeitlin [Sun, 18 Mar 2007 21:08:17 +0000 (21:08 +0000)] 
don't check if the file exists if we don't use it

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

17 years agogive us wxSTAY_ON_TOP style if our parent has it, otherwise we wouldn't be visible...
Vadim Zeitlin [Sun, 18 Mar 2007 20:34:50 +0000 (20:34 +0000)] 
give us wxSTAY_ON_TOP style if our parent has it, otherwise we wouldn't be visible behind it (patch 1683221)

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

17 years agowxTopLevelWindowCocoa::SetTitle title parameter is used as of VZ 1.35.
David Elliott [Sun, 18 Mar 2007 19:26:44 +0000 (19:26 +0000)] 
wxTopLevelWindowCocoa::SetTitle title parameter is used as of VZ 1.35.
Compilation fix.

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

17 years agofix XModifierKeymap memory leak (patch 1683137)
Vadim Zeitlin [Sun, 18 Mar 2007 17:48:04 +0000 (17:48 +0000)] 
fix XModifierKeymap memory leak (patch 1683137)

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

17 years agouse wxStandardPaths and wxFileName in wxFileConfig resulting in big code simplificati...
Vadim Zeitlin [Sun, 18 Mar 2007 17:34:11 +0000 (17:34 +0000)] 
use wxStandardPaths and wxFileName in wxFileConfig resulting in big code simplification and cleanup but also in change of the default file locations under Windows (replaces patch 1620492)

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

17 years agowxDC::StretchBlit() for wxMac and wxMSW (patch 1611973)
Vadim Zeitlin [Sun, 18 Mar 2007 15:32:27 +0000 (15:32 +0000)] 
wxDC::StretchBlit() for wxMac and wxMSW (patch 1611973)

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

17 years agofix the run-time behaviour after the last compilation fixing patch
Vadim Zeitlin [Sun, 18 Mar 2007 14:56:05 +0000 (14:56 +0000)] 
fix the run-time behaviour after the last compilation fixing patch

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

17 years agoadded wxJoin and wxSplit functions (modified patch 1638950)
Vadim Zeitlin [Sun, 18 Mar 2007 14:43:41 +0000 (14:43 +0000)] 
added wxJoin and wxSplit functions (modified patch 1638950)

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

17 years agofix VC warning about applying unary minus to unsigned type yielding still unsigned...
Vadim Zeitlin [Sun, 18 Mar 2007 14:32:55 +0000 (14:32 +0000)] 
fix VC warning about applying unary minus to unsigned type yielding still unsigned result by using wxFileOffset instead of size_t

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

17 years agocompilation fixes after c_str() changes
Vadim Zeitlin [Sun, 18 Mar 2007 14:29:30 +0000 (14:29 +0000)] 
compilation fixes after c_str() changes

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

17 years agoremoved minimal-specific Info.plist; updated the version in the generic one
Vadim Zeitlin [Sun, 18 Mar 2007 11:54:18 +0000 (11:54 +0000)] 
removed minimal-specific Info.plist; updated the version in the generic one

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

17 years agolist samples/Info.plist in one manifest only (the Mac one); remove samples/minimal...
Vadim Zeitlin [Sun, 18 Mar 2007 11:51:22 +0000 (11:51 +0000)] 
list samples/Info.plist in one manifest only (the Mac one); remove samples/minimal/Info.plist and (non existent) samples/minimal/minimal.pbproj/project.pbxproj

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

17 years agocorrected typo in \texttt in last commit
Vadim Zeitlin [Sat, 17 Mar 2007 23:19:28 +0000 (23:19 +0000)] 
corrected typo in \texttt in last commit

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

17 years agoupdated portability note for wxGetDiskSpace (patch 1682889)
Vadim Zeitlin [Sat, 17 Mar 2007 23:05:50 +0000 (23:05 +0000)] 
updated portability note for wxGetDiskSpace (patch 1682889)

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

17 years agofixed signed/unsigned comparison warnings; reformatted the code a little
Vadim Zeitlin [Sat, 17 Mar 2007 22:55:05 +0000 (22:55 +0000)] 
fixed signed/unsigned comparison warnings; reformatted the code a little

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

17 years agocompilation fixes after c_str() changes (due to casting of its return value to non...
Vadim Zeitlin [Sat, 17 Mar 2007 22:52:29 +0000 (22:52 +0000)] 
compilation fixes after c_str() changes (due to casting of its return value to non-const wxChar *)

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

17 years agoremoved tests for WXWIN_COMPATIBILITY_2_4
Vadim Zeitlin [Sat, 17 Mar 2007 17:00:47 +0000 (17:00 +0000)] 
removed tests for WXWIN_COMPATIBILITY_2_4

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

17 years agoproduce better HTML output by using Unicode equivalents of LaTeX quotes and dashes...
Vadim Zeitlin [Sat, 17 Mar 2007 16:57:31 +0000 (16:57 +0000)] 
produce better HTML output by using Unicode equivalents of LaTeX quotes and dashes (patch 1610494)

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

17 years agorenamed meaningless IsRealClass() function in CanBeUsedWithXRCCTRL() because this...
Vadim Zeitlin [Sat, 17 Mar 2007 16:48:11 +0000 (16:48 +0000)] 
renamed meaningless IsRealClass() function in CanBeUsedWithXRCCTRL() because this is what it really does

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

17 years agodon't try to use XRCCTRL() with wxMenuBar or wxStaticBoxSizer, this fails (at run...
Vadim Zeitlin [Sat, 17 Mar 2007 16:46:23 +0000 (16:46 +0000)] 
don't try to use XRCCTRL() with wxMenuBar or wxStaticBoxSizer, this fails (at run- or compile-time) (1st part of patch 1596624)

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

17 years agofix extra indentation in wxHTML_ALIGN_JUSTIFY display (patch 1565375)
Vadim Zeitlin [Sat, 17 Mar 2007 16:39:58 +0000 (16:39 +0000)] 
fix extra indentation in wxHTML_ALIGN_JUSTIFY display (patch 1565375)

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

17 years agocall wxYield() to force display of the busy info frame contents under wxGTK (patch...
Vadim Zeitlin [Sat, 17 Mar 2007 16:20:33 +0000 (16:20 +0000)] 
call wxYield() to force display of the busy info frame contents under wxGTK (patch 1511746)

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

17 years agoimplemented wxMemoryInputStream::CanRead() and added tests for CanRead() to all strea...
Vadim Zeitlin [Sat, 17 Mar 2007 15:38:09 +0000 (15:38 +0000)] 
implemented wxMemoryInputStream::CanRead() and added tests for CanRead() to all stream tests

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

17 years agoadded wxMemoryInputStream(wxInputStream&, size_t) ctor (modified patch 1680108)
Vadim Zeitlin [Sat, 17 Mar 2007 15:28:28 +0000 (15:28 +0000)] 
added wxMemoryInputStream(wxInputStream&, size_t) ctor (modified patch 1680108)

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

17 years agogcc signed/unsigned warning fix
Vadim Zeitlin [Sat, 17 Mar 2007 15:01:59 +0000 (15:01 +0000)] 
gcc signed/unsigned warning fix

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

17 years agocorrected WX_DEFINE_VARARG_FUNC_NOP usage
Vadim Zeitlin [Sat, 17 Mar 2007 15:00:51 +0000 (15:00 +0000)] 
corrected WX_DEFINE_VARARG_FUNC_NOP usage

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

17 years agooutput '}' as wxChar, not char, which results in using the int overload of operator...
Vadim Zeitlin [Sat, 17 Mar 2007 14:39:17 +0000 (14:39 +0000)] 
output '}' as wxChar, not char, which results in using the int overload of operator<<() in Unicode build (patch 1682643)

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

17 years agoremoved Classic files from the manifest after removing them from the cvs
Vadim Zeitlin [Sat, 17 Mar 2007 14:28:10 +0000 (14:28 +0000)] 
removed Classic files from the manifest after removing them from the cvs

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

17 years agofirst phase of transition to unified Unicode build:
Václav Slavík [Sat, 17 Mar 2007 10:26:10 +0000 (10:26 +0000)] 
first phase of transition to unified Unicode build:
1. changed c_str() to return wxCStrData (implicitly convertible to wxChar*)
2. added template type-safe wrappers for vararg functions
3. added wxUniChar class representing single Unicode character
4. changed wxString::operator[] and wxString::iterator to return wxUniChar

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

17 years agoshutdown sockets gracefully instead of doing it with TCP reset (patch 1682438)
Vadim Zeitlin [Sat, 17 Mar 2007 02:14:33 +0000 (02:14 +0000)] 
shutdown sockets gracefully instead of doing it with TCP reset (patch 1682438)

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

17 years agoadded missing #pragma hdrstop
Václav Slavík [Fri, 16 Mar 2007 20:19:35 +0000 (20:19 +0000)] 
added missing #pragma hdrstop

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

17 years agochanged wxPlatform implicit conversion to string to return const reference to wxStrin...
Václav Slavík [Fri, 16 Mar 2007 20:10:17 +0000 (20:10 +0000)] 
changed wxPlatform implicit conversion to string to return const reference to wxString instead of const wxString object

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

17 years agodefault setting fix
Roman Rolinsky [Fri, 16 Mar 2007 19:09:58 +0000 (19:09 +0000)] 
default setting fix

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

17 years agoregenerated after wxSelectDispatcher addition (patch 1618976)
Vadim Zeitlin [Fri, 16 Mar 2007 16:43:44 +0000 (16:43 +0000)] 
regenerated after wxSelectDispatcher addition (patch 1618976)

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

17 years agowxX11 Unicode compilation fix
Vadim Zeitlin [Fri, 16 Mar 2007 16:40:12 +0000 (16:40 +0000)] 
wxX11 Unicode compilation fix

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

17 years agomake wxFDIOHandler dtor virtual, it's meant to be used as a base class
Vadim Zeitlin [Fri, 16 Mar 2007 16:17:04 +0000 (16:17 +0000)] 
make wxFDIOHandler dtor virtual, it's meant to be used as a base class

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

17 years agorefactoring: replace wxSocketDispatcher with more generic wxSelectDispatcher (patch...
Vadim Zeitlin [Fri, 16 Mar 2007 15:45:12 +0000 (15:45 +0000)] 
refactoring: replace wxSocketDispatcher with more generic wxSelectDispatcher (patch 1618976)

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

17 years agowarning about %comments, CHANGES.txt updated
Roman Rolinsky [Fri, 16 Mar 2007 15:42:23 +0000 (15:42 +0000)] 
warning about %comments, CHANGES.txt updated

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

17 years agoVC6 has problems with std::vector and identifiers names 'iterator' in GDI+ headers...
Vadim Zeitlin [Fri, 16 Mar 2007 15:17:36 +0000 (15:17 +0000)] 
VC6 has problems with std::vector and identifiers names 'iterator' in GDI+ headers; switch to using our own stack class instead

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

17 years agoVC6 compilation fix (don't reuse the same variable in 2 for loops)
Vadim Zeitlin [Fri, 16 Mar 2007 15:13:22 +0000 (15:13 +0000)] 
VC6 compilation fix (don't reuse the same variable in 2 for loops)

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

17 years agoadded more message names to wxGetMessageName() (modified patch 1611819)
Vadim Zeitlin [Fri, 16 Mar 2007 14:24:01 +0000 (14:24 +0000)] 
added more message names to wxGetMessageName() (modified patch 1611819)

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