Commit Graph

12010 Commits

Author SHA1 Message Date
Václav Slavík
e00d33048d pch-less compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-10 20:40:48 +00:00
Václav Slavík
95691abd43 radically simplified declarations of wxUString-specific char buffers: there are no compatibility concerns, so they can simply be typedefs for wxCharTypeBuffer<T>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-10 20:28:20 +00:00
Václav Slavík
5c1de526d2 added refcounting to wxCharBuffer to fix passing of wxCharBuffer to printf-like functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-10 19:37:51 +00:00
Vadim Zeitlin
dd79ca2fd8 undid changes accidentally committed as part of r55019
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-08 19:00:19 +00:00
Vadim Zeitlin
64a044d5a6 added wxTLS_TYPE() macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-08 02:59:32 +00:00
Vadim Zeitlin
375a5d3a93 add DECLARE_NO_COPY_TEMPLATE_CLASS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-08 02:37:56 +00:00
Václav Slavík
14440cc658 small wxArtProvider API improvements: added HasNativeProvider() and renamed confusingly-named Insert() to PushBack()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-07 11:46:59 +00:00
Paul Cornett
f1d5aa4eca fix sizing of extra control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-07 06:51:10 +00:00
Paul Cornett
a1cb0b110e use "new" GtkToolbar API
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-06 16:26:16 +00:00
Vadim Zeitlin
16882c9e37 correct use of WXDLLIMPEXP_BASE for wxChar16 wxStrlen() overloads (#9827)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-05 17:13:03 +00:00
Vadim Zeitlin
6d9b671692 mark holidays if wxCAL_SHOW_HOLIDAYS is on (replaces #9155)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-05 01:55:44 +00:00
Vadim Zeitlin
c77049a04b general docview.cpp code cleanup; use wxVector<> instead of manually-allocated arrays; refactor wxDocManager::CreateDocument() and allow using wxDOC_SILENT with wxDOC_NEW; cleanup wxFileHistory code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-04 00:37:00 +00:00
Vadim Zeitlin
a470957ada fix fatal bug in wxVector copy ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-03 23:58:24 +00:00
Benjamin Williams
45ca0e7750 fix mouse capture lost assert when dialog shown in tab change event handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-03 13:58:08 +00:00
Vadim Zeitlin
4af4dec65f compilation fix for PCH-less build; also moved some functions out of line
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-03 12:24:25 +00:00
Vadim Zeitlin
9016f3ad73 add support for multiline labels in wxToggleButton
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-03 11:47:01 +00:00
Vadim Zeitlin
118a41d993 added wxSHUTDOWN_LOGOFF flag, don't use EWX_FORCE by default but only if wxSHUTDOWN_FORCE is specified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-03 10:56:05 +00:00
Vadim Zeitlin
604fba2d34 made wxDELETE[A]() template functions instead of macros; they now also check that their argument is fully declared (#9685)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 22:49:01 +00:00
Vadim Zeitlin
1c2b921a1c don't use our custom WM_PAINT handler with composited window as this results in an endless repaint loop (#9666); also don't even define HandlePaint() under CE as it's never used there
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 22:34:37 +00:00
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
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
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
707d9f4047 VC6 compilation warning fix for non-defined template class copy ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 13:10:33 +00:00
Stefan Csomor
da712b51d4 guarding preproc variable against undefined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 04:47:39 +00:00
Vadim Zeitlin
328fafa1db capitalize the application name in GetAppDisplayName() by default; this results in logging message appearance consistent with wx 2.8 and generally looks better
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-01 23:47:22 +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
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
4c7b2d367e build fix for wxGTK/Univ build (#9706)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-01 13:53:05 +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
Robert Roebling
676a568708 Forgot to commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-01 12:05:46 +00:00
Robert Roebling
6090d53c8a Compilation for wchar mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-01 07:16:49 +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
Robert Roebling
a029059f92 include <string>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-31 12:35:46 +00:00
Stefan Csomor
497209d3b7 turning on core timer implementation for carbon as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-31 10:27:09 +00:00
Stefan Csomor
265e0ecf30 wxColour is implemented using CoreGraphics
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-31 10:23:14 +00:00
Stefan Csomor
17d6520757 wxColour is implemented using CoreGraphics
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-31 10:22:23 +00:00
Stefan Csomor
e0dd666144 wxColour is implemented using CoreGraphics
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-31 10:21:17 +00:00
Stefan Csomor
97c5b168b3 correcting header path
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-31 09:59:04 +00:00
Stefan Csomor
94424c1914 pen and brush are platform neutral on osx
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-31 09:57:05 +00:00
Stefan Csomor
3d0b488be0 pen and brush are platform neutral on osx
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-31 09:56:44 +00:00
Stefan Csomor
c3052fa0fb brush and pen are implementation neutral on osx
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-31 09:52:01 +00:00
Stefan Csomor
220d37c864 better guarding when no printing architecture exists (patch from Joel Low)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-31 05:57:56 +00:00
Vadim Zeitlin
87c7fc6733 add operator[] to our wxStringImpl (blind fix for wxMac buildbot build)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-30 22:11:06 +00:00
Vadim Zeitlin
a74deb8818 use different strings for wchar_t and UTF-8-based Unicode builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-30 15:32:11 +00:00
Stefan Csomor
fa61b1df36 OSX reshuffling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-30 15:04:03 +00:00
Stefan Csomor
462a08f103 OSX reshuffling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-30 15:02:41 +00:00
Stefan Csomor
d423301cd3 OSX reshuffling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-30 15:02:21 +00:00
Stefan Csomor
b46f221ff3 OSX reshuffling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-30 15:01:58 +00:00