]>
git.saurik.com Git - wxWidgets.git/log
Francesco Montorsi [Sun, 9 Nov 2008 16:49:52 +0000 (16:49 +0000)]
fix VC6 broken for variable scope handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56721
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sun, 9 Nov 2008 16:46:52 +0000 (16:46 +0000)]
ifacecheck manual fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56720
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sun, 9 Nov 2008 16:44:56 +0000 (16:44 +0000)]
use wxEventType coherently with the docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56719
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sun, 9 Nov 2008 16:30:50 +0000 (16:30 +0000)]
more intelligence to avoid false warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56718
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sun, 9 Nov 2008 15:36:36 +0000 (15:36 +0000)]
fix VC6 builds by removing variadic macros; use standard wxLogXXX functions instead, together with a new wxLog-derived target to print everything on stdout
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56717
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sun, 9 Nov 2008 15:20:49 +0000 (15:20 +0000)]
fix typo: s/SetTimestamp/DisableTimestamp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56716
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 9 Nov 2008 12:34:21 +0000 (12:34 +0000)]
use global operator new to fix compilation errors if type T overloads new (as wxObject does with wxUSE_MEMORY_TRACING)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56714
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sun, 9 Nov 2008 11:33:12 +0000 (11:33 +0000)]
another wxFont OS2 blind build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56713
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 8 Nov 2008 22:41:10 +0000 (22:41 +0000)]
fix race condition which could result in assert failures in debug builds and infinite loops in release (#9094)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56712
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sat, 8 Nov 2008 15:25:07 +0000 (15:25 +0000)]
ifacecheck fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56708
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sat, 8 Nov 2008 15:17:16 +0000 (15:17 +0000)]
ifacecheck fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56707
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sat, 8 Nov 2008 15:01:00 +0000 (15:01 +0000)]
use wxFrameNameStr where possible instead of 'frame' string (for coherence with all other wxWidgets frame classes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56705
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sat, 8 Nov 2008 14:38:36 +0000 (14:38 +0000)]
generate the output gcc XML file always in the same folder where 'rungccxml.sh' script is placed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56704
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sat, 8 Nov 2008 14:04:27 +0000 (14:04 +0000)]
do not halt gccXML because wxUSE_ACCESSIBILITY, even if it's being used under linux
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56703
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sat, 8 Nov 2008 12:56:32 +0000 (12:56 +0000)]
blind fix based on buildbot logs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56702
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 8 Nov 2008 00:06:34 +0000 (00:06 +0000)]
release the mouse in wxGrid dtor to avoid asserts when the grid is destroyed during e.g. a cell selection operation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56701
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 7 Nov 2008 22:50:33 +0000 (22:50 +0000)]
Finnish translations update from Elias Julkunen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56698
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Fri, 7 Nov 2008 19:07:33 +0000 (19:07 +0000)]
fix build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56696
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Bryan Petty [Fri, 7 Nov 2008 00:47:35 +0000 (00:47 +0000)]
Prevent activation of the AUI hint window (mini frame) on Mac.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56695
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 6 Nov 2008 23:31:26 +0000 (23:31 +0000)]
check for NULL pointer in IsExtensionInList()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56692
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Thu, 6 Nov 2008 18:05:09 +0000 (18:05 +0000)]
Removed property editor validation failure assertions when implicitly clearing selection. Added relevant notes into documentation of member functions that previously asserted.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56690
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Michael Wetherell [Thu, 6 Nov 2008 12:15:31 +0000 (12:15 +0000)]
Temporarily disable the email notifications as we're getting false ones from
the Windows slave.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56688
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jouk Jansen [Thu, 6 Nov 2008 08:12:48 +0000 (08:12 +0000)]
changing depricated font-family enums into current ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56687
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 5 Nov 2008 15:27:34 +0000 (15:27 +0000)]
document wxRESIZE_BORDER side effect under Windows (see #9989)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56684
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jouk Jansen [Wed, 5 Nov 2008 12:35:43 +0000 (12:35 +0000)]
inserting generic mdi for OpenVMS Motif support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56683
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jouk Jansen [Wed, 5 Nov 2008 12:27:08 +0000 (12:27 +0000)]
romoving motif-mdi for OpenVMS compile support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56682
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 5 Nov 2008 10:08:19 +0000 (10:08 +0000)]
add command line options for displaying the test name and time taken by them (closes #10156)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56681
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 5 Nov 2008 10:01:45 +0000 (10:01 +0000)]
remove Motif MDI files not used any longer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56680
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 4 Nov 2008 12:15:24 +0000 (12:15 +0000)]
disable the test under Windows as it hangs and prevents buildbot from working
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56678
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 4 Nov 2008 12:11:30 +0000 (12:11 +0000)]
include wx/menu.h as we delete wxMenu pointer in this header (and creating a separate .cpp file just to move the code doing it there seems impractical)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56677
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 4 Nov 2008 02:46:19 +0000 (02:46 +0000)]
Review/simplify/cleanup MDI classes for all platforms and introduce base
classes for wxMDI{Parent,Child}Frame and wxMDIClientWindow.
Also use generic MDI implementation for wxMotif as it seems to be more
functional and definitely is more maintained (we probably should use the
generic version for wxGTK too).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56674
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 4 Nov 2008 01:42:33 +0000 (01:42 +0000)]
fix wxXPMDataHandler silently broken by long->wxBitmapType change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56673
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 3 Nov 2008 22:58:45 +0000 (22:58 +0000)]
added wxrc to the makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56672
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 3 Nov 2008 21:55:03 +0000 (21:55 +0000)]
include richtext library in BUILT_WX_LIBS (in particular so that it appears in 'wx-config --libs all' output) if it's being built
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56671
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Mon, 3 Nov 2008 19:32:23 +0000 (19:32 +0000)]
build fix (the sample uses an undocumented function of wxFont)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56670
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Mon, 3 Nov 2008 18:50:41 +0000 (18:50 +0000)]
build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56669
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Mon, 3 Nov 2008 18:24:05 +0000 (18:24 +0000)]
build fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56668
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Mon, 3 Nov 2008 18:15:03 +0000 (18:15 +0000)]
build fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56667
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 3 Nov 2008 17:24:51 +0000 (17:24 +0000)]
don't crash trying to draw buttons with invalid bitmaps (the real fix would be to avoid adding them to the toolbar in the first place, of course...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56666
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 3 Nov 2008 17:10:21 +0000 (17:10 +0000)]
fix (harmless) unused variable warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56665
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Mon, 3 Nov 2008 17:02:25 +0000 (17:02 +0000)]
fix the incoherence pointed out by ifacecheck between wx docs, that documents usage of the wxFontFamily, wxFontStyle and wxFontWeight enums in wxFont setters and getters, and the actual sources, which use 'int' instead; provided the same backward-compatibility pattern already used for wxBrush,wxPen both against 'int' overloads and against the wxDeprecatedGUIConstants enum values
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56664
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Mon, 3 Nov 2008 17:02:04 +0000 (17:02 +0000)]
Moved Get/SetPropertyText/BackgroundColour() member functions from wxPropertyGrid to wxPropertyGridInterface
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56663
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Mon, 3 Nov 2008 14:37:14 +0000 (14:37 +0000)]
remaining h* interface header revision
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56662
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 3 Nov 2008 13:36:08 +0000 (13:36 +0000)]
define wxHAS_CONFIG_TEMPLATE_RW if template wxConfig::Read/Write() are available; use it to exclude the calls to these functions from the test to fix VC6 compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56661
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 3 Nov 2008 12:47:56 +0000 (12:47 +0000)]
wx/tls.h belongs to base headers, not core (#10148)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56660
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 3 Nov 2008 12:44:07 +0000 (12:44 +0000)]
define operator<<(wxLongLong_t) for VC6 whether wxUSE_STD_IOSTREAM is 0 or 1 (fixes test compilation in the latter case)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56659
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Mon, 3 Nov 2008 11:57:07 +0000 (11:57 +0000)]
fixed doxygen warnings produced by the ifacecheck fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56658
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 3 Nov 2008 01:11:59 +0000 (01:11 +0000)]
blind fix for yet another VC6 compilation error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56657
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 3 Nov 2008 00:31:16 +0000 (00:31 +0000)]
really fix VC6 compilation of all testsi (without breaking VC9)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56656
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 2 Nov 2008 22:30:16 +0000 (22:30 +0000)]
undo the previous change, it's not needed any more now that we overload assertEquals(int,long) too and it broke VC6 compilation again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56652
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sun, 2 Nov 2008 22:16:14 +0000 (22:16 +0000)]
declare all NameStr[] strings as const char using the correct WXDLLIMPEXP_DATA_ macros; in the process, change wxPropGrid window classes to take 'const wxString& name' arguments instead of 'const wxChar *name'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56651
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Sun, 2 Nov 2008 19:13:54 +0000 (19:13 +0000)]
make sure virtual method isn't inlined away
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56650
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 2 Nov 2008 02:43:11 +0000 (02:43 +0000)]
replace wx_{const,static,reinterpret}_cast with their standard C++ equivalents
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56645
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 2 Nov 2008 02:39:52 +0000 (02:39 +0000)]
replace wx_{const,static,reinterpret}_cast with their standard C++ equivalents
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56644
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 2 Nov 2008 02:34:12 +0000 (02:34 +0000)]
add yet another overload of assertEquals to fix another compilation error due to using different types inside CPPUNIT_ASSERT_EQUAL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56643
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 2 Nov 2008 02:16:32 +0000 (02:16 +0000)]
remove tests for bool and {const,static,reinterpret}_cast in configure and wx/defs.h, all supported compilers have them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56642
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 2 Nov 2008 02:16:09 +0000 (02:16 +0000)]
remove tests for bool and {const,static,reinterpret}_cast in configure and wx/defs.h, all supported compilers have them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56641
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 2 Nov 2008 01:59:34 +0000 (01:59 +0000)]
explicitly cast wxUniCharRef to char inside CPPUNIT_ASSERT_EQUAL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56640
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 2 Nov 2008 01:58:14 +0000 (01:58 +0000)]
added propgrid sources
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56639
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 2 Nov 2008 01:48:36 +0000 (01:48 +0000)]
resolve the DLL linking problems with MSVC due to use of static variables of template types by replacing them by a non-template unique untypedNullDataPtr
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56638
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 2 Nov 2008 01:43:55 +0000 (01:43 +0000)]
fix (justified) warnings about potential use of uninitialized variable in wxTCPEventHandler::Client_OnRequest()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56637
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 2 Nov 2008 01:11:17 +0000 (01:11 +0000)]
g++ compilation fix after latest changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56636
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 2 Nov 2008 00:52:41 +0000 (00:52 +0000)]
add assertEquals(int,unsigned short) overload to resolve the ambiguity resulting in tests comparing unsigned short with literal integer constants now that we have both assertEqals(int,unsigned int) and assertEquals(int, unsigned long) to satisfy VC6
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56635
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Sat, 1 Nov 2008 18:40:29 +0000 (18:40 +0000)]
In composed string values, entry for last children was often omitted if it was empty (and possibly unspecified, fixes wxPG sf bug #
2197916 )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56631
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 1 Nov 2008 18:05:59 +0000 (18:05 +0000)]
yet another compilation fix, this time for VC9
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56630
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Sat, 1 Nov 2008 17:09:34 +0000 (17:09 +0000)]
It was not possible to set value of unspecified child by editing parent's composite string (fixes wxPG sf bug #
2186553 )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56629
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Sat, 1 Nov 2008 16:49:32 +0000 (16:49 +0000)]
Fix various warnings that only appear for release builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56628
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 31 Oct 2008 23:07:49 +0000 (23:07 +0000)]
fix another MSVC /Wp64 warning about size_t to int conversion (closes #10140)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56623
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Fri, 31 Oct 2008 18:53:37 +0000 (18:53 +0000)]
Reworked wxPGCell. It is now reference counted, and therefore much more user friendly, and is used internally as basis for most property colour values instead of separate row text and bg colours.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56622
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 31 Oct 2008 17:14:12 +0000 (17:14 +0000)]
fix MSVC /Wp64 warning about size_t to int conversion (closes #10068)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56621
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 31 Oct 2008 13:07:42 +0000 (13:07 +0000)]
fix compilation without wxUSE_FILESYSTEM (closes #10114)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56620
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Fri, 31 Oct 2008 10:06:19 +0000 (10:06 +0000)]
wxTLW: don't assert when setting null icons initially (#10138)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56619
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Fri, 31 Oct 2008 09:41:47 +0000 (09:41 +0000)]
fix toolbar buttons so that they don't disappear temporarily when clicked if the event handler causes window update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56617
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Fri, 31 Oct 2008 05:25:59 +0000 (05:25 +0000)]
make sure update UI handlers are called for accelerators, #10130
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56616
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 31 Oct 2008 02:06:25 +0000 (02:06 +0000)]
grid sample doesn't need neither html nor xml library
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56607
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Bryan Petty [Fri, 31 Oct 2008 01:22:58 +0000 (01:22 +0000)]
Reviewed some g* interface headers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56606
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 30 Oct 2008 23:23:07 +0000 (23:23 +0000)]
disable a correct test which VC6 just doesn't want to grok (hopefully last buildbot error?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56604
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 30 Oct 2008 23:22:10 +0000 (23:22 +0000)]
for some reason having int/size_t assertEquals() overload is not always enough for VC6, so provide both unsigned int/long overloads instead and rely on size_t being one of them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56603
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 30 Oct 2008 23:04:29 +0000 (23:04 +0000)]
fix linking problems due to MSVC implicitly considering template classes specializations used as base classes DLL-exported even though it doesn't actually export them when building the DLL (with or without explicit declspec(dllexport)); also replace wxCharTypeBuffer::NullData with a static function to allow not DLL-exporting this class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56602
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 30 Oct 2008 16:54:41 +0000 (16:54 +0000)]
attempting to fix VC6 compilation error from buildbot logs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56601
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 30 Oct 2008 15:57:18 +0000 (15:57 +0000)]
don't use WXDLLIMPEXP_BASE with wx[Sorted]Array_SortFunction, this results in link errors with VC[89] when building a DLL and shouldn't be necessary with any other compilers neither as these classes have only inline methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56600
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Thu, 30 Oct 2008 11:22:31 +0000 (11:22 +0000)]
must close output file before reading back from it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56599
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Thu, 30 Oct 2008 11:16:22 +0000 (11:16 +0000)]
set WARN_IF_UNDOCUMENTED to YES; it doesn't introduce new warnings for now but could in future
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56598
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Thu, 30 Oct 2008 11:15:08 +0000 (11:15 +0000)]
fix typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56597
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Thu, 30 Oct 2008 11:14:46 +0000 (11:14 +0000)]
modernized
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56596
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Thu, 30 Oct 2008 11:11:00 +0000 (11:11 +0000)]
fixed missing semicolons, as reported by check_syntax.sh
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56595
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Thu, 30 Oct 2008 11:06:06 +0000 (11:06 +0000)]
added a simple script to detect interface headers with missing semicolons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56594
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Thu, 30 Oct 2008 10:53:56 +0000 (10:53 +0000)]
typo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56593
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Thu, 30 Oct 2008 10:39:54 +0000 (10:39 +0000)]
fixed the error '& may not appear in macro parameter list' reported by running gcc preprocessor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56592
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Thu, 30 Oct 2008 10:32:10 +0000 (10:32 +0000)]
fixed the error 'macro parameters must be comma-separated' reported by running gcc preprocessor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56591
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Thu, 30 Oct 2008 07:24:36 +0000 (07:24 +0000)]
wxHTML: don't include extra whitespace in table cells
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56589
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 30 Oct 2008 00:32:24 +0000 (00:32 +0000)]
VC6 compilation fix after last change (thanks buildbot)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56588
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Wed, 29 Oct 2008 18:58:43 +0000 (18:58 +0000)]
enable all compat symbols when using gccxml
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56587
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Wed, 29 Oct 2008 18:58:21 +0000 (18:58 +0000)]
s/FALSE/false
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56586
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Wed, 29 Oct 2008 18:55:57 +0000 (18:55 +0000)]
moved to appropriate 'protected' sections all functions wrongly placed in 'public' sections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56585
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 29 Oct 2008 16:45:55 +0000 (16:45 +0000)]
use buffered streams to reduce the number of TCP packets used per IPC command from up to 7 to 1 for reasonably sized payloads, this dramatically (by 150 times for the IPC benchmark on a LAN) increases performance; also centralize all the streams used in a single wxIPCSocketStreams class and allocate only it on the heap instead of doing it for all of the streams
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56584
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 29 Oct 2008 16:42:45 +0000 (16:42 +0000)]
provide ctors allowing to specify the non-default buffer size for buffered streams and wxStreamBuffer itself
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56583
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Wed, 29 Oct 2008 16:30:50 +0000 (16:30 +0000)]
a few other means to avoid false positives
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56582
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 29 Oct 2008 16:23:25 +0000 (16:23 +0000)]
added wxDocument::AlreadySaved() and use it in OnUpdateFileSave() to ensure that the "Save" menu item is enabled for new documents, even although they're not modified yet (otherwise the standard Ctrl-S key doesn't work in this case which is pretty annoying)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56581
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 29 Oct 2008 16:15:03 +0000 (16:15 +0000)]
document wxDocument::GetDocumentSaved()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56580
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775