Commit Graph

24758 Commits

Author SHA1 Message Date
Vadim Zeitlin
77cfdec054 removed a cast to WPARAM which was unnecessary and provoked a warning (part of #9803)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-01 14:31:00 +00:00
Vadim Zeitlin
87d4e2710b inherit wx_error_mgr from jpeg_error_mgr instead of embedding the latter in the former (part of #9803)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-01 14:29:33 +00:00
Vadim Zeitlin
b97d1013cf remove wxSETranslator() entirely from wxUSE_ON_FATAL_EXCEPTION==0 build (part of #9803)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-01 14:22:42 +00:00
Vadim Zeitlin
76de2296f1 fix warning about possible uninitialized variable with VC9 (part of #9803)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-01 14:19:22 +00:00
Vadim Zeitlin
49ad157e30 implement support for wxOR and wxCLEAR in wxCairoContext::SetLogicalFunction() (#9808)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-01 14:03:17 +00:00
Vadim Zeitlin
3e97a90518 use a single wxBookCtrlEvent class for all wxBookCtrlBase-derived controls (#9667)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-01 13:46:46 +00:00
Stefan Csomor
420b39aa4b moving common implementation for osx closer to unix, by using threadspsx.cpp and unix/dir.cpp, getting rid of morefile(x) and moving colour.cpp to core
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-01 06:40:16 +00:00
Stefan Csomor
9b5eee6ed7 OSXTimer for all variants (sorry Vaclav, should be about the last split comit ..)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-31 13:04:02 +00:00
Stefan Csomor
fe2fa28041 OSXTimer for all variants
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-31 13:02:53 +00:00
Stefan Csomor
c40627e9b3 wxColour is implemented using CoreGraphics
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-31 10:10:33 +00:00
Stefan Csomor
ee5f85517a pen and brush are platform neutral on osx
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-31 10:04:51 +00:00
Stefan Csomor
ad66316ffb pen and brush are platform neutral on osx
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-31 10:04:28 +00:00
Stefan Csomor
9535b4790b better guarding when no printing architecture exists
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-31 06:59:10 +00:00
Stefan Csomor
6d0d845548 better guarding when no printing architecture exists (patch from Joel Low)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-31 06:57:33 +00:00
Vadim Zeitlin
8a6270322b optimize Replace() for the common case of replacing one character with another one (#9802)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-30 21:41:07 +00:00
Stefan Csomor
292e5e1f17 OSX renaming round 2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-30 14:52:41 +00:00
Stefan Csomor
50b834db17 adding header for non-precomp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-30 04:56:52 +00:00
Vadim Zeitlin
cb738de03a don't use BS_AUTORADIOBUTTON at all, BS_RADIOBUTTON works just as well and doesn't hang the application in some circumstances (see #9786)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-29 23:19:34 +00:00
Vadim Zeitlin
ecdc118383 add PostSizeEvent() and use it in wxMSW status bar code (#9795)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-29 23:07:24 +00:00
Václav Slavík
44d0f703f9 fixed messed up indentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-29 22:25:11 +00:00
Stefan Csomor
e185a681dd adding constant which appears in Leopard SDK only
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-29 21:51:30 +00:00
Stefan Csomor
052e5ec5f3 osx regrouping
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-29 20:15:25 +00:00
Stefan Csomor
04b3390036 osx regrouping
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-29 20:13:57 +00:00
Stefan Csomor
111ba6b820 osx regrouping
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-29 20:11:51 +00:00
Stefan Csomor
b2680ced12 osx regrouping
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-29 20:04:11 +00:00
Stefan Csomor
33e902756f universal implementation for osx cocoa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-29 19:58:39 +00:00
Stefan Csomor
c16b215350 universal implementation for iphone
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-29 19:58:10 +00:00
Stefan Csomor
56869c5423 OSX regrouping
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-29 19:57:35 +00:00
Stefan Csomor
efdea9c39e OSX regrouping
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-29 19:51:37 +00:00
Stefan Csomor
96f04e1df6 OSX regrouping
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-29 19:50:14 +00:00
Stefan Csomor
26eef30437 OSX regrouping
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-29 19:47:40 +00:00
Stefan Csomor
f94a77989a new SDK has frame CGRect return param
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-29 19:25:52 +00:00
Julian Smart
5ef8ac72f7 Take on appropriate paragraph style in the newly created paragraph.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-29 13:22:33 +00:00
Vadim Zeitlin
7157abfba1 generate a size event from ShowWithEffect() for consistency with Show()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-29 12:35:15 +00:00
Vadim Zeitlin
5e6014ea91 send the size event in SendSizeEvent() instead of posting it, otherwise we have no way to trigger immediate relayout; if we need delayed version we should add a separate PostSizeEvent()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-29 12:34:03 +00:00
Vadim Zeitlin
0dba08dd39 move SendSizeEvent() down to wxWindow from wxFrame; added SendSizeEventToParent() helper
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-29 12:32:47 +00:00
Robert Roebling
9a6d14383a Added 32-bit (UCS-4) wxUString class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-29 11:01:16 +00:00
Vadim Zeitlin
dfbe9d4f59 implement wxBitmap ctor from XBM data
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-28 14:07:54 +00:00
Paul Cornett
5a34b9b969 fix Gtk-WARNING "... no property named `row-ending-details'" (#4809)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-28 05:49:04 +00:00
Vadim Zeitlin
19a67f39d7 don't use assert dialog under wxDFB, it does more harm than good
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-26 22:08:42 +00:00
Vadim Zeitlin
2b42a87073 fix index checking in GetRange()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-24 00:05:14 +00:00
Vadim Zeitlin
cc1b761a57 fix crash when reading malformed PCX images (#3836)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-22 20:16:03 +00:00
Vadim Zeitlin
1c0b21e8da attempt to fix compilation after the last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-22 17:33:10 +00:00
Vadim Zeitlin
4c30dd1a6b remove the workaround for STL build bug in wxArrays fixed by r54761
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-22 01:02:47 +00:00
Vadim Zeitlin
35d5da677d get rid of base arrays in wxUSE_STL build, we don't need them there and deriving wxFooPtr from wxBaseArrayPtrVoid makes it iterators return void pointers instead of those of the correct type; added test case to check for this
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-22 01:01:56 +00:00
Václav Slavík
87ec008f42 Fixed detection of Meta key state so that NumLock isn't misdetected as Meta.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-21 22:10:13 +00:00
Vadim Zeitlin
98ecad0621 avoid unnecessary conversions in wxTextDataObject code in UTF-8 build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-21 15:53:21 +00:00
Vadim Zeitlin
b82c3e606c don't call gtk_selection_data_set_text() with non-UTF-8 data as we did in ANSI build (#2037)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-21 03:39:40 +00:00
Vadim Zeitlin
73597f8aff wxDF_UNICODETEXT shouldn't be supported at all in ANSI build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-21 03:35:15 +00:00
Vadim Zeitlin
27781f6379 no changes, just fixed a typo in comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-21 03:02:34 +00:00