Vadim Zeitlin
|
ca5882254e
|
correct the fix for avoiding the integer multiplication overflow to really work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-06-04 22:28:48 +00:00 |
|
Vadim Zeitlin
|
66ad30957a
|
use wxAutoBufferedPaintDC to avoid needlessly double buffering under platforms which already do this natively (closes #10869)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-06-04 22:27:02 +00:00 |
|
Vadim Zeitlin
|
a0d3f4d788
|
account properly for the menu in SetShape() (closes #10870)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-06-04 22:24:13 +00:00 |
|
Vadim Zeitlin
|
d58772283e
|
value of wrap parameter of wxStaticText must be specified in pixels, not characters
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-06-04 12:17:34 +00:00 |
|
Vadim Zeitlin
|
a96827606e
|
postpone the call to CopyAttributes() until the DC is fully initialized (closes #10867)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-06-04 08:55:44 +00:00 |
|
Vadim Zeitlin
|
817b3d0e78
|
removed assert checking that bit depth is 8 or 16 as the code appears to work correctly for 1, 2 and4 bit depths as well (closes #10840)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-06-04 08:23:32 +00:00 |
|
Julian Smart
|
8e7da4267d
|
Use live update for splitter on Mac since Leopard seems even more susceptible to screen drawing crashes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-06-04 08:01:58 +00:00 |
|
Stefan Csomor
|
8ceeb6c2e0
|
avoid overdrawing, fixes #10865
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-06-04 04:25:39 +00:00 |
|
Vadim Zeitlin
|
3998c74b9b
|
use wxRA_SPECIFY_COLS/ROWS instead of old, deprecated and confusing wxRA_HORIZONTAL/VERTICAL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-06-03 22:33:32 +00:00 |
|
Vadim Zeitlin
|
e77669fcee
|
don't fix the columns number to 1 by default in ctors (closes #10863)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-06-03 22:28:26 +00:00 |
|
Vadim Zeitlin
|
1bfabf3675
|
work around g++ 4.3 warning about possibly ambiguous else
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-06-03 22:19:13 +00:00 |
|
Vadim Zeitlin
|
feaa5f91e5
|
fix wxIconBundle creation from multiimage files broken by r60852
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-06-02 16:22:49 +00:00 |
|
Jaakko Salli
|
9ab4a43845
|
Make this header SWIG-safe
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-06-02 14:16:20 +00:00 |
|
Vadim Zeitlin
|
5beedebb82
|
check for integer overflow which could result in buffer overrun when loading an invalid TIFF file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-06-02 13:51:26 +00:00 |
|
Vadim Zeitlin
|
5550f66bce
|
don't free() the same pointer twice if an error occurs during lines pointers allocation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-06-02 13:50:30 +00:00 |
|
Vadim Zeitlin
|
febd3dcaf8
|
added wxUINTn_MAX constants; document them together with the existing wxINTn_MIN/MAX ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-06-02 13:43:32 +00:00 |
|
Francesco Montorsi
|
23790a2a29
|
add wxGetLinuxDistributionInfo() and wxPlatformInfo::GetLinuxDistribution() functions; also add to wxPlatformInfo the GetOperatingSystemDescription(), GetDesktopEnvironment(), GetOperatingSystemDirectory() functions to group in the same class (wxPlatformInfo) all available platform-detection functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-06-02 13:01:41 +00:00 |
|
Francesco Montorsi
|
ed1288eef0
|
add wxProgressDialog::SetRange() function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-06-01 23:19:25 +00:00 |
|
Francesco Montorsi
|
d1279c9a3d
|
no change: fix a couple typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-06-01 23:05:37 +00:00 |
|
Francesco Montorsi
|
4ccc2a0706
|
do not show the timestamp column in the details pane of the wxLogDialog when timestamping has been disabled
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-06-01 23:01:47 +00:00 |
|
Vadim Zeitlin
|
b4715d08bf
|
correct Borland #pragma hdrstop position
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-06-01 20:54:03 +00:00 |
|
Robert Roebling
|
e6bfb8a131
|
non-PCH compilo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-06-01 15:26:24 +00:00 |
|
Robert Roebling
|
715c9810a1
|
Compilo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-06-01 15:15:27 +00:00 |
|
Francesco Montorsi
|
5b105c6ff3
|
use a smaller timeout value to avoid blocking buildslaves for 10minutes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-06-01 14:55:22 +00:00 |
|
Francesco Montorsi
|
9e91447ca4
|
minor change: differentiate the initial banner of test.exe from test_gui.exe
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-06-01 14:46:44 +00:00 |
|
Francesco Montorsi
|
c99214eb52
|
add check about network connectivity; don't run the test if it's not available
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-06-01 14:45:26 +00:00 |
|
Robert Roebling
|
0a807957e6
|
Closes #10495: wxDataViewCtrl needs a way to start the label editor programmatically, also Windows port now emits vetoable ..._EDITING_STARTED event
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-06-01 13:57:38 +00:00 |
|
Francesco Montorsi
|
a9a2485d64
|
fix loading ICO from socket stream: override OnSysTell and OnSysSeek rather than directly SeekO/I or TellO/I; in wxICOHandler only call SeekI() if we have a non-null seek offset
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-06-01 13:56:41 +00:00 |
|
Vadim Zeitlin
|
77782a5c5f
|
corrected wrong type of posErr parameter (closes #10862)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-06-01 13:04:26 +00:00 |
|
Francesco Montorsi
|
53c2cdb0b1
|
fix PCH-less build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-06-01 12:40:50 +00:00 |
|
Francesco Montorsi
|
21fe35aff7
|
add wxImage test units to test loading from both seekable and non-seekable streams
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-06-01 11:46:36 +00:00 |
|
Francesco Montorsi
|
8faef7ccbc
|
document that CanRead() and GetImageCount() functions of wxImageHandlers do NOT modify the current stream position and that they require seekable streams; rename current GetImageCount() functions to DoGetImageCount() and put save-and-restore stream position logic in GetImageCount(); add comments in the various DoCanRead() and in DoGetImageCount() where the stream position is modified; remove unneeded SeekI(0) calls from DoCanRead() and DoGetImageCount() functions: they didn't allow to load images from non-seekable streams; implement forward-seeking in wxInputStream::SeekI() also for non-seekable streams
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-06-01 11:43:36 +00:00 |
|
Francesco Montorsi
|
1f51673bb8
|
add wxURL::GetInputStream test unit; add a global IsNetworkAvailable() utility to the test units
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-06-01 11:30:50 +00:00 |
|
Vadim Zeitlin
|
255c07b4df
|
extracted wxTextWrapper in its own header and made it public
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-05-31 20:12:07 +00:00 |
|
Vadim Zeitlin
|
01b56a96ae
|
don't redefine HAVE_STRFTIME as it can already be defined by configure (forgotten part of r60842)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-05-31 19:40:57 +00:00 |
|
Vadim Zeitlin
|
4feecbb929
|
added wxDC::CopyAttributes() and use it in wxBufferedDC to ensure that wxAutoBufferedPaintDC font is correctly initialized from the window font, as it already happens with wxPaintDC that it mimics
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-05-31 19:40:04 +00:00 |
|
Vadim Zeitlin
|
6de9def05d
|
set focus to the window when the mouse is clicked in it explicitly as we don't let the default mouse click handling take place
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-05-31 19:20:20 +00:00 |
|
Václav Slavík
|
a5c1223d2f
|
use enhanced metafiles for wxMSW print preview: this is as accurate as previous code, but much faster (fixes #9970)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-05-31 19:15:07 +00:00 |
|
Václav Slavík
|
cc3445715d
|
add ability to create wxEnhMetaFileDC based on a reference DC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-05-31 19:11:15 +00:00 |
|
Vadim Zeitlin
|
dd36b5a3e5
|
don't redefine HAVE_STRFTIME as it can already be defined by configure (closes #10861)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-05-31 18:57:20 +00:00 |
|
Francesco Montorsi
|
3b36f093d9
|
group wxPlatformInfo functions for easier browsing; add more descriptions; link the related function group
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-05-31 16:34:13 +00:00 |
|
Vadim Zeitlin
|
4b14a2f79b
|
added default ctor to wxMouseEventsManager, this is convenient when deriving window classes (which must provide default ctors to e.g. allow loading them from XRC) from it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-05-31 14:43:01 +00:00 |
|
Vadim Zeitlin
|
0598625cb2
|
don't add client area origin when positioning the child MDI frame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-05-31 13:22:45 +00:00 |
|
Vadim Zeitlin
|
51a5c8df7c
|
improve wxTreeCtrl::ScrollTo() behaviour in the generic version and add a test for it to the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-05-31 13:08:16 +00:00 |
|
Vadim Zeitlin
|
671683c445
|
enable OpenGL library build by default under Windows too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-05-31 12:55:11 +00:00 |
|
Vadim Zeitlin
|
4fd66e4c56
|
remove duplicate wxUSE_GSTREAMER definition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-05-31 12:54:16 +00:00 |
|
Vadim Zeitlin
|
f1a73c6a81
|
added wxTempFile::Flush() (dedicated to Theodore Ts'o and Ext4)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-05-31 09:49:31 +00:00 |
|
Vadim Zeitlin
|
24f618eea6
|
allow overriding wxUSE_GLCANVAS value in setup.h by using USE_OPENGL=1 with make (closes #10832)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-05-31 09:12:20 +00:00 |
|
Jaakko Salli
|
0ce8e27f68
|
Added wxPGProperty::SetDefaultValue(v), as a shortcut for SetAttribute(DefaultValue, v)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-05-31 08:58:38 +00:00 |
|
Vadim Zeitlin
|
e1983cad7c
|
implement Update() properly for the generic wxListCtrl (see #10857)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-05-30 22:25:42 +00:00 |
|