Francesco Montorsi
|
9817be8a86
|
build fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-03 18:24:05 +00:00 |
|
Francesco Montorsi
|
0c14b6c324
|
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
|
2008-11-03 17:02:25 +00:00 |
|
Jaakko Salli
|
e2ca659906
|
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
|
2008-11-03 17:02:04 +00:00 |
|
Vadim Zeitlin
|
f9bb777f88
|
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
|
2008-11-03 13:36:08 +00:00 |
|
Vadim Zeitlin
|
55d9f029b6
|
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
|
2008-11-03 12:44:07 +00:00 |
|
Vadim Zeitlin
|
527587d347
|
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
|
2008-11-03 00:31:16 +00:00 |
|
Francesco Montorsi
|
23318a5358
|
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
|
2008-11-02 22:16:14 +00:00 |
|
Stefan Csomor
|
74cc3ec18e
|
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
|
2008-11-02 19:13:54 +00:00 |
|
Vadim Zeitlin
|
5c33522fca
|
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
|
2008-11-02 02:39:52 +00:00 |
|
Vadim Zeitlin
|
6fc905e0e1
|
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
|
2008-11-02 02:34:12 +00:00 |
|
Vadim Zeitlin
|
4c1d5d5ae2
|
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
|
2008-11-02 02:16:09 +00:00 |
|
Vadim Zeitlin
|
4e79262f78
|
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
|
2008-11-02 01:48:36 +00:00 |
|
Vadim Zeitlin
|
2e9abe9e35
|
g++ compilation fix after latest changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-02 01:11:17 +00:00 |
|
Vadim Zeitlin
|
3896f1cc5f
|
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
|
2008-11-02 00:52:41 +00:00 |
|
Vadim Zeitlin
|
e79d4945d7
|
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
|
2008-10-31 23:07:49 +00:00 |
|
Jaakko Salli
|
d7e2b52235
|
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
|
2008-10-31 18:53:37 +00:00 |
|
Vadim Zeitlin
|
42632bcee1
|
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
|
2008-10-31 17:14:12 +00:00 |
|
Vadim Zeitlin
|
08e827d82d
|
fix compilation without wxUSE_FILESYSTEM (closes #10114)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-31 13:07:42 +00:00 |
|
Vadim Zeitlin
|
0fbfcdd068
|
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
|
2008-10-30 23:22:10 +00:00 |
|
Vadim Zeitlin
|
6b583d40a8
|
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
|
2008-10-30 23:04:29 +00:00 |
|
Vadim Zeitlin
|
638205e547
|
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
|
2008-10-30 15:57:18 +00:00 |
|
Francesco Montorsi
|
b56d1061bb
|
enable all compat symbols when using gccxml
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-29 18:58:43 +00:00 |
|
Francesco Montorsi
|
18e9c453ef
|
s/FALSE/false
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-29 18:58:21 +00:00 |
|
Vadim Zeitlin
|
8aea37a9df
|
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
|
2008-10-29 16:45:55 +00:00 |
|
Vadim Zeitlin
|
f42c1512dd
|
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
|
2008-10-29 16:42:45 +00:00 |
|
Vadim Zeitlin
|
de56f24082
|
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
|
2008-10-29 16:23:25 +00:00 |
|
Vadim Zeitlin
|
d7b3a73d07
|
document wxDocument::GetDocumentSaved()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-29 16:15:03 +00:00 |
|
Francesco Montorsi
|
56454c1513
|
fixed a missing ampersand
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-28 15:34:46 +00:00 |
|
Francesco Montorsi
|
a805142d93
|
move wxVListBoxNameStr into vlbox.cpp source file (as for all other wxWidgets *NameStr
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-28 15:03:37 +00:00 |
|
Francesco Montorsi
|
303c6f20d2
|
make IsKindOf() taking a const wxClassInfo* instead of a wxClassInfo*, just like the homonym method in wxClassInfo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-28 14:54:40 +00:00 |
|
Vadim Zeitlin
|
7e73fb9c99
|
no real changes, just reformat before starting really modifying
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-28 00:02:38 +00:00 |
|
Vadim Zeitlin
|
9eb2347dc3
|
disable workaround for lack of alpha support in native static bitmap control for WinCE, apparently it breaks the display (#10093)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-27 18:15:19 +00:00 |
|
Jaakko Salli
|
c724444f7e
|
Added similar assignment operator as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-27 16:50:45 +00:00 |
|
Jaakko Salli
|
1d882226f5
|
Added wxPropertyGridConstIterator(const wxPropertyGridIterator&) copy ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-27 16:47:35 +00:00 |
|
Vadim Zeitlin
|
e7d3d27dce
|
fix handling of errors in wxConditionInternal::Wait() and WaitTimeout() (#10111)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-27 16:46:43 +00:00 |
|
Jaakko Salli
|
cfcc02a8a4
|
Removed dummy wxFont == operator implementation (IIRC was needed to compile with some old version of wx)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-27 16:26:46 +00:00 |
|
Robert Roebling
|
36a845fe5b
|
Added method to disable focus_out handling temporarily
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-27 14:02:54 +00:00 |
|
Vadim Zeitlin
|
074574b4a6
|
compilation fix for operator=() with DMC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-22 23:14:48 +00:00 |
|
Jaakko Salli
|
78f2d746a0
|
Merged wxBaseEnumPropertyClass (intermediate property class with obsolete purpose) to wxEnumPropertyClass
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-22 15:23:07 +00:00 |
|
Robert Roebling
|
788432e343
|
Correct TAB handling for generic wxDataViewCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-21 19:10:25 +00:00 |
|
Jaakko Salli
|
98c0463399
|
Removed deprecated functions wxPGChoices::HasValue(), HasValues()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-21 15:17:06 +00:00 |
|
Jaakko Salli
|
f275b5dbfd
|
User should no longer be able to modify disabled or read only child properties by editing their parent (wxPG sf bug #2181860)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-20 17:01:17 +00:00 |
|
Jouk Jansen
|
e3c80a1dd9
|
gtk1.x has less native functions than gtk2.x
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-20 14:12:40 +00:00 |
|
Vadim Zeitlin
|
dd639a4f27
|
a couple of more left over Borland unused variable/code warnings fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-20 10:52:17 +00:00 |
|
Vadim Zeitlin
|
e822d1bd5f
|
fix more Borland release build warnings about unused variable/code without effect
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-20 10:30:49 +00:00 |
|
Vadim Zeitlin
|
3232da9d90
|
work around Borland compilation errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-20 09:00:19 +00:00 |
|
Vadim Zeitlin
|
ddc7f0c975
|
fix virtual function hiding warnings introduced to changing wxSockAddress argument of Connect() to be passed by const reference
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-20 08:59:45 +00:00 |
|
Stefan Neis
|
ac10ea91c9
|
Compilation fix for gcc-4 and newer.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-20 06:55:10 +00:00 |
|
Stefan Neis
|
3b644e9889
|
Compilation fix for gcc-4 and newer.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-19 12:34:13 +00:00 |
|
Jaakko Salli
|
404b9c623a
|
Changed argument of wxPropertyGrid::OnCustomEditorEvent() from wxCommandEvent to wxEvent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-19 11:48:49 +00:00 |
|