Vadim Zeitlin
ff55f8377b
use int instead of SOCKET to avoid including winsock.h from wx/gsocket.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-23 12:18:08 +00:00
Jaakko Salli
b0996c3da0
Eliminate need to call Connect() in wxPGEditor::CreateControls()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-23 11:00:40 +00:00
Vadim Zeitlin
40e7c0b913
compilation fixes for Unix after moving wxFD_XXX macros from wx/unix/private.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-23 01:52:20 +00:00
Vadim Zeitlin
eb97543d28
don't duplicate GSocket creation/destruction and shutdown code in BSD and Winsock implementations
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-23 01:44:50 +00:00
Vadim Zeitlin
f0db5d7587
do not require a running event loop, even under MSW, for the sockets to work: if the user code doesn't use events there is no reason for it to run the event loop, especially as it's not needed under the other platforms; instead use the same Select() implementation as under Unix under MSW too and, to avoid duplicating it, put it into the new GSocketBase class
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-23 00:11:09 +00:00
Jaakko Salli
c5bb545349
Updated event type declarations to follow what other sub-libraries do these days (ie. DECLARE_EXPORTED_EVENT_TYPE is no longer used)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-22 16:41:05 +00:00
Francesco Montorsi
83d56dd128
give a name to the enum to make it easier to reference it in docs; wxFSVolume shouldn't be considered incomplete anymore
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-22 15:56:26 +00:00
Francesco Montorsi
34db817726
give a name to the enum to make it easier to reference it in docs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-22 15:54:33 +00:00
Kevin Ollivier
c9f9deab81
Forward port event handler fixes to trunk.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-22 04:10:31 +00:00
Vadim Zeitlin
e48df5d353
no changes, just reformat, remove extraneous semicolons and inline keywords
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-21 16:18:43 +00:00
Vadim Zeitlin
f1ca421b41
fix virtual function hiding for LoadFile(); replace a few more longs with wxBitmapTypes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-21 16:17:16 +00:00
Vadim Zeitlin
80e5b0b143
define wxUSE_REGKEY for WinCE too ( closes #10211 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-20 23:21:37 +00:00
Vadim Zeitlin
dbb2baaef7
fix WinCE compilation after tbar95.h ->t oolbar.h renaming ( #10197 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-20 16:54:38 +00:00
Vadim Zeitlin
e2d4ce7d36
don't load comctl32.dll, just get the handle of the already loaded instance of it instead, this avoids accidentally loading 2 different versions of this DLL in the same process (see #10203 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-20 16:45:45 +00:00
Vadim Zeitlin
e227438f24
change Has/SetFlag() to take int instead of unsigned as the latter provokes VC7 warnings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-20 13:13:27 +00:00
Jaakko Salli
15096961f9
For clarity, moved includes to the top of the file. Also added #include wx/dialog.h.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-19 16:24:07 +00:00
Vadim Zeitlin
e196e5232a
store the value to be set inside wxON_BLOCK_EXIT_SET(), this allows to use temporaries with it and also fixes the test failure when built with icc and optimizations on (not sure if it is a compiler bug or not but in any case it seems better to fix it)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-19 12:06:17 +00:00
Vadim Zeitlin
e18865ecd7
add WX_ASSERT_EQUAL_MESSAGE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-19 11:51:21 +00:00
Vadim Zeitlin
93a800a95e
minor icc warning fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-19 09:55:27 +00:00
Vadim Zeitlin
7105649b88
add header required for PCH-less mingw32 compilation ( closes #10196 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-18 14:41:45 +00:00
Vadim Zeitlin
d3960469fc
implement const rbegin/rend() versions ( closes #3866 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-17 14:07:51 +00:00
Vadim Zeitlin
36abe9d421
added the possibility to rescale the image during loading, especially useful with JPEGs ( #8390 ) (change to the sample accidentally committed as r56820)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-17 13:54:42 +00:00
Paul Cornett
470f357fd2
make access for virtuals match base
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-16 18:20:21 +00:00
Paul Cornett
a09307abba
check for self assignment in operator=
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-16 18:03:08 +00:00
Vadim Zeitlin
5c69ef61f3
fix some of icc 11.0 warnings and disable a few others
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-16 14:24:13 +00:00
Francesco Montorsi
6d52ca536a
make GetPaperRect() and GetResolution() const functions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-15 11:10:34 +00:00
Jaakko Salli
e9cc4973ff
Fixed various NULL reference issues. Also cleaned up wxPGComboBox code overall a bit.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-15 10:34:36 +00:00
Jaakko Salli
77db639d44
Fixed wxPropertyGridPage::DoSetSplitterPosition() infinite recursion
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-15 10:11:52 +00:00
Vadim Zeitlin
4311ac1ef6
do override SetSplitterPosition() in wxPropertyGridPage: this was clearly meant to happen but wasn't because of signature mismatch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-14 23:44:59 +00:00
Vadim Zeitlin
7d6d76d093
CanPaste() should be const too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-14 23:23:16 +00:00
Václav Slavík
4f24cbbd3d
implement wxWindow::DragAcceptFiles() on all platforms
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-13 22:30:40 +00:00
Vadim Zeitlin
0b7dce5480
fix warnings about hiding virtual wxGraphicsContext::DrawText() overloads by using different names for the implementation functions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-13 12:16:39 +00:00
Vadim Zeitlin
9b3eb4aa61
fix warning about hiding the base class LoadFile()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-12 14:40:28 +00:00
Vadim Zeitlin
17520c84b3
added self-assignment check to wxListItem::operator=()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-12 14:36:21 +00:00
Vadim Zeitlin
83666e9909
added check for self-assignment to wxPrintData::operator=() (thanks HP aCC for a genuinely useful warning) and also changed it return type to the standard one instead of void
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-12 14:34:40 +00:00
Vadim Zeitlin
6286f3c8fc
remove consts from casts which don't do anything except provoking HP aCC warnings; also removed useless occurrences of inline keyword
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-12 14:29:44 +00:00
Vadim Zeitlin
0e82d27088
use explicit global scope for a couple of more occurrences of new
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-10 23:55:01 +00:00
Vadim Zeitlin
18415eb5ca
use base class copy ctor in wxPGCell and wxPGChoiceEntry copy ctor implementation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-10 23:06:44 +00:00
Vadim Zeitlin
5a2c086adf
compilation fix after wxFont changes ( closes #10152 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-10 14:30:41 +00:00
Robert Roebling
7448d67c49
Added wxChoice renderer to wxDataViewCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-10 14:08:38 +00:00
Francesco Montorsi
c9c1faa490
use wxEventType coherently with the docs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-09 16:44:56 +00:00
Vadim Zeitlin
54742e3426
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
2008-11-09 12:34:21 +00:00
Francesco Montorsi
3366d55c57
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
2008-11-08 15:01:00 +00:00
Francesco Montorsi
93629862b9
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
2008-11-08 14:04:27 +00:00
Bryan Petty
d90dcdb784
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
2008-11-07 00:47:35 +00:00
Jaakko Salli
1621f192d9
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
2008-11-06 18:05:09 +00:00
Vadim Zeitlin
4192cc364f
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
2008-11-05 10:01:45 +00:00
Vadim Zeitlin
975dd469ba
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
2008-11-04 12:11:30 +00:00
Vadim Zeitlin
d2824cdb7f
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
2008-11-04 02:46:19 +00:00
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
Jaakko Salli
9bc1121429
In wxPropertyGridManager, alphabetic mode is now sorted even if wxPG_AUTO_SORT flag is absent (fixes wxPG sf bug #2162053 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-19 11:29:36 +00:00