Commit Graph

6993 Commits

Author SHA1 Message Date
Vadim Zeitlin
18342f1993 don't set background colour explicitely; no need to handle WM_ERASEBKGND ourselves now that it is done correctly at wxControl level
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 19:55:34 +00:00
Vadim Zeitlin
5c836c463a refactored code to do brush adjustment for bg drawing in only one place
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 19:53:03 +00:00
Vadim Zeitlin
48fa6bd38a replaced OnCtlColor(7 params) with MSWControlColor(1 param)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 19:40:31 +00:00
Robin Dunn
2b02216951 Give SendSizeEvent a generic implementation. It can be useful on
non-MSW platforms as well.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 19:20:01 +00:00
Vadim Zeitlin
9ae8168e5b removed OnCtlColor()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 19:05:12 +00:00
Vadim Zeitlin
21db32c129 added GetCurrentPage()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 18:57:53 +00:00
Vadim Zeitlin
01c500af65 removed (unused) nCtlColor parameter of OnCtlColor(); added MSWControlColor(); implemented it to use tab control background if applicable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 18:37:42 +00:00
Vadim Zeitlin
caf95d2aef added support for drawing themed background: DoEraseBackground() and GetThemeBackgroundBrush()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 18:36:45 +00:00
Vadim Zeitlin
8a462d4ee1 added GetIfActive() method returning non-NULL engine only if themes are not only available, but really use
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 17:17:00 +00:00
Vadim Zeitlin
978bb48f35 added CompatibleBitmap wrapper class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 16:47:51 +00:00
Ryan Norton
3f5ca6b1c3 part of patch [ 649438 ] Bug fixes from Netscape/AOL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 07:46:34 +00:00
Václav Slavík
9755e73bd9 applied modified patch with native GTK wxFileDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 00:30:24 +00:00
Vadim Zeitlin
38c58c778d don't erase background in wxControl neither
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-18 23:20:10 +00:00
Ryan Norton
984b0d8ba7 get rid of singleCustomColour - its not needed. Cleanup/optimize a bit more.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-18 16:35:16 +00:00
Robert Roebling
0be7709e71 Added support for native print preview (GNOME)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-18 14:45:40 +00:00
Robert Roebling
6408deedee Added support for alpha channels in interpolated
and non-interpolated image rotation.
  Added helper method for turning shades of grey
    into shades of alpha and a colour.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-18 14:01:45 +00:00
Włodzimierz Skiba
415a0ff16d 3rd state in checkboxes for wxUniv [closes bug#1040585].
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-18 13:16:41 +00:00
David Elliott
e2eafeff03 Implement toolbar tool clicks. Get rid of wxNSActionCell stuff because
Cells send their action from the view anyway so we'd have no way of knowing
which tool was clicked.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-17 18:02:56 +00:00
Robert Roebling
2934005d7d Use native printing dialog for wxPrintDialog,
not for setup only as before. It prints,
    but page selection etc. is still an idea


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-17 16:59:50 +00:00
Stefan Csomor
d5c8817ce5 file name char set string conversions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-17 15:14:35 +00:00
Ryan Norton
356c775fcf cleanup OSX native font dialog stuff a bit (it should prob. be an option in configure
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-16 14:36:10 +00:00
Włodzimierz Skiba
599132d33a eVC3 media fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-16 13:51:16 +00:00
Włodzimierz Skiba
226ec5a71a Define wxMediaEvent before it is used. Make OnMediaFinish compatible to wxObjectEventFunction. Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-16 13:49:27 +00:00
Vadim Zeitlin
00ba414f7f attempts to suppress C4702 for VC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-16 12:09:17 +00:00
Vadim Zeitlin
bcb251a0c1 small optimization for wxTextCtrl (forgot to commit with textctrl.cpp)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-16 12:06:02 +00:00
Václav Slavík
02c92ad972 modified wxEncodingConverter API to report failures
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-16 11:58:24 +00:00
Vadim Zeitlin
8681b0940e restored OnEraseBackground(), we do need it but only for the cases when the window has a non default background colour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-15 18:10:48 +00:00
Vadim Zeitlin
e2c49e5cd2 don't always erase the background ourselves as this is incompatible with XP themed appearance (replaces patch 1046164)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-15 14:43:51 +00:00
Ryan Norton
78450975b2 WXUNUSED warning fixes - unicode compilo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-15 07:18:22 +00:00
Włodzimierz Skiba
041ae20237 wxUniv use wxBU flags [bug #1040584]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-15 06:23:57 +00:00
Ryan Norton
ff4aedc554 Massive reworking of wxMediaCtrl code - backend everything, search for backends via RTTI lookup, and more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-14 23:26:55 +00:00
Václav Slavík
1df61962e8 added system colours and fonts support to XRC (based on patch #1038207)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-14 21:53:51 +00:00
Robin Dunn
d4808d76f9 The assumption that if SIZEOF_INT is defined then SIZEOF_SIZE_T is too
is not always true.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-13 02:24:35 +00:00
Václav Slavík
281818319b removed unused static variable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-12 21:43:25 +00:00
David Elliott
fc480dc16b Moved wxStandardPathsCF into base library when using CarbonLib or Darwin.
Make wxStandardPathsBase::Get() return a wxStandardPathsBase reference.
Implement it using wxAppTraits::GetStandardPaths() which is overridden by
wxMac and wxCocoa GUI libraries to return a reference to a wxStandardPathsCF.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-12 21:21:00 +00:00
Włodzimierz Skiba
954ec2763a MinGW fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-12 14:26:31 +00:00
Włodzimierz Skiba
ceefc965f9 Warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-12 14:23:02 +00:00
Ron Lee
0210f37397 Tagged DEBIAN_2_5_3_2 for release testing. Bumped subversion to 2.5.3.3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-12 13:09:09 +00:00
Ryan Norton
e05928eb5b fix hiding the other (mac) one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-12 10:23:22 +00:00
Włodzimierz Skiba
a418b1f3a2 Fix hiding wxMediaEvent::Clone().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-12 10:13:04 +00:00
Ryan Norton
7a5cebca9b spelling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-12 09:53:47 +00:00
Ron Lee
72259e0063 wxUSE_POSTSCRIPT is not a sufficient test by itself for
wxPostScriptPrintNative data.  This is probably still not
100% correct but at least msw builds again for mingw now.

Fixed bogus eof (and removed junk whitespace) from mediactl.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-12 06:52:19 +00:00
Ron Lee
f8a586e08e Cruft cleanup from MJW, strip the tabs out of sound.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-12 03:30:07 +00:00
Ron Lee
d51253e844 Patch from MJW for ssize_t
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-12 03:06:44 +00:00
Vadim Zeitlin
81152407d0 removed 2.0 compatibility stuff (patch 1054261)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-11 18:59:51 +00:00
Ryan Norton
8bf57c4f2e turn off directshow by default for lib dependancy
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-11 15:26:04 +00:00
Ryan Norton
212945de56 fixup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-11 15:17:35 +00:00
Ryan Norton
1746bcc5ff get rid of error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-11 08:06:20 +00:00
Ron Lee
a9decf2374 Remove a(nother) guaranteed build failure until what is it testing
for actually exists..


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-11 07:26:54 +00:00
Ryan Norton
3549217b24 ckconf
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-11 06:00:32 +00:00