Commit Graph

48960 Commits

Author SHA1 Message Date
Vadim Zeitlin
adcc13ac81 disable MSVC warning 4275 which is harmless and can't be avoided anyhow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-07 12:27:07 +00:00
Vadim Zeitlin
5c4f18cc43 remove inline from IosSeekDirToWxSeekMode() to work around VC6 release build (bogus) warnings about uninitialized variables
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-07 12:23:31 +00:00
Vadim Zeitlin
0cb9ba2518 correct bug with using uninitialized end variable (unused variable warnings are not always useless)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-07 12:19:59 +00:00
Jaakko Salli
8622887ce2 Added section 'Changes from wxPropertyGrid 1.4'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-07 09:02:35 +00:00
Jaakko Salli
b8b1ff481c Implementations of wxPGProperty::ChildChanged() must now return changed value of the whole property instead of writing it back to 'thisValue' argument. This change was done primarily for better compatibility with wxPython bindings, but should also be slightly more cleaner behavior API-wise. Breaks backwards compatibility, but not silently.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-07 07:52:53 +00:00
Vadim Zeitlin
25f49256ac return wxStandardPaths, not wxStandardPathsBase, from wxStandardPathsBase::Get() to allow calling platform-specific methods on it if necessary
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-06 23:34:05 +00:00
Vadim Zeitlin
5470512797 disable warning about _set_se_translator() requiring /EHa for VC9 too (it was disabled for up to VC8)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-06 23:27:37 +00:00
Vadim Zeitlin
73df4a1e3c fix (bogus) warning about uninitialized variable in release MSVC build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-06 23:26:46 +00:00
Vadim Zeitlin
04aa748dc4 mention wxTreeCtrl::SelectItem() fix of r60921
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-06 23:25:56 +00:00
Vadim Zeitlin
a8f1775855 disable MSVC 8+ warning about using Unicode characters as we do want to use them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-06 23:24:57 +00:00
Vadim Zeitlin
de83091077 disable warnings about unused parameters in CppUnit headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-06 23:22:37 +00:00
Vadim Zeitlin
b4d47ca02c use _isatty/_fdopen/_fileno() instead of isatty/fdopen/fileno() with VC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-06 23:20:12 +00:00
Vadim Zeitlin
d4b1783215 use _fileno() instead of fileno() with VC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-06 23:18:52 +00:00
Vadim Zeitlin
50a73bb104 use _unlink() instead of unlink() with VC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-06 23:17:34 +00:00
Vadim Zeitlin
23a6a62ffa rename ARRAYSIZE to CELLSARRAYSIZE to avoid conflict with a macro with the same name defined in Windows headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-06 23:16:27 +00:00
Vadim Zeitlin
3bcd8f9790 fix warnings about using signed values for chars and strdup() from VC9
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-06 23:14:30 +00:00
Vadim Zeitlin
0d46084f29 fix unused parameter warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-06 23:13:03 +00:00
Vadim Zeitlin
7faab5c528 define _SCL_SECURE_NO_WARNINGS to avoid warnings about unsafe standard library functions (such as xsgetn() used in wx/stdstream.h) from VC8+
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-06 23:10:19 +00:00
Vadim Zeitlin
895cae46b7 work around (harmless) warnings in VC7 release build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-06 23:04:50 +00:00
Vadim Zeitlin
8664669368 make wxTreeCtrl::SelectItem(false) work in single selection controls under MSW (fixing the recently added unit test); also set the previously selected item in the selection changing/changed messages
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-06 22:56:57 +00:00
Vadim Zeitlin
d121598c37 more corrections from Y. KABA.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-06 22:26:31 +00:00
Vadim Zeitlin
9194fa09fb correct msgfmt warnings after last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-06 17:38:31 +00:00
Vadim Zeitlin
363f9e3916 Japanese translations update from Y. KABA.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-06 17:31:14 +00:00
Vadim Zeitlin
896a8d2951 simplify code by removing workaround not needed any longer after fix of r60910 (see #10830)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-06 17:27:29 +00:00
Jaakko Salli
ac1013c060 Added wxPGProperty::Set/GetValuePlain() for direct m_value member access needed by wxPython bindings .m_value property
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-06 15:28:40 +00:00
Jaakko Salli
45e82d4ceb Added better asserts, helps with debugging strange wxVariant issues
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-06 15:27:55 +00:00
Vadim Zeitlin
756c98b02e fix bug in generic wxTreeCtrl: calling SelectItem(true) on an already selected item shouldn't toggle its selection (see #10830)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-06 14:15:06 +00:00
Vadim Zeitlin
80f624ec0c added multiple selections support to wxDirCtrl (closes #10830)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-06 14:00:51 +00:00
Vadim Zeitlin
608129e541 compilation fixes for OS X Cocoa build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-06 12:25:04 +00:00
Vadim Zeitlin
50b1e15e0c document effect of loading an icon bundle on stream position
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-06 12:09:30 +00:00
Vadim Zeitlin
b2d76621c2 export wxStatusBarPaneArray from the DLL to fix Borland multilib build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-06 12:01:46 +00:00
Stefan Csomor
7a21d83c54 avoiding events during destruction, fixes #10855
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-05 21:08:08 +00:00
Vadim Zeitlin
0503f19ca8 compilation fixes for g++ 3.2 (closes #10875)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-05 08:54:48 +00:00
Vadim Zeitlin
adcda299c0 added wxEditbaleListBox XRC handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-04 23:41:51 +00:00
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