Commit Graph

36788 Commits

Author SHA1 Message Date
Vadim Zeitlin
f2346d3fd6 don't use GetFileAttributesEx() which doesn't exist in Win95 and so prevented any wx program from even starting up there; besides it was unneeded anyhow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 15:18:38 +00:00
Vadim Zeitlin
194b226768 also define wxLstat for non-Unix platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 14:45:40 +00:00
Vadim Zeitlin
ee8d76ec2e also define wxLstat in ANSI build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 14:42:17 +00:00
Vadim Zeitlin
56614e51f9 added wxLstat() (one of patches from bug 1052385)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 14:41:20 +00:00
Robert Roebling
a0d95a1ead additions for animatectrl xrc sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 14:09:26 +00:00
Vadim Zeitlin
abce4ee622 don't allow switches (i.e. options without value) to have values (closes 781373)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 14:04:27 +00:00
Robert Roebling
9e29cd0a28 [ 1581391 ] wxAnimationCtrl XRC handler
(most of)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 13:59:25 +00:00
Robert Roebling
8e458bb539 [ 1580776 ] wxAnimationCtrl::SetInactiveBitmap
Additionally call UnShare() in it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 13:51:38 +00:00
Vadim Zeitlin
1a5e269be8 (blind) fix for Tru64 compilation (bug 769360)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 13:23:20 +00:00
Stefan Csomor
8acd14d177 untangling dc and gc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 12:37:42 +00:00
Robert Roebling
8f3f46357d Compilo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 12:23:49 +00:00
Julian Smart
5c6e84b696 Added wxUSE_RICHTEXT guard
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 07:10:48 +00:00
Robin Dunn
cca20a649c Simplified EVT_PAINT handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 01:25:26 +00:00
Robin Dunn
2fa7c075da Don't raise NotImplementedError from GetMark, just silently return
(0,0) for now


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 01:23:52 +00:00
Robin Dunn
8292b82b35 Some API updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 01:22:49 +00:00
Robin Dunn
6d44273eec Avoid assert on wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 01:22:11 +00:00
Robin Dunn
70e8e9b8f2 wxMac apparently doesn't send EVT_SHOW, so just use wx.CallAfter instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 01:21:21 +00:00
Robin Dunn
84752aa52a Change Refresh to Reset to avoid conflict with base class Refresh
Don't use wx.ClientDC, just draw to the bitmap when needed, and then
use Refresh for painting.  This works better on Mac.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 01:20:43 +00:00
Robin Dunn
6d6d86a684 Avoid nested DC assert
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 01:17:21 +00:00
Robin Dunn
7ed14752be more informative FAIL message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 01:16:41 +00:00
Robin Dunn
be01a40397 use consistent names (Graphic vs. Graphics)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 01:15:33 +00:00
Robin Dunn
54eb75b5fb Forward SetFont, SetBackgroundColour and SetForegroundCOlour to the
generic listctrl


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 01:12:57 +00:00
Vadim Zeitlin
a2d6d21099 fix warnings (double to int conversions and unused variables); removed hard TABs and extra spaces
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 23:59:55 +00:00
Stefan Csomor
513b47e9b7 screendc implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 20:50:48 +00:00
Stefan Csomor
bf2185eb8b new method needed for screendc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 20:46:07 +00:00
Stefan Csomor
8bf12709e9 setting a non valid font is permitted, implemented now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 19:29:30 +00:00
Stefan Csomor
04bad5edef fixing the screen dc, non 64 bit solution however
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 19:26:35 +00:00
Stefan Csomor
7471064e1d creating graphics context with the correct origin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 17:25:54 +00:00
Stefan Csomor
80f0a1be13 offsetting dcs correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 17:24:09 +00:00
Stefan Csomor
1e81241f3a moving the offsets into dcclient.cpp so that native event handlers can be called through
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 17:22:00 +00:00
Stefan Csomor
b28a9af9d5 offseting the graphics context correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 16:41:18 +00:00
Václav Slavík
68ab959c55 fixed computation of status bar fields width if the total width is not divisible by the number of fields
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 14:54:14 +00:00
Vadim Zeitlin
3febc967a9 put #if wxUSE_STATBOX around wxStaticBox usage (bug 1568939)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 14:33:49 +00:00
Stefan Csomor
0b1cc7bffb mac methodname fixed, so all use the same now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 13:14:31 +00:00
Stefan Csomor
4a4ab1b6a8 adding same methodname as gtk and msw
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 13:12:23 +00:00
Julian Smart
f089713f9e Added the ability to use built-in bullet styles, currently standard/circle or standard/square.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 13:04:12 +00:00
Stefan Csomor
13bc5380f2 fixing classname
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 12:58:30 +00:00
Stefan Csomor
6c3bbd61e7 dummy implementations for new methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 12:43:38 +00:00
Stefan Csomor
539e27950f dummy implementations for new methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 11:59:10 +00:00
Stefan Csomor
1056ddcf24 new graphics context implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 11:56:32 +00:00
Stefan Csomor
f7862d3e49 new graphics context implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 11:46:28 +00:00
Stefan Csomor
4130e41449 new graphics context implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 11:35:43 +00:00
Vadim Zeitlin
73a0b98c1b define bookctrl (and -derived) classes flags in their headers instead of defs.h; don't deprecate the control-specific flags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 11:32:30 +00:00
Stefan Csomor
977d15a6ae new graphics context implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 11:07:00 +00:00
Stefan Csomor
8168167976 avoiding nesting dcs on the same window concurrently
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 11:01:50 +00:00
Stefan Csomor
f2ee37d5ae extending implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 10:58:22 +00:00
Stefan Csomor
cd7d36c065 replacing old core graphics with new graphics context implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 10:56:36 +00:00
Stefan Csomor
6ff41b1697 replacing old core graphics with new graphics context implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 10:27:41 +00:00
Stefan Csomor
24a7b71889 replacing old core graphics with new graphics context implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 09:34:11 +00:00
Vadim Zeitlin
90c0f63a83 define bookctrl (and -derived) classes flags in their headers instead of defs.h; don't deprecate the control-specific flags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 09:16:41 +00:00