]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
17 years agosplit string.{h,cpp} into {string,stringimpl,arrstr}.{h,cpp} to make the files more...
Václav Slavík [Wed, 28 Mar 2007 11:35:07 +0000 (11:35 +0000)] 
split string.{h,cpp} into {string,stringimpl,arrstr}.{h,cpp} to make the files more managable

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

17 years agomade wxHashMap work with any form of strings
Václav Slavík [Wed, 28 Mar 2007 09:46:46 +0000 (09:46 +0000)] 
made wxHashMap work with any form of strings

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

17 years agoadded test for operator?: and wxCStrData
Václav Slavík [Wed, 28 Mar 2007 09:40:22 +0000 (09:40 +0000)] 
added test for operator?: and wxCStrData

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

17 years agore-enabled using std::string for wxStringImpl if wxUSE_STL again
Václav Slavík [Wed, 28 Mar 2007 09:37:34 +0000 (09:37 +0000)] 
re-enabled using std::string for wxStringImpl if wxUSE_STL again

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

17 years agoupdate from helix84
Vadim Zeitlin [Wed, 28 Mar 2007 00:02:34 +0000 (00:02 +0000)] 
update from helix84

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

17 years agoNeed an extra pixel when divider present
Julian Smart [Tue, 27 Mar 2007 13:42:42 +0000 (13:42 +0000)] 
Need an extra pixel when divider present

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

17 years agodisabled VC6 warning about passing a macro that expands to nothing to DECLARE_LOG_FUN...
Václav Slavík [Tue, 27 Mar 2007 10:13:52 +0000 (10:13 +0000)] 
disabled VC6 warning about passing a macro that expands to nothing to DECLARE_LOG_FUNCTION2_IMPL macro

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

17 years agofixed compilation with 2.8 compatibility off: wxTR_EXTENDED is deprecated
Václav Slavík [Tue, 27 Mar 2007 09:40:02 +0000 (09:40 +0000)] 
fixed compilation with 2.8 compatibility off: wxTR_EXTENDED is deprecated

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

17 years agoMerge recent changes from 2.8 branch.
Robin Dunn [Tue, 27 Mar 2007 01:49:46 +0000 (01:49 +0000)] 
Merge recent changes from 2.8 branch.
Make updates for recent changes on CVS HEAD.
Remove or workaround deprecated items.
Fix compile errors.

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

17 years agomake Ctrl-PageUp/Down work for changing notebook pages even when there is a wxWindow...
Vadim Zeitlin [Mon, 26 Mar 2007 23:46:31 +0000 (23:46 +0000)] 
make Ctrl-PageUp/Down work for changing notebook pages even when there is a wxWindow (i.e. not a native wxControl) in the hierarchy; this comes at the price of not being able to use the same key combinations for horizontal scrolling of the windows which do not have wxHSCROLL style and this seems like an acceptable tradeoff

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

17 years agoremoved wxHAS_NATIVE_TAB_TRAVERSAL which is now defined in wx/window.h
Vadim Zeitlin [Mon, 26 Mar 2007 23:40:40 +0000 (23:40 +0000)] 
removed wxHAS_NATIVE_TAB_TRAVERSAL which is now defined in wx/window.h

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

17 years agouse NavigateIn() method instead of sending wxNavigationKeyEvent directly
Vadim Zeitlin [Mon, 26 Mar 2007 22:15:14 +0000 (22:15 +0000)] 
use NavigateIn() method instead of sending wxNavigationKeyEvent directly

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

17 years agoadded wxWindow::NavigateIn(); provide wxGTK implementation of DoNavigateIn() working...
Vadim Zeitlin [Mon, 26 Mar 2007 22:10:04 +0000 (22:10 +0000)] 
added wxWindow::NavigateIn(); provide wxGTK implementation of DoNavigateIn() working with native tab traversal

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

17 years agoadded taborder sample
Vadim Zeitlin [Mon, 26 Mar 2007 21:24:51 +0000 (21:24 +0000)] 
added taborder sample

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

17 years agoadded basic test for wxLocale
Václav Slavík [Mon, 26 Mar 2007 21:12:13 +0000 (21:12 +0000)] 
added basic test for wxLocale

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

17 years agouse wxString for wxXmlResource::Set/GetDomain(), it's simpler
Václav Slavík [Mon, 26 Mar 2007 21:07:36 +0000 (21:07 +0000)] 
use wxString for wxXmlResource::Set/GetDomain(), it's simpler

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

17 years agouse wxStrings in wxLocale methods, _() and wxGetTranslation(), so that it can be...
Václav Slavík [Mon, 26 Mar 2007 21:05:04 +0000 (21:05 +0000)] 
use wxStrings in wxLocale methods, _() and wxGetTranslation(), so that it can be used with any string literals

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

17 years agoescape _ in LaTeX sources
Václav Slavík [Mon, 26 Mar 2007 20:50:34 +0000 (20:50 +0000)] 
escape _ in LaTeX sources

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

17 years agoPreparing wxString for UTF-8 representation:
Václav Slavík [Mon, 26 Mar 2007 20:28:04 +0000 (20:28 +0000)] 
Preparing wxString for UTF-8 representation:
1) split into wxStringImpl class that has std::string-like API and operates on char* or wchar_t* data and wxString class that provides Unicode iterators and indexes
2) added both char* and wchar_t* versions of many wxString methods to avoid having to use _T()

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

17 years agoForward port of my recent changes in the 2.8 branch:
Robin Dunn [Mon, 26 Mar 2007 20:08:41 +0000 (20:08 +0000)] 
Forward port of my recent changes in the 2.8 branch:

 * Force use of floating point math in wxGCDC::DoDrawEllipticArc.

 * Check for 0.5 offset in wxGCDC::DoDrawRoundedRectangle and
   DoDrawEllipse.  Set wxGDIPlusContext to use the offset.

 * Avoid crash in wxStdDialogButtonSizer::Realize if there is no
   negative button.

 * Provide implementations for wxCairoPathData::AddPath,
   wxCairoContext::Clip, wxCairoContext::DrawBitmap,
   wxCairoContext::DrawIcon, and wxCairoContext::GetTextExtent.

 * Fix wxCairoContext::DrawText to draw the text using the upper-left
   corner for the x,y position, not the baseline.

 * Fix wxMacCoreGraphicsRenderer::CreateContext to be able to use a
   wxMemoryDC as the target.

 * Map wxTELETYPE font family on wxMac to a monospace font.

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

17 years agouse native TAB traversal for GTK+ 2
Vadim Zeitlin [Mon, 26 Mar 2007 19:30:20 +0000 (19:30 +0000)] 
use native TAB traversal for GTK+ 2

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

17 years agoadded ellipsis to a couple of stock labels
Vadim Zeitlin [Mon, 26 Mar 2007 19:27:27 +0000 (19:27 +0000)] 
added ellipsis to a couple of stock labels

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

17 years agofixed compilation without PCH
Vadim Zeitlin [Mon, 26 Mar 2007 19:20:30 +0000 (19:20 +0000)] 
fixed compilation without PCH

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

17 years agouse more complicated layout; added wxTE_PROCESS_TAB test
Vadim Zeitlin [Mon, 26 Mar 2007 19:06:13 +0000 (19:06 +0000)] 
use more complicated layout; added wxTE_PROCESS_TAB test

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

17 years agosend wxNavigationKeyEvent to the correct window
Vadim Zeitlin [Mon, 26 Mar 2007 15:14:21 +0000 (15:14 +0000)] 
send wxNavigationKeyEvent to the correct window

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

17 years agoadded taborder sample
Vadim Zeitlin [Mon, 26 Mar 2007 15:07:10 +0000 (15:07 +0000)] 
added taborder sample

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

17 years agoassert if AddRoot() is called twice for a wxTR_HIDE_ROOT tree
Vadim Zeitlin [Mon, 26 Mar 2007 13:07:15 +0000 (13:07 +0000)] 
assert if AddRoot() is called twice for a wxTR_HIDE_ROOT tree

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

17 years agoTypo correction
Julian Smart [Mon, 26 Mar 2007 09:42:43 +0000 (09:42 +0000)] 
Typo correction

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

17 years agoadded missing operators to wxString::reverse_iterator
Václav Slavík [Mon, 26 Mar 2007 08:25:47 +0000 (08:25 +0000)] 
added missing operators to wxString::reverse_iterator

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

17 years agodo accept focus in notebook as it needs it for tabs
Vadim Zeitlin [Sun, 25 Mar 2007 23:00:36 +0000 (23:00 +0000)] 
do accept focus in notebook as it needs it for tabs

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

17 years agodon't accept focus in book control itself
Vadim Zeitlin [Sun, 25 Mar 2007 22:55:35 +0000 (22:55 +0000)] 
don't accept focus in book control itself

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

17 years agodon't use wxControlContainer if wxHAS_NATIVE_TAB_TRAVERSAL is defined (currently...
Vadim Zeitlin [Sun, 25 Mar 2007 22:41:11 +0000 (22:41 +0000)] 
don't use wxControlContainer if wxHAS_NATIVE_TAB_TRAVERSAL is defined (currently it never is)

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

17 years agodon't check whether the window is shown and enabled in AcceptsFocus() itself
Vadim Zeitlin [Sun, 25 Mar 2007 22:36:24 +0000 (22:36 +0000)] 
don't check whether the window is shown and enabled in AcceptsFocus() itself
as it makes overriding it in derived classes problematic; provide a separate
non virtual CanAcceptFocus() method checking whether the window accepts focus
and if it can accept it now and use it instead of AcceptsFocus(); documented
AcceptsFocus() and AcceptsFocusFromKeyboard()

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

17 years agowhy was this class made a wxControlContainer (rev. 1.7), this doesn't seem to make...
Vadim Zeitlin [Sun, 25 Mar 2007 21:17:19 +0000 (21:17 +0000)] 
why was this class made a wxControlContainer (rev. 1.7), this doesn't seem to make sense -- and if it does it should probably be done at the base class level, not here

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

17 years agoremove wxStringBase::AllocCopy(), it wasn't used anywhere
Václav Slavík [Sun, 25 Mar 2007 19:46:05 +0000 (19:46 +0000)] 
remove wxStringBase::AllocCopy(), it wasn't used anywhere

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

17 years agoremove all the tags for development branch
Vadim Zeitlin [Sun, 25 Mar 2007 13:54:19 +0000 (13:54 +0000)] 
remove all the tags for development branch

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

17 years agoupdate status bar display when we don't have focus too
Vadim Zeitlin [Sun, 25 Mar 2007 13:43:30 +0000 (13:43 +0000)] 
update status bar display when we don't have focus too

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

17 years agomake wxNO_BORDER work with wxRadioBox (patch 1525406)
Vadim Zeitlin [Sun, 25 Mar 2007 01:57:24 +0000 (01:57 +0000)] 
make wxNO_BORDER work with wxRadioBox (patch 1525406)

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

17 years agorespect the current default style in SetValue() (modified patch 1684613)
Vadim Zeitlin [Sun, 25 Mar 2007 01:30:46 +0000 (01:30 +0000)] 
respect the current default style in SetValue() (modified patch 1684613)

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

17 years agodocument GetBufferSize() (patch 1687070)
Vadim Zeitlin [Sun, 25 Mar 2007 00:54:40 +0000 (00:54 +0000)] 
document GetBufferSize() (patch 1687070)

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

17 years agocorrected name of wxWS_EX_PROCESS_UI_UPDATES style (part of patch 1686335)
Vadim Zeitlin [Sun, 25 Mar 2007 00:53:13 +0000 (00:53 +0000)] 
corrected name of wxWS_EX_PROCESS_UI_UPDATES style (part of patch 1686335)

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

17 years agocorrected link to gettext manual (part of patch 1686335)
Vadim Zeitlin [Sun, 25 Mar 2007 00:52:19 +0000 (00:52 +0000)] 
corrected link to gettext manual (part of patch 1686335)

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

17 years agoextract popup menu item labels from Scintilla sources too (patch 1679509)
Vadim Zeitlin [Sun, 25 Mar 2007 00:51:03 +0000 (00:51 +0000)] 
extract popup menu item labels from Scintilla sources too (patch 1679509)

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

17 years agomoved Write(const wxString&) to .cpp files as they're going to be changed again soon...
Vadim Zeitlin [Sat, 24 Mar 2007 14:42:29 +0000 (14:42 +0000)] 
moved Write(const wxString&) to .cpp files as they're going to be changed again soon; removed unnecessary casts

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

17 years agoTest for encoding conversion success in wxFile::Write to avoid crash
Julian Smart [Sat, 24 Mar 2007 10:21:48 +0000 (10:21 +0000)] 
Test for encoding conversion success in wxFile::Write to avoid crash

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

17 years agoTest for encoding conversion success in wxFFile::Write to avoid crash
Julian Smart [Sat, 24 Mar 2007 10:20:14 +0000 (10:20 +0000)] 
Test for encoding conversion success in wxFFile::Write to avoid crash

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

17 years agomore changes from 2.8.4 added
Vadim Zeitlin [Fri, 23 Mar 2007 16:24:11 +0000 (16:24 +0000)] 
more changes from 2.8.4 added

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

17 years agodon't use TPM_RECURSE under NT4, it results in TrackPopupMenu() not showing the menu...
Vadim Zeitlin [Fri, 23 Mar 2007 16:20:30 +0000 (16:20 +0000)] 
don't use TPM_RECURSE under NT4, it results in TrackPopupMenu() not showing the menu at all (bug 1663216)

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

17 years agofixed compilation for Windows compilers now after last change: replaced conversions...
Vadim Zeitlin [Fri, 23 Mar 2007 15:16:08 +0000 (15:16 +0000)] 
fixed compilation for Windows compilers now after last change: replaced conversions to ushort and uint with a conversion to wint_t but do it for (non-Apple) gcc only

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

17 years agoadded conversions to unsigned short: this fixes compilation for some platforms where...
Vadim Zeitlin [Fri, 23 Mar 2007 15:00:12 +0000 (15:00 +0000)] 
added conversions to unsigned short: this fixes compilation for some platforms where wint_t is ushort (mingw32)

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

17 years agoIf using the system Window menu on OS X, integrate any Window wxMenu items into the...
Kevin Ollivier [Fri, 23 Mar 2007 14:53:55 +0000 (14:53 +0000)] 
If using the system Window menu on OS X, integrate any Window wxMenu items into the system menu, rather than having duplicate Window menus (current behavior).

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

17 years agocompilation fix after wxCStrData changes
Vadim Zeitlin [Fri, 23 Mar 2007 14:20:12 +0000 (14:20 +0000)] 
compilation fix after wxCStrData changes

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

17 years agocompilation fix after wxCStrData changes
Vadim Zeitlin [Fri, 23 Mar 2007 14:14:42 +0000 (14:14 +0000)] 
compilation fix after wxCStrData changes

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

17 years agocompilation fix after last commit
Vadim Zeitlin [Fri, 23 Mar 2007 14:13:47 +0000 (14:13 +0000)] 
compilation fix after last commit

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

17 years agomake IsEnabled() return false even if the window parent, and not the window itself...
Vadim Zeitlin [Fri, 23 Mar 2007 14:01:53 +0000 (14:01 +0000)] 
make IsEnabled() return false even if the window parent, and not the window itself, is disabled and added IsThisEnabled() implementing the old IsEnabled() behaviour; also significantly simplify the window state management code in all ports by factoring out the common parts in wxWindowBase

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

17 years agodestroy m_impl even if an exception is thrown from the main loop
Vadim Zeitlin [Fri, 23 Mar 2007 13:24:55 +0000 (13:24 +0000)] 
destroy m_impl even if an exception is thrown from the main loop

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

17 years agoalso removed WXDLLIMPEXP_BASE from friend declaration of wxCStrData
Vadim Zeitlin [Fri, 23 Mar 2007 12:27:51 +0000 (12:27 +0000)] 
also removed WXDLLIMPEXP_BASE from friend declaration of wxCStrData

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

17 years agowxLogGeneric usage compilation fix
Václav Slavík [Fri, 23 Mar 2007 09:31:07 +0000 (09:31 +0000)] 
wxLogGeneric usage compilation fix

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

17 years agoremoved dll export declaration for wxCStrData: it's unneeded because the class is...
Vadim Zeitlin [Fri, 23 Mar 2007 01:45:17 +0000 (01:45 +0000)] 
removed dll export declaration for wxCStrData: it's unneeded because the class is fully inline and creates problems with mingw32 3.4.2 which wanrs about functions defined locally after being declared with dll linkage and then fails to link wxBase DLL

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

17 years agofix DLL build with MSVC: it wasn't happy that some functions of a template class...
Vadim Zeitlin [Fri, 23 Mar 2007 00:04:15 +0000 (00:04 +0000)] 
fix DLL build with MSVC: it wasn't happy that some functions of a template class were not implemented, so get rid of FromCStrData() and implement its logic in one of the 2 derived classes ctors instead

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

17 years agoreimplemented wx[W]CharBuffer using templates
Václav Slavík [Thu, 22 Mar 2007 23:31:08 +0000 (23:31 +0000)] 
reimplemented wx[W]CharBuffer using templates

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

17 years agoadded explicit conversion of wxCStrData to const void * to resolve ambiguity between...
Vadim Zeitlin [Thu, 22 Mar 2007 19:24:41 +0000 (19:24 +0000)] 
added explicit conversion of wxCStrData to const void * to resolve ambiguity between const char * and const unsigned char * conversion when passing s.c_str() to e.g. file output functions

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

17 years agoremove wxWINT_T_IS_TYPEDEF as it seems wint_t is always a typedef (although it can...
Vadim Zeitlin [Thu, 22 Mar 2007 19:13:50 +0000 (19:13 +0000)] 
remove wxWINT_T_IS_TYPEDEF as it seems wint_t is always a typedef (although it can be either unsigned short or unsigned int or possibly something else)

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

17 years agoadded macros to avoid code repetition when defining comparison operators; use them...
Vadim Zeitlin [Thu, 22 Mar 2007 18:03:02 +0000 (18:03 +0000)] 
added macros to avoid code repetition when defining comparison operators; use them to replace existing operators in wxUniChar and wxUniCharRef (fixing bug in the operator== and != of the latter) and added comparison operators for const wxChar * and wxCStrData which are needed to compile existing code comparing pointers with s.c_str()

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

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