]>
git.saurik.com Git - wxWidgets.git/log
Vadim Zeitlin [Fri, 22 Jun 2007 18:09:03 +0000 (18:09 +0000)]
suppress virtual function hiding warnings due to the existence of several DoLog() and DoLogString() overloads of which only one is overridden
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46646
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 22 Jun 2007 18:08:09 +0000 (18:08 +0000)]
regenerated after today's changes, it should now handle Sun CC under Linux correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46645
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 22 Jun 2007 18:06:12 +0000 (18:06 +0000)]
remove -mt and/or -pthread when mixing Sun CC and gcc once at the end instead of doing it several times in the middle as these options can appear in pkg-config output for just about anything
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46644
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 22 Jun 2007 17:23:54 +0000 (17:23 +0000)]
use -R instead of -Wl,-rpath with Sun CC under Linux too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46643
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 22 Jun 2007 17:17:30 +0000 (17:17 +0000)]
fixed defining FOOCXX symbols (was broken because AC_LANG_POP was done too soon and so variable name for C and not C++ was wrongly used); changed mwcc and xlc detection to use the common macro instead of duplicating it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46641
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 22 Jun 2007 17:15:33 +0000 (17:15 +0000)]
added support for using Sun CC to link shared libraries under Linux too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46640
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 22 Jun 2007 17:09:18 +0000 (17:09 +0000)]
fix Sun CC warnings about converting literal strings to non-const char *
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46639
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 22 Jun 2007 15:11:27 +0000 (15:11 +0000)]
suppress Sun CC warnings about casting between C++ and extern C function pointers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46634
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 22 Jun 2007 14:52:37 +0000 (14:52 +0000)]
fix Sun CC warning about name clash between the method parameters and member variables argc/argv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46633
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 22 Jun 2007 14:48:28 +0000 (14:48 +0000)]
better Sun CC fix: put the function in anonymous namespace instead of making it global
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46632
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 22 Jun 2007 14:46:37 +0000 (14:46 +0000)]
Sun CC doesn't allow calling static function from template instantiations so rename ConvertStringToBuf() to wxInternalConvertStringToBuf() and make it extern
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46631
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 22 Jun 2007 14:25:10 +0000 (14:25 +0000)]
test for Sun CC under Linux too, and not only Solaris (mirrors the change in bakefile)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46630
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 22 Jun 2007 14:22:05 +0000 (14:22 +0000)]
don't redefine __WCHAR_TYPE__ when using Sun CC if it's already defined (as is the case at least under Linux)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46629
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 22 Jun 2007 13:59:48 +0000 (13:59 +0000)]
Sun CC (at least version 5.9) has wint_t as a separate type too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46628
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 22 Jun 2007 13:58:05 +0000 (13:58 +0000)]
fix __SUNCC__ definition; added wxCHECK_SUNCC_VERSION
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46627
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Fri, 22 Jun 2007 13:55:42 +0000 (13:55 +0000)]
PCH-less compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46626
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Fri, 22 Jun 2007 12:56:19 +0000 (12:56 +0000)]
added documentantion for wxMemoryFSHandler::AddFileWithMimeType()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46622
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Fri, 22 Jun 2007 12:34:38 +0000 (12:34 +0000)]
made wxUSE_UNICODE=1 the default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46621
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Fri, 22 Jun 2007 12:34:03 +0000 (12:34 +0000)]
Forgot this part of the event change patch from 2_8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46620
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Fri, 22 Jun 2007 12:30:51 +0000 (12:30 +0000)]
wxUSE_STL compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46619
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Fri, 22 Jun 2007 12:28:59 +0000 (12:28 +0000)]
normalize printf/scanf format strings correctly on all platforms, while accounting for wxArgNormalizer<T> conversions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46618
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Fri, 22 Jun 2007 12:26:48 +0000 (12:26 +0000)]
Upport: Always use GdkPixbuf in wxBitmapButton
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46617
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Fri, 22 Jun 2007 11:12:21 +0000 (11:12 +0000)]
have only one string form of operator<< in output streams
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46613
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Fri, 22 Jun 2007 11:10:36 +0000 (11:10 +0000)]
normalize printf/scanf format strings correctly on all platforms, while accounting for wxArgNormalizer<T> conversions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46612
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Fri, 22 Jun 2007 10:53:42 +0000 (10:53 +0000)]
Upported event filter patch for wxTextCtrl::SetValue()
(work around doesn't work anymore with recent versions
of GTK+).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46611
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Fri, 22 Jun 2007 10:11:47 +0000 (10:11 +0000)]
Correct gridlines drawing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46609
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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