Commit Graph

19315 Commits

Author SHA1 Message Date
Paul Cornett
9be3f7558d wxBitmap does not need to use gdk_wx_draw_bitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-13 05:56:27 +00:00
Paul Cornett
13785a4b8f more accurate mask creation for low color displays
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-13 05:12:18 +00:00
Vadim Zeitlin
005eba5abd fixed crash if the control is moved while the popup is open (patch 1539194)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-13 01:24:30 +00:00
Vadim Zeitlin
c667b518d1 fixes for several fatal problems when using wxComboCtrl as popup (patch 1539124)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-13 01:22:37 +00:00
Vadim Zeitlin
ad6791377d fixed SetSelection(-1) for controls with multiple selection (patch 1537282)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-13 01:13:53 +00:00
Vadim Zeitlin
d870a03054 added wxULongLong::ToDouble() (patch 1531597)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-13 00:44:44 +00:00
Vadim Zeitlin
9e68717c92 F4 key also toggles combobox popup under MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-13 00:41:42 +00:00
Vadim Zeitlin
b445b6a76e better key handling for MSW and GTK (patch 1526666)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-13 00:35:02 +00:00
Vadim Zeitlin
d1af8e2dd9 added wxDir::FindFirst() (modified patch 1525502)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-13 00:23:58 +00:00
Paul Cornett
afbfbfdf2b use GDK to convert pixmap to RGB for wxImage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-12 21:39:22 +00:00
Stefan Csomor
6d4835dccb adding support for embedded controls in native toolbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-11 19:57:28 +00:00
Paul Cornett
4d1ebc8664 change deprecated gdk_image_get to gdk_drawable_get_image
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-11 17:34:54 +00:00
Václav Slavík
dad5ae6ddc compilation fix for compilation w/o precompiled headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-11 12:17:15 +00:00
Paul Cornett
5588ce9276 code simplification and minor cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-11 05:14:19 +00:00
Stefan Csomor
431a371933 compilo introduced fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-11 04:41:11 +00:00
Stefan Csomor
a9b456ff08 removing non-compositing code, adding individual transparency
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-11 04:39:23 +00:00
Stefan Csomor
bc78039c5f fix for 64 bit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-11 04:32:56 +00:00
Stefan Csomor
a62f32af00 removing code for pre 10.3 systems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-11 04:31:33 +00:00
Stefan Csomor
b86db821bf we're always compositing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-11 04:29:11 +00:00
Stefan Csomor
0973b7df99 fixing compilo for 10.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-11 04:28:16 +00:00
Stefan Csomor
3a5ff9b13b committing the code for resolution independence (turned off)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-11 04:26:16 +00:00
Stefan Csomor
f21449aead we are always compositing on the supported OS versions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-11 04:23:39 +00:00
Stefan Csomor
e779b60938 we are always compositing on the supported OS versions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-11 04:17:19 +00:00
Paul Cornett
6be2e1ffd5 revert unintended checkin of experimental change to Rescale()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-10 18:41:12 +00:00
Paul Cornett
c19bfe363b avoid using deprecated gdk_image_new_bitmap()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-10 16:04:07 +00:00
Vadim Zeitlin
cc87fbed40 removed wxHtmlWindow::m_Style which duplicated wxWindow::m_windowStyle and prevented changeing wxHW_XXX window style after Create() from working
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-10 15:46:49 +00:00
Vadim Zeitlin
f242653114 move the logic for changing notebook pages using the standard Ctrl-Tab/PageUp/Dn keys even when focus is outside of the notebook to wxControlContainer from wxTopLevelWindowMSW to allow it work for notebooks whose parent is not a TLW (as a side effect, this now also works in all ports although I don't really know how desirable this is)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-10 15:42:07 +00:00
Václav Slavík
123343b372 compilation fix for compilation w/o precompiled headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-10 13:53:25 +00:00
Václav Slavík
3da12c22f2 moved mgl/colour.{cpp,h} to generic so that it can be reused by other ports without native colour representation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-10 11:16:30 +00:00
Stefan Csomor
9a62fa17b1 using newer API
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-10 05:31:13 +00:00
Vadim Zeitlin
9323249903 fixes for SetRange(): ensure that the value is valid for the new range; update the visible state of the spin arrows when range becomes [in]valid
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-10 00:44:44 +00:00
Vadim Zeitlin
5ec60151bf added NormalizeValue() which can be used to ensure that the control value is in range
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-10 00:43:35 +00:00
Vadim Zeitlin
e63f19ba93 Added wxID_PAGE_SETUP standard id
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-10 00:14:55 +00:00
Václav Slavík
71451a6d16 moved wxIcon implementation for ports where it's identical to wxBitmap to generic/icon.{cpp,h} so that the same code is not duplicated several times
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-09 17:59:30 +00:00
Michael Wetherell
bc023abbbb Detect and use sys/select.h required by POSIX for select
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-09 11:18:24 +00:00
Stefan Csomor
05fd8c78b0 adding new files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-09 05:19:38 +00:00
Stefan Csomor
3e7f443280 fixing code for shared mach-o builds (removing no-ops)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-09 05:09:26 +00:00
Stefan Csomor
24fcd264a7 simplifying alpha, adding commented part for high-res screens
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-09 05:07:25 +00:00
Stefan Csomor
de8e2d312f fixing y-transformations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-09 00:14:41 +00:00
Václav Slavík
1967c0674e fixed SetBackground's argument check
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-08 16:37:26 +00:00
Václav Slavík
e772e33055 fixed gcc warnings about wrong format string
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-08 15:11:30 +00:00
Václav Slavík
869b59fc91 added wxRect::Inside(wxRect) for testing if a rectangle is completely within another rectangle
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-08 14:21:44 +00:00
Václav Slavík
6632225c98 1. made wxImage compile with wxUSE_STREAMS but without wxUSE_FILE
2. changed to work with wxFFile*Streams if wxUSE_FILE=0 and wxUSE_FFILE=1


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-08 13:48:37 +00:00
Václav Slavík
1f3b2af0fe wxPipeInputStream depends on wxFile, use wxUSE_FILE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-08 13:11:52 +00:00
Václav Slavík
b626fee238 safer GetFeature implementation: assert on unknown feature
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-08 10:15:15 +00:00
Robin Dunn
1736f021a8 Change Fit() back to using SetSize, not SetClientSize.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-07 18:20:02 +00:00
Stefan Neis
744c594651 Fixed (?) problem in region handling which caused major redraw problems.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-06 22:00:10 +00:00
Vadim Zeitlin
7ce6cc9b8e unified wxFRAME_EX_CONTEXTHELP and wxDIALOG_EX_CONTEXTHELP in a single wxWS_EX_CONTEXTHELP and changed its value to avoid conflict with wxWS_EX_TRANSIENT (this resulted in all progress dialogs having useless context help button in their title bar)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-06 12:56:48 +00:00
Angel Vidal Veiga
98e7a7f97f Backporting from my SoC branch, fix for remotely closed sockets firing input events till destroyed or closed locally.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-06 04:46:57 +00:00
Mart Raudsepp
eb78c69afd Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-05 00:50:54 +00:00