Commit Graph

26333 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
f464a4f2af Added wxPyInputStream dtor. Use PyLong_FromLongLong iff needed for wxFileOffset
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 19:28:46 +00:00
Robin Dunn
cde9174af0 Use static method for AddCatalogLookupPathPrefix instead of global function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 19:23:23 +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
9f368d0d59 removed (unused) nCtlColor parameter of OnCtlColor()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 19:04:09 +00:00
Vadim Zeitlin
195df7a767 added tests for setting fg/bg colours
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 19:03:04 +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
6e9324fc52 removed duplicated code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 16:49:15 +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
Włodzimierz Skiba
06aa40d92c Do not make bitmap buttons with standard width (like in wxComboBox drop down button).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 15:55:24 +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
Ryan Norton
57ac1a563e patch [ 762159 ] scroll sample auto-scroll test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 07:16:40 +00:00
Ryan Norton
71f2fb52d5 Enable stl compilation with wxMac - unicode no work on 10.2 though. Modded patch 1051991.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 06:57:02 +00:00
Stefan Csomor
ee9a28abee apparently this code might be called with a CFSocket not yet constructed, guard against NULL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 06:34:47 +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
Vadim Zeitlin
17bcd9a6b5 set background style to wxBG_STYLE_COLOUR in SetBackgroundColour()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-18 22:32:52 +00:00
Václav Slavík
ffa762ff49 fixed libgnomeprint check to fail if libgnomeprint is too old
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-18 21:09:54 +00:00
Ryan Norton
e06cac589d [ 1067084 ] fs_zip.cpp assertion fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-18 17:03:02 +00:00
Ryan Norton
9de05dfd08 fix compilo pointed out by OW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-18 16:49:11 +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
Ryan Norton
dc2ee831d3 fix bug where color chosen by sliders wouldn't be registered. Optimized a bit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-18 16:24:11 +00:00
Ryan Norton
1e72e3cc53 fix dialogs sample to remember last color with generic color dialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-18 16:20:04 +00:00
Ryan Norton
40210d8a0a Add wxSizerFlags docs to wxSizer, wxSizerItem and wxSizer overview.
Mention that wxSizerFlags is PRELIMINARY.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-18 15:26:26 +00:00
Ryan Norton
f2fe4f6777 wxSizerFlags name fix, accessors only available to wxSizer (supposively :))
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-18 14:58:52 +00:00
Ryan Norton
2a3c8b658d wxsizerflags docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-18 14:52:04 +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
Ryan Norton
ae4bd80aa0 moved verbose changes to manual
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-18 14:15:48 +00:00
Ryan Norton
499e521b7b Add incompat and depre changes to manual
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-18 14:15:07 +00:00
Ryan Norton
0d2b62c57b fix various latex errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-18 14:14:43 +00:00
Ryan Norton
717ba4898b fix underscore errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-18 14:07:49 +00:00
Robert Roebling
f1c72f0ca0 Implemented DoDrawRotatedText() by way of a
rotation of a alpha blended text bitmap.
    It would be better if Pango could draw
    directly into an wxImage (as FreeType)
    can, but that is for later..


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-18 14:04:30 +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
Václav Slavík
6ff734acec reverted DrawRotatedText change, it's broken
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-18 10:30:22 +00:00
Julian Smart
5117f9bfae Null m_select_me when this item is deleted
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-18 10:02:56 +00:00
Stefan Csomor
1ad48afbfd avoid locale that always returns US-ASCII on wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-18 09:50:11 +00:00
Ryan Norton
18f8d06335 fix initial color
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-18 08:36:25 +00:00
Włodzimierz Skiba
0bcf9597ab Fixes for USE_GUI=0 to make pure wxBase makefiles possible. Nothing rebaked because GUI builds are not influenced (but makefiles minimally changed).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-18 08:14:18 +00:00
Robin Dunn
62038e5976 StandardPaths updates. Added a demo sample for StandardPaths. Made
the Python install prefix be the default install prefix for
StandardPaths.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-18 01:28:18 +00:00
Robin Dunn
e7e14318e7 Added wxBU_ALIGN_MASK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-17 23:50:46 +00:00
Robert Roebling
c874715013 Start for Pango 1.6 based text rotation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-17 21:57:16 +00:00
Robert Roebling
b199de5962 Added support for most print page/selection/copies
etc. options in the native GNOME dialog.
  Added support for printing rotated text and alpha
   channel images.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-17 21:56:02 +00:00
Stefan Csomor
8f7d7be817 added unix/stdpaths
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-17 18:38:10 +00:00