Commit Graph

24779 Commits

Author SHA1 Message Date
Vadim Zeitlin
d66d050088 add wxGet/Set/HasWindowExStyle() helpers and use them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 22:30:05 +00:00
Vadim Zeitlin
65751a0ee7 compilation fix after last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 22:24:15 +00:00
Vadim Zeitlin
85f818733c copy both alpha and mask in Paste() (#9658)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 22:00:53 +00:00
Vadim Zeitlin
e8759560f8 add wxRenderer::GetCheckBoxSize(); refactor wxGTK code to avoid duplication (#9642)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 21:51:22 +00:00
Vadim Zeitlin
979a73474c added trivial wxLaunchDefaultApplication() implementation for wxMac; added a test for it to the exec sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 21:49:06 +00:00
Vadim Zeitlin
9d1c7e8474 add wxImage::SetType() and use it in animation decoders (#9639)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 20:13:41 +00:00
Vadim Zeitlin
05d31b3aca fix keyboard navigation in radio boxes containing hidden or disabled items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 19:45:23 +00:00
Vadim Zeitlin
8758875e0b added enabled and hidden attributes to radio box items in XRC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 18:21:38 +00:00
Vadim Zeitlin
8a18ea3f03 improve best size calculation; notably account for wxDP_ALLOWNONE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 17:50:16 +00:00
Vadim Zeitlin
ad63992e0f ensure that one of wxRA_SPECIFY_{COLS,ROWS} is set in the radiobox style, otherwise layout code doesn't work correctly and this can easily happen if the radiobox is created from an XRC file not specifying its style at all
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 15:59:13 +00:00
Vadim Zeitlin
f06832c1b6 implement wxLaunchDefaultApplication() for MSW and document it (#9810)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 15:31:38 +00:00
Vadim Zeitlin
ec585c30ec PCH-less build fix after the last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 15:20:27 +00:00
Vadim Zeitlin
aaa0312528 extract parts of wxXRC depending on wxAdv in a separate file to allow statically linking with wxXRC but without wxAdv; note that rebaked project/make files also contain ustring.cpp/h now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 14:15:22 +00:00
Robert Roebling
8e69bf8e84 Support NOR logical function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 14:14:17 +00:00
Stefan Csomor
1011fbebdb guarding all text methods against unset font
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 06:40:21 +00:00
Vadim Zeitlin
0c7db140c5 add wxString::Capitalize() and MakeCapitalized() for consistency with Upper/Lower() we already have
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-01 23:39:11 +00:00
Benjamin Williams
4b7d829b21 added a number of NULL ptr asserts (#4145)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-01 21:04:31 +00:00
Benjamin Williams
b27fdc3832 fix for defect #4827
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-01 18:59:21 +00:00
Benjamin Williams
c015463a1e fix for ticket #4505, Floatable(false) wasn't working in all cases
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-01 18:35:34 +00:00
Benjamin Williams
944975221d floating pane now respects IsFixed pane status; indirect fix for #4044
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-01 16:08:35 +00:00
Vadim Zeitlin
6b1eedc1bb add more stock items (#9799)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-01 14:38:02 +00:00
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