Commit Graph

15354 Commits

Author SHA1 Message Date
Robin Dunn
e45cc23511 Two fixes for CheckTransparency. First, don't start checking from
(x+1,y) since you don't know if (x,y) is transparent or not.  Second,
use x*(numColBytes+1) instead of just x to offset into the first
line.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-29 18:47:38 +00:00
Julian Smart
c6151f2a94 Added wxPaintDCEx class, to handle the case where an HDC
is passed with WM_PAINT. Apps that want to can have their
own HDC painted on.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-29 14:27:18 +00:00
David Elliott
276a125640 Added stubs for (DeviceToLogical|LogicalToDevice)(X|Y)Rel
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-29 02:32:42 +00:00
David Elliott
cd7542bc44 Stub for wxIcon constructor taking a non-const xpm
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-29 02:26:52 +00:00
David Elliott
cf6e135c04 Stub for wxRegion constructor taking a wxRect
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-29 02:26:09 +00:00
David Elliott
7cc284529a IMPLEMENT_DYNAMIC_CLASS for wxSpinEvent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-29 02:22:50 +00:00
David Elliott
b9505233a5 Keep track of the captured mouse window so the base GUI code thinks the window
is captured.  Doesn't capture it, but at least satisfies the assertions.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-29 02:20:51 +00:00
Václav Slavík
1020103f16 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-28 21:32:46 +00:00
Stefan Csomor
70e881039b metadata streaming
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-28 20:44:57 +00:00
Stefan Csomor
51596bcb98 preliminary EXTENDED_RTTI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-28 20:17:37 +00:00
Stefan Csomor
fbbdc52c5d xti updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-28 20:16:51 +00:00
Vadim Zeitlin
3d3a4a25ad compilation fix for !PCH
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-28 19:25:06 +00:00
David Elliott
977ea6b6bf Added wxClipboard and wxDataObject (and friends) declarations and stubs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-28 19:07:26 +00:00
David Elliott
3d7e98ed47 Added wxFontEnumerator stubs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-28 18:52:34 +00:00
Stefan Csomor
bf53205394 keeping classnames in synch for xti
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-28 11:38:17 +00:00
Vadim Zeitlin
bc71a3efb7 added new renderer files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-28 11:01:11 +00:00
Vadim Zeitlin
f0244295e3 added wxAppTraits::CreateRenderer() which may be used to customize the renderer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-28 10:59:42 +00:00
Václav Slavík
ef9bfb7103 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-28 08:46:15 +00:00
Stefan Csomor
30bfc42574 wxUSE_EXTENDED_RTTI as name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-28 08:32:04 +00:00
Stefan Csomor
a095505c96 xti introduction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-28 08:10:54 +00:00
Vadim Zeitlin
15cdcf6a0e load ws2_32.dll dynamically in wxGetFullHostName()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-28 00:18:10 +00:00
Václav Slavík
7c4728f633 split wxBase into wxBase and wxNet libraries
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-27 22:41:06 +00:00
Mattia Barbon
f7b83689c6 STL compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-27 19:13:19 +00:00
Václav Slavík
7892b9436c compilation fix for BC++
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-27 11:16:51 +00:00
Vadim Zeitlin
d16cf3cd54 implemented native GTK drawing for the splitter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-27 02:01:32 +00:00
Vadim Zeitlin
62dc9cb4f1 added orient parameter to DrawSplitterSash instead of using wxMirrorDC in the splitter (it is now used in generic renderer only)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-27 02:00:55 +00:00
Mattia Barbon
46ec70fb5a Blind compilation fix for old Motif wxComboBox.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-26 12:26:09 +00:00
Robin Dunn
7ba1412f19 Fixes to allow STC to be built as a DLL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-25 21:24:49 +00:00
Mattia Barbon
d772bf4341 STL compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-25 21:10:26 +00:00
Václav Slavík
bdc408c4c6 1. use three numbers version in win32 DLLs on unstable branch
2. automatically increase major soname version with every unstable release


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-25 12:38:48 +00:00
Vadim Zeitlin
646c4aebb2 warning fixes (closes 767152)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-25 12:14:08 +00:00
Václav Slavík
2d34a3036e better attempts to try .utf-8 suffix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-25 09:40:21 +00:00
Vadim Zeitlin
90e9494a5d if IsAlwaysOnline() returns true, IsOnline() should also return true
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-24 21:21:24 +00:00
Mattia Barbon
90b6b97467 Compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-24 20:06:02 +00:00
Mattia Barbon
e87b783352 Create a new wxStringBase class, providing a STL-like API, using
the current wxString implementation.
  Derive wxString from one of wxStringBase, std::string, std::wstring
depending on wxUSE_STL/wxUSE_UNICODE settings. wxString provides
full compatibility with the old wxString in both wxUSE_STL=0 and
wxUSE_STL=1 modes (except for [Un]getWriteBuffer).
  Add some configure checks for std::string features.
  Add tests for STL API in console sample.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-24 19:44:57 +00:00
Mattia Barbon
7918efb247 Removed workaround for a (now fixed) wxMotif problem.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-24 19:35:55 +00:00
David Elliott
ba7c420af0 Better stub for wxDisplaySize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-24 18:29:59 +00:00
Julian Smart
b386cd7a8e Deal with a zero to-page
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-24 11:32:29 +00:00
Stefan Csomor
a1a816f8cc new xml in main tree adaptions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-24 11:10:27 +00:00
Stefan Csomor
214d3d5766 renderer added, expat and xml
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-24 10:43:43 +00:00
Julian Smart
b38b0d22d7 Fixed preview navigation as per ancient bug report
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-24 10:07:43 +00:00
Stefan Csomor
a0fcdd5fed mac config file for expat
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-24 09:55:42 +00:00
Vadim Zeitlin
4c9483436c more compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-24 01:04:19 +00:00
Vadim Zeitlin
8b58d2df62 fix some warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-24 00:42:29 +00:00
Julian Smart
d2b354f9c9 Printing improvements: GetPageInfo() gets called after the DC has
been set and after OnPreparePrinting() has been called so it can
report the number of pages accurately; doesn't try to set
number of pages in print dialog, in common with other Windows apps;
wxHTML easy printing's preview shows number of pages
correctly; preview scrollbars are set correctly; keyboard navigation
improved


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-23 20:30:19 +00:00
Vadim Zeitlin
4a08283ef0 compilation fix...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-23 19:19:06 +00:00
Vadim Zeitlin
0e2f1b3efb attempt to fix waiting for a thread in another non-main thread
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-23 19:06:27 +00:00
Mattia Barbon
7df07b10aa various compilation/warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-23 19:04:42 +00:00
Václav Slavík
2db1bd2234 module.h is not included by wxprec.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-23 18:04:26 +00:00
Vadim Zeitlin
e356d4693d another compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-23 18:03:57 +00:00