]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
17 years ago Call clipping region methods from base class.
Robert Roebling [Fri, 22 Jun 2007 09:18:30 +0000 (09:18 +0000)] 
 Call clipping region methods from base class.

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

17 years agogtk_widget_destroy does not unref the widget unless it's a TLW or in a
Paul Cornett [Fri, 22 Jun 2007 06:53:30 +0000 (06:53 +0000)] 
gtk_widget_destroy does not unref the widget unless it's a TLW or in a
container, so use gtk_object_sink to delete temporary, parentless widgets.
Fixes memory leak bug #1741184.

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

17 years agodocument CreateConfig() (extended patch 1739374)
Vadim Zeitlin [Fri, 22 Jun 2007 02:01:40 +0000 (02:01 +0000)] 
document CreateConfig() (extended patch 1739374)

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

17 years agodon't use DLL export declaration with inline functions, it is ignored and just result...
Vadim Zeitlin [Thu, 21 Jun 2007 22:29:07 +0000 (22:29 +0000)] 
don't use DLL export declaration with inline functions, it is ignored and just results in a warning from mingw32 3.4.5 cross-compiler

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

17 years agochanged AddPendingEvent() to take const wxEvent reference, it doesn't need to modify it
Vadim Zeitlin [Thu, 21 Jun 2007 21:56:50 +0000 (21:56 +0000)] 
changed AddPendingEvent() to take const wxEvent reference, it doesn't need to modify it

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

17 years agofix STL build (don't rely on implicit wxString to char* conversions)
Vadim Zeitlin [Thu, 21 Jun 2007 21:45:46 +0000 (21:45 +0000)] 
fix STL build (don't rely on implicit wxString to char* conversions)

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

17 years agofixed compilation in Unicode build (it was silently disabled before...)
Vadim Zeitlin [Thu, 21 Jun 2007 21:34:53 +0000 (21:34 +0000)] 
fixed compilation in Unicode build (it was silently disabled before...)

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

17 years agofix compilation in ANSI STL build
Vadim Zeitlin [Thu, 21 Jun 2007 21:29:39 +0000 (21:29 +0000)] 
fix compilation in ANSI STL build

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

17 years ago Added minor clarification to the wxListBox events used
Robert Roebling [Thu, 21 Jun 2007 19:49:26 +0000 (19:49 +0000)] 
  Added minor clarification to the wxListBox events used
   by wxVListBox.

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

17 years agoblind fix for wxUSE_WXDIB==0 compilation (replaces patch 1739858)
Vadim Zeitlin [Thu, 21 Jun 2007 18:14:29 +0000 (18:14 +0000)] 
blind fix for wxUSE_WXDIB==0 compilation (replaces patch 1739858)

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

17 years agofix typo
Paul Cornett [Thu, 21 Jun 2007 16:33:48 +0000 (16:33 +0000)] 
fix typo

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

17 years agopass double as sqrt() argument as at least Sun compiler has troubles with sqrt(2)
Vadim Zeitlin [Thu, 21 Jun 2007 15:21:03 +0000 (15:21 +0000)] 
pass double as sqrt() argument as at least Sun compiler has troubles with sqrt(2)

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

17 years agoCopied fonts in art Clone
Julian Smart [Thu, 21 Jun 2007 15:16:10 +0000 (15:16 +0000)] 
Copied fonts in art Clone

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

17 years agoAdded font setting and ability to determine AUI notebook height for a given page...
Julian Smart [Thu, 21 Jun 2007 15:07:51 +0000 (15:07 +0000)] 
Added font setting and ability to determine AUI notebook height for a given page height

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

17 years agoAdded DetachOldLog to avoid destruction of old log target
Julian Smart [Thu, 21 Jun 2007 12:44:38 +0000 (12:44 +0000)] 
Added DetachOldLog to avoid destruction of old log target
Renamed wxLogPassThrough to wxLogInterposer
Added wxLogInterposerTemp

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

17 years agodocument that wx[HV]SCROLL don't work with native controls not TLWs
Vadim Zeitlin [Thu, 21 Jun 2007 11:50:34 +0000 (11:50 +0000)] 
document that wx[HV]SCROLL don't work with native controls not TLWs

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

17 years agocheck that we do have scrollbars before using them to avoid crashes when SetScrollXXX...
Vadim Zeitlin [Thu, 21 Jun 2007 11:44:05 +0000 (11:44 +0000)] 
check that we do have scrollbars before using them to avoid crashes when SetScrollXXX() methods are called for windows which are not scrollable

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

17 years agofix to the previous commit: percent signs have to be escaped first
Vadim Zeitlin [Thu, 21 Jun 2007 11:16:57 +0000 (11:16 +0000)] 
fix to the previous commit: percent signs have to be escaped first

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

17 years agofix reversed left/top variables
Paul Cornett [Thu, 21 Jun 2007 03:43:01 +0000 (03:43 +0000)] 
fix reversed left/top variables

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

17 years agofix handling of '#' in file names (patch 1740328)
Vadim Zeitlin [Thu, 21 Jun 2007 00:05:01 +0000 (00:05 +0000)] 
fix handling of '#' in file names (patch 1740328)

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

17 years agosingle line wxTextCtrl fg colour fix is now in 2.8
Vadim Zeitlin [Wed, 20 Jun 2007 21:29:07 +0000 (21:29 +0000)] 
single line wxTextCtrl fg colour fix is now in 2.8

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

17 years agofix reparenting a control into wxToolBar
Paul Cornett [Wed, 20 Jun 2007 17:49:13 +0000 (17:49 +0000)] 
fix reparenting a control into wxToolBar

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

17 years agoAdded extra width for controls to avoid edge being clipped
Julian Smart [Wed, 20 Jun 2007 15:36:26 +0000 (15:36 +0000)] 
Added extra width for controls to avoid edge being clipped

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

17 years agoFixed uninstalled toolbars in native toolbar mode, with a method for
Julian Smart [Wed, 20 Jun 2007 14:02:06 +0000 (14:02 +0000)] 
Fixed uninstalled toolbars in native toolbar mode, with a method for
specifying non-native if required
Added code to toolbar sample for testing uninstalled toolbar

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

17 years agoFix for non-CG mode
Julian Smart [Wed, 20 Jun 2007 13:21:46 +0000 (13:21 +0000)] 
Fix for non-CG mode

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

17 years agoremove implicit conversion to C strings from wxString if wxUSE_STL=1; this fixes...
Václav Slavík [Wed, 20 Jun 2007 07:47:51 +0000 (07:47 +0000)] 
remove implicit conversion to C strings from wxString if wxUSE_STL=1; this fixes problems with converting between wxString and std::string in some situations at the cost of having to use c_str() explicitly just as you have to when using std::string

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

17 years agomore changes to make wx compile without implicit wxString->char* conversion (for...
Václav Slavík [Wed, 20 Jun 2007 07:44:45 +0000 (07:44 +0000)] 
more changes to make wx compile without implicit wxString->char* conversion (for STL build)

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

17 years agouse wxString in wxRegKey methods; make it compile without implicit wxString->char...
Václav Slavík [Wed, 20 Jun 2007 07:09:14 +0000 (07:09 +0000)] 
use wxString in wxRegKey methods; make it compile without implicit wxString->char* conversion

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

17 years agoFix SetExtraLong parameter type in docs from int to long. Noticed by nept2 on IRC
Mart Raudsepp [Wed, 20 Jun 2007 04:22:56 +0000 (04:22 +0000)] 
Fix SetExtraLong parameter type in docs from int to long. Noticed by nept2 on IRC

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

17 years agomention changes from 2.8 branch too, at the very least keeping the 2 versions of...
Vadim Zeitlin [Wed, 20 Jun 2007 00:16:17 +0000 (00:16 +0000)] 
mention changes from 2.8 branch too, at the very least keeping the 2 versions of this file on 2 branches in sync facilitates backporting

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

17 years agodon't free "static" alpha data (patch 1738966)
Vadim Zeitlin [Wed, 20 Jun 2007 00:10:35 +0000 (00:10 +0000)] 
don't free "static" alpha data (patch 1738966)

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

17 years agomake wxSetEnv compatible with ANSI and Unicode, deprecate passing NULL to it in favou...
Václav Slavík [Tue, 19 Jun 2007 20:02:49 +0000 (20:02 +0000)] 
make wxSetEnv compatible with ANSI and Unicode, deprecate passing NULL to it in favour of wxUnsetEnv()

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

17 years agoadded missing #if wxUSE_STDPATHS
Václav Slavík [Tue, 19 Jun 2007 19:58:56 +0000 (19:58 +0000)] 
added missing #if wxUSE_STDPATHS

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

17 years agoreturn wxString from wxDynamicLibrary::GetDllExt()
Václav Slavík [Tue, 19 Jun 2007 19:29:07 +0000 (19:29 +0000)] 
return wxString from wxDynamicLibrary::GetDllExt()

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

17 years agouse wxString in wxFileSystem::FindFileInPath()
Václav Slavík [Tue, 19 Jun 2007 17:39:27 +0000 (17:39 +0000)] 
use wxString in wxFileSystem::FindFileInPath()

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

17 years agocompilation fix for non-STL build
Václav Slavík [Tue, 19 Jun 2007 16:06:26 +0000 (16:06 +0000)] 
compilation fix for non-STL build

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

17 years agoFinally fixed control scrolling
Julian Smart [Tue, 19 Jun 2007 15:08:13 +0000 (15:08 +0000)] 
Finally fixed control scrolling

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

17 years agowxLog::Get/Settimestamp() now use wxString
Václav Slavík [Tue, 19 Jun 2007 14:51:10 +0000 (14:51 +0000)] 
wxLog::Get/Settimestamp() now use wxString

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

17 years agoreturn wxString from wxTextBuffer::GetName()
Václav Slavík [Tue, 19 Jun 2007 13:54:23 +0000 (13:54 +0000)] 
return wxString from wxTextBuffer::GetName()

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

17 years agochanged wxFFileOutput/InputStream ctor 'mode' argument to wxString
Václav Slavík [Tue, 19 Jun 2007 11:57:48 +0000 (11:57 +0000)] 
changed wxFFileOutput/InputStream ctor 'mode' argument to wxString

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

17 years agochanged wxGLContext::SetColour() argument from wxChar* to wxString
Václav Slavík [Tue, 19 Jun 2007 11:54:36 +0000 (11:54 +0000)] 
changed wxGLContext::SetColour() argument from wxChar* to wxString

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

17 years agomade the code a bit more readable by not using _T() around to-be-generated code snippets
Václav Slavík [Mon, 18 Jun 2007 20:30:20 +0000 (20:30 +0000)] 
made the code a bit more readable by not using _T() around to-be-generated code snippets

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

17 years agomade the code a bit more readable by not using _T() around to-be-generated code snippets
Václav Slavík [Mon, 18 Jun 2007 20:22:08 +0000 (20:22 +0000)] 
made the code a bit more readable by not using _T() around to-be-generated code snippets

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

17 years agoCoerce to floating point to fix ResampleBicubic. See bug #1736953.
Robin Dunn [Mon, 18 Jun 2007 19:39:13 +0000 (19:39 +0000)] 
Coerce to floating point to fix ResampleBicubic.  See bug #1736953.

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

17 years agoSend the calendar and date changed events to the datepicker ctrl first
Robin Dunn [Mon, 18 Jun 2007 19:34:56 +0000 (19:34 +0000)] 
Send the calendar and date changed events to the datepicker ctrl first
(not its parent) so they can be caught by dynamic event handlers
connected directly to the picker.

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

17 years ago Must update iterator to avoid infinite loop
Mattia Barbon [Mon, 18 Jun 2007 19:23:09 +0000 (19:23 +0000)] 
  Must update iterator to avoid infinite loop
in case backend initialization fails.

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

17 years agoimprove XRC loading performance on Unix by avoiding MIME database loading
Václav Slavík [Mon, 18 Jun 2007 18:43:34 +0000 (18:43 +0000)] 
improve XRC loading performance on Unix by avoiding MIME database loading

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

17 years agomake our vsnprintf() implementation work for ANSI version too
Václav Slavík [Mon, 18 Jun 2007 16:14:25 +0000 (16:14 +0000)] 
make our vsnprintf() implementation work for ANSI version too

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

17 years agofixed wxString iterators linked list corruption
Václav Slavík [Mon, 18 Jun 2007 08:55:11 +0000 (08:55 +0000)] 
fixed wxString iterators linked list corruption

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

17 years agogtk_border_free is for freeing GtkBorder's, not g_free.
Mart Raudsepp [Mon, 18 Jun 2007 06:03:50 +0000 (06:03 +0000)] 
gtk_border_free is for freeing GtkBorder's, not g_free.
Using g_free instead used to have no ill effects as gtk_border_free called that anyway, but in gtk+-2.11 GtkBorder
uses GSlice and gtk_border_free therefore uses g_slice_free and using g_free makes things crash hard.
So fix it or wxGTK won't work with the upcoming gtk+-2.12 stable release planned for end of July.

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

17 years agoFix memory leak in wxTextCtrl au_check_word that was triggered only with wxTE_AUTO_UR...
Mart Raudsepp [Mon, 18 Jun 2007 04:54:41 +0000 (04:54 +0000)] 
Fix memory leak in wxTextCtrl au_check_word that was triggered only with wxTE_AUTO_URL style

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

17 years agowhen selecting text in wxHTML, selecting half a character is enough to select it...
Václav Slavík [Sun, 17 Jun 2007 17:52:40 +0000 (17:52 +0000)] 
when selecting text in wxHTML, selecting half a character is enough to select it (patch #1719530; this is standard behaviour when selecting text

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

17 years agofixed selecting part of word from right to left in wxHTML (patch #1719530)
Václav Slavík [Sun, 17 Jun 2007 17:31:09 +0000 (17:31 +0000)] 
fixed selecting part of word from right to left in wxHTML (patch #1719530)

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

17 years ago Linking fix: g_isIdle is for GTK1 only.
Mattia Barbon [Sun, 17 Jun 2007 11:02:03 +0000 (11:02 +0000)] 
  Linking fix: g_isIdle is for GTK1 only.

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

17 years agodetermine wxFSFile's MIME type when wxFSFile::GetMimeType() is called instead of...
Václav Slavík [Sun, 17 Jun 2007 10:59:01 +0000 (10:59 +0000)] 
determine wxFSFile's MIME type when wxFSFile::GetMimeType() is called instead of creating it; this dramatically improves startup times of XRC applications on Unix

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

17 years agodon't make read-only text controls editable when enabled
Václav Slavík [Sun, 17 Jun 2007 09:29:41 +0000 (09:29 +0000)] 
don't make read-only text controls editable when enabled

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

17 years agocorrect setting of pSymbol->SizeOfStruct (patch 1737789)
Vadim Zeitlin [Sun, 17 Jun 2007 00:51:36 +0000 (00:51 +0000)] 
correct setting of pSymbol->SizeOfStruct (patch 1737789)

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

17 years agofix unused parameters warnings
Vadim Zeitlin [Sat, 16 Jun 2007 23:57:25 +0000 (23:57 +0000)] 
fix unused parameters warnings

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

17 years agofixed crash when setting locale
Václav Slavík [Sat, 16 Jun 2007 19:11:40 +0000 (19:11 +0000)] 
fixed crash when setting locale

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

17 years agowxUSE_STL compilation fixes for wxGenericFontDialog
Václav Slavík [Sat, 16 Jun 2007 17:32:09 +0000 (17:32 +0000)] 
wxUSE_STL compilation fixes for wxGenericFontDialog

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

17 years agoremoved code for compatibility with OS X <= 10.2, 10.3 is the minimum since wx-2.8
Václav Slavík [Sat, 16 Jun 2007 17:15:16 +0000 (17:15 +0000)] 
removed code for compatibility with OS X <= 10.2, 10.3 is the minimum since wx-2.8

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

17 years agochanged wxIsxxx() to return bool, not int, to avoid int->bool conversion warnings...
Vadim Zeitlin [Sat, 16 Jun 2007 14:45:01 +0000 (14:45 +0000)] 
changed wxIsxxx() to return bool, not int, to avoid int->bool conversion warnings from VC++

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

17 years agofixed FromUTF8() to accept NULL as well as len==npos; this fixes crashes when loading...
Václav Slavík [Sat, 16 Jun 2007 14:29:52 +0000 (14:29 +0000)] 
fixed FromUTF8() to accept NULL as well as len==npos; this fixes crashes when loading XML files in UTF-8 build with wxUSE_STL=1

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

17 years agoshow the unhandled exceptions in debug build instead of silently eating them
Vadim Zeitlin [Sat, 16 Jun 2007 14:20:16 +0000 (14:20 +0000)] 
show the unhandled exceptions in debug build instead of silently eating them

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

17 years agoreplace wxDocument::GetPrintableName(wxString&) and wxDocManager::MakeDefaultName...
Vadim Zeitlin [Sat, 16 Jun 2007 12:49:56 +0000 (12:49 +0000)] 
replace wxDocument::GetPrintableName(wxString&) and wxDocManager::MakeDefaultName(wxString&) with GetUserReadableName() and MakeNewDocumentName() which return wxStrings directly

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

17 years agoalways compile at least a minimal version of wxStandardPaths class, it's used too...
Václav Slavík [Fri, 15 Jun 2007 15:21:57 +0000 (15:21 +0000)] 
always compile at least a minimal version of wxStandardPaths class, it's used too often

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

17 years agouse char* instead of wxChar* for XRC IDs to save space; GetXRCID() takes wxString...
Václav Slavík [Fri, 15 Jun 2007 15:12:51 +0000 (15:12 +0000)] 
use char* instead of wxChar* for XRC IDs to save space; GetXRCID() takes wxString argument

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

17 years agoadded wxDEPRECATED_BUT_USED_INTERNALLY macro and use it for the old wxLog::DoLog...
Vadim Zeitlin [Fri, 15 Jun 2007 15:08:51 +0000 (15:08 +0000)] 
added wxDEPRECATED_BUT_USED_INTERNALLY macro and use it for the old wxLog::DoLog() overloads

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

17 years agodocumented WXUSING/MAKINGDLL
Vadim Zeitlin [Fri, 15 Jun 2007 14:13:00 +0000 (14:13 +0000)] 
documented WXUSING/MAKINGDLL

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

17 years agodocumented __WXDFB__ and __WXGTK2n__
Vadim Zeitlin [Fri, 15 Jun 2007 13:38:21 +0000 (13:38 +0000)] 
documented __WXDFB__ and __WXGTK2n__

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

17 years ago Committing in .
Jouk Jansen [Fri, 15 Jun 2007 12:52:25 +0000 (12:52 +0000)] 
 Committing in .

 Changes to make OpenVMS compile WX

 Modified Files:
  wxWidgets/include/wx/wxcrt.h wxWidgets/include/wx/wxcrtbase.h
  wxWidgets/src/common/wxcrt.cpp

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

17 years agodon't put invalid UTF-8 data into wxString if Printf() fails in UTF-8 build
Václav Slavík [Fri, 15 Jun 2007 11:26:29 +0000 (11:26 +0000)] 
don't put invalid UTF-8 data into wxString if Printf() fails in UTF-8 build

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

17 years ago(blind) compilation fix
Václav Slavík [Fri, 15 Jun 2007 09:57:57 +0000 (09:57 +0000)] 
(blind) compilation fix

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

17 years agocorrected strptime() test, don't use NULL pointer as this crashes under Darwin
Vadim Zeitlin [Fri, 15 Jun 2007 00:29:54 +0000 (00:29 +0000)] 
corrected strptime() test, don't use NULL pointer as this crashes under Darwin

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

17 years agotypo fix
Paul Cornett [Thu, 14 Jun 2007 06:34:39 +0000 (06:34 +0000)] 
typo fix

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

17 years agoremove gtk1 code
Paul Cornett [Thu, 14 Jun 2007 05:56:47 +0000 (05:56 +0000)] 
remove gtk1 code

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

17 years agofixed wxComboBox::Replace() to correctly use UTF-8 string even in ANSI build and...
Václav Slavík [Thu, 14 Jun 2007 05:54:26 +0000 (05:54 +0000)] 
fixed wxComboBox::Replace() to correctly use UTF-8 string even in ANSI build and to compile with wxUSE_STL=1

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

17 years agocheck if strptime() works correctly and disable its use if it doesn't
Vadim Zeitlin [Thu, 14 Jun 2007 00:56:35 +0000 (00:56 +0000)] 
check if strptime() works correctly and disable its use if it doesn't

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

17 years agoprefer wxFFile to wxFile if both are available, for better performance (see bug ...
Václav Slavík [Wed, 13 Jun 2007 20:49:27 +0000 (20:49 +0000)] 
prefer wxFFile to wxFile if both are available, for better performance (see bug #1736365)

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

17 years agomake wxFrame a wxControlContainer too, so that it behaves in the same way as wxDialog
Václav Slavík [Wed, 13 Jun 2007 16:29:23 +0000 (16:29 +0000)] 
make wxFrame a wxControlContainer too, so that it behaves in the same way as wxDialog

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

17 years agodon't propagate wxChildFocusEvent outside of wxTLWs
Václav Slavík [Wed, 13 Jun 2007 15:35:57 +0000 (15:35 +0000)] 
don't propagate wxChildFocusEvent outside of wxTLWs

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

17 years agooverload wxStrpbrk() for more types and add tests for it
Vadim Zeitlin [Wed, 13 Jun 2007 15:31:09 +0000 (15:31 +0000)] 
overload wxStrpbrk() for more types and add tests for it

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

17 years agoremoved redundant #include <dynarray.h>
Václav Slavík [Wed, 13 Jun 2007 15:09:41 +0000 (15:09 +0000)] 
removed redundant #include <dynarray.h>

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

17 years agouse CPPUNIT_ASSERT_EQUAL instead of CPPUNIT_ASSERT as this gives more detailed inform...
Vadim Zeitlin [Wed, 13 Jun 2007 14:29:02 +0000 (14:29 +0000)] 
use CPPUNIT_ASSERT_EQUAL instead of CPPUNIT_ASSERT as this gives more detailed information in case of a test failure

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

17 years agostrWC used in the tests was supposed to be a wide string, not a narrow one
Vadim Zeitlin [Wed, 13 Jun 2007 14:21:40 +0000 (14:21 +0000)] 
strWC used in the tests was supposed to be a wide string, not a narrow one

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

17 years agoUnicode compilation fix: wxStrlocale() doesn't take wide strings
Vadim Zeitlin [Wed, 13 Jun 2007 14:19:24 +0000 (14:19 +0000)] 
Unicode compilation fix: wxStrlocale() doesn't take wide strings

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

17 years agoadded wxNullPtr and use it instead of just 0 with wxFileTypeInfo vararg ctor to fix...
Vadim Zeitlin [Wed, 13 Jun 2007 11:32:44 +0000 (11:32 +0000)] 
added wxNullPtr and use it instead of just 0 with wxFileTypeInfo vararg ctor to fix crashes under 64 bit architectures

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

17 years agoadded missing #includes
Václav Slavík [Wed, 13 Jun 2007 10:52:10 +0000 (10:52 +0000)] 
added missing #includes

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

17 years agouse wxString in wxDateTime methods (only partially done)
Václav Slavík [Tue, 12 Jun 2007 18:41:27 +0000 (18:41 +0000)] 
use wxString in wxDateTime methods (only partially done)

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

17 years agowxUSE_UNICODE_MSLU compilation fix
Václav Slavík [Tue, 12 Jun 2007 17:08:23 +0000 (17:08 +0000)] 
wxUSE_UNICODE_MSLU compilation fix

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

17 years ago Updates for VMS
Jouk Jansen [Tue, 12 Jun 2007 13:32:33 +0000 (13:32 +0000)] 
  Updates for VMS
 Modified Files:
  setup.h_vms

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

17 years agoupdate from Yuri Chornoivan
Vadim Zeitlin [Tue, 12 Jun 2007 12:08:35 +0000 (12:08 +0000)] 
update from Yuri Chornoivan

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

17 years agomore STL fixes
Václav Slavík [Tue, 12 Jun 2007 11:21:58 +0000 (11:21 +0000)] 
more STL fixes

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

17 years agoANSI/Unix build compilation fixes
Václav Slavík [Tue, 12 Jun 2007 10:11:55 +0000 (10:11 +0000)] 
ANSI/Unix build compilation fixes

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

17 years agoPCH-less compilation fix
Václav Slavík [Tue, 12 Jun 2007 06:43:59 +0000 (06:43 +0000)] 
PCH-less compilation fix

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

17 years agofixed VC6 warnings about non-dllexported members in dllexported classes
Václav Slavík [Mon, 11 Jun 2007 19:59:11 +0000 (19:59 +0000)] 
fixed VC6 warnings about non-dllexported members in dllexported classes

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

17 years agocompilation fix for gcc 3.3
Václav Slavík [Mon, 11 Jun 2007 19:57:01 +0000 (19:57 +0000)] 
compilation fix for gcc 3.3

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

17 years agoAdded a new overload of wxDecToHex and used it in wxRichTextImageBlock::WriteHex
Julian Smart [Mon, 11 Jun 2007 17:16:59 +0000 (17:16 +0000)] 
Added a new overload of wxDecToHex and used it in wxRichTextImageBlock::WriteHex

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

17 years agoadded long int operators to wxUniChar (fixes wxMac compilation)
Václav Slavík [Mon, 11 Jun 2007 12:16:14 +0000 (12:16 +0000)] 
added long int operators to wxUniChar (fixes wxMac compilation)

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

17 years agouse wxString argument and not wxChar* in wxHtmlParser::AddText(), for compatibility...
Václav Slavík [Mon, 11 Jun 2007 12:11:15 +0000 (12:11 +0000)] 
use wxString argument and not wxChar* in wxHtmlParser::AddText(), for compatibility with STL build without implicit wxString conversions

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