Commit Graph

26175 Commits

Author SHA1 Message Date
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
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
Włodzimierz Skiba
ecae80b250 Typecast before endian adjustements.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-17 16:36:28 +00:00
Włodzimierz Skiba
26481315da Several casts due to assigning signed to unsigned or more to less bits of integral values.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-17 16:13:29 +00:00
Włodzimierz Skiba
682f3d0207 Typecast during compilation instead of class constructor call (OW warnig fix).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-17 16:11:08 +00:00
Stefan Csomor
f3660dcb2f wxStat call preliminary fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-17 15:16:58 +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
Julian Smart
22cfea03b8 Added IsTopLevel() check to last message loop in PreProcessMessage. This
stops e.g. ESC being processed by a parent modal dialog if not processed
by the child -> assert and lockup


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-17 13:42:14 +00:00