Commit Graph

36632 Commits

Author SHA1 Message Date
Paul Cornett
e47c778924 remove gtk_pizza_expose, its purpose is easily accomplished from existing expose-event handler in window.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 19:59:31 +00:00
Robert Roebling
e60022505d I don't think anylonger that DrawHeaderButton() should
be used for drawing grid row/col buttons. Also, the
   GTK2 port should not waste space per line of wxMSW
   doesn' waste it neither.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 19:44:39 +00:00
Robert Roebling
34445cc76d Left unused variable around.
Adjust window placement in the correct direction
    in RTL. This corrects in-place editing in wxGrid.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 19:18:48 +00:00
Robert Roebling
55dc8e189d Use widget->allocation instead of querying the
window size with a gdk_  call.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 19:13:18 +00:00
Robert Roebling
1e89eecdc2 Do not remove GDK events for native GTK+ controls.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 19:11:19 +00:00
Robert Roebling
9c862cfb93 [ 1577675 ] Fix for GTK warnings in wxNotebook::DoRemovePage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 18:44:33 +00:00
Paul Cornett
9fd707a51f non-pch build fix, cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 18:05:25 +00:00
Paul Cornett
ad0023978e non-pch build fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 18:04:23 +00:00
Paul Cornett
fc964c0d23 probable typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 18:03:36 +00:00
Mattia Barbon
9fd8f2dd3d Fix setting the clipping region for a DC when the region is an
actual wxRegion.
  Fix some positioning/sizing bugs, mosting affecting controls
inside scrolled windows.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 15:51:35 +00:00
Mattia Barbon
653752be8a Added wxRTTI macros to buffered DCs.
Fix a signed/unsigned warning.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 15:45:13 +00:00
Robert Roebling
8db7faf281 Correct window placement only once.
This fixes edit label control placement in wxListCtrl in RTL.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 15:03:17 +00:00
Stefan Csomor
fe63cfad2b adding missing typedefs for 10.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 07:57:03 +00:00
Stefan Csomor
cdac585c3b availability does not include any other headers, but it provides the necessary macros everywhere
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 07:46:49 +00:00
Paul Cornett
87d658e5d7 wrong caption for html window, cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 07:01:59 +00:00
Paul Cornett
af05af4d87 store GtkPizza border width in GtkContainer.border_width, eliminate GtkPizza.shadow_type
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 07:01:36 +00:00
Paul Cornett
02ae785a8a put back obviously-not-redundant resize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 05:42:13 +00:00
Paul Cornett
23c085422e remove redundant resize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 05:36:45 +00:00
Paul Cornett
d41e1ab481 replace use of deprecated GtkPixmap, gtk_container_border_width
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 04:36:31 +00:00
Paul Cornett
83b96a06ca logical vs. boolean operators, unused decls and vars, etc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 03:43:11 +00:00
Paul Cornett
b0ae510a86 deprecation fixes, plus some code size reduction and cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 01:10:01 +00:00
Paul Cornett
e338053c00 replace use of deprecated GtkPixmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 19:01:34 +00:00
Robin Dunn
64b75e644a Ensure Cairo is installed before setting wxUSE_GRAPHICS_CONTEXT for
wxGTK builds


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 18:07:42 +00:00
Robin Dunn
37c9624ecf Don't build animate by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 18:04:47 +00:00
Robin Dunn
62f51f1f90 Update to InnoSetup 5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 18:03:55 +00:00
Robin Dunn
3a5608d3cf Don't build the animate contrib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 18:02:49 +00:00
Paul Cornett
8c4e2405ca remove obsolete checks, minor cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 17:39:38 +00:00
Stefan Csomor
4f74e0d132 cleanup for 10.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 16:55:55 +00:00
Paul Cornett
50679f941e correct access for virtual
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 16:50:04 +00:00
Paul Cornett
eba91e51e8 replace use of deprecated GtkPixmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 16:49:14 +00:00
Stefan Csomor
7cd7bc23d5 cleanup for 10.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 16:18:09 +00:00
Stefan Csomor
4913272f9c cleanup for 10.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 16:02:39 +00:00
Stefan Csomor
f387b80e0e cleanup for 10.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 15:48:32 +00:00
Stefan Csomor
e6c3d3e655 cleanup for 10.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 15:30:02 +00:00
Stefan Csomor
fb743cab53 cleanup for 10.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 15:15:00 +00:00
Stefan Csomor
eb89f88a43 cleanup for 10.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 14:55:46 +00:00
Stefan Csomor
8c9fd6e54e cleanup for 10.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 14:46:31 +00:00
Robert Roebling
fc2d420900 Make status bar grip move to the left in RTL.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 14:36:18 +00:00
Robert Roebling
80fdb7b34d Remove tree control lines unconditionally under
GTK2 (similar to what wxMac does) as it simply
    looks wrong (as we are using GTK+ tree buttons).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 13:24:26 +00:00
Robert Roebling
39b5648ed2 Forgot border when reversing coordinates for RTL.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 13:22:37 +00:00
Robert Roebling
47892637d3 Left in debug printf.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 07:10:14 +00:00
Robert Roebling
db71eb0640 Better place for coordinate mirroring and removal
of stupid hack.
  This makes the positioning correct in the end but
    leaves window hopping when resizing unsolved
    in RTL mode.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 07:06:50 +00:00
Paul Cornett
bfeeb7f3a2 remove unused XIM code, minor cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 04:03:24 +00:00
Robin Dunn
8e99bda941 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-13 19:57:27 +00:00
Robin Dunn
d9c8cf74dd text tweak
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-13 19:56:45 +00:00
Robin Dunn
b8dc98c8f5 This works ok on Mac now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-13 19:55:29 +00:00
Robin Dunn
b7dd8ad1b4 comment out prints
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-13 19:32:15 +00:00
Robin Dunn
5b20646ea8 Add USE_GDIPLUS=1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-13 19:20:49 +00:00
Robin Dunn
96285a18aa wxMemoryDC constructor now optionally accepts a wxBitmap parameter,
calling SelectObject itself if a valid bitmap is passed.

Reverted wxBuffered[Paint]DC to nearly the pre 2.7.1 state, kept
wxAutoBufferedPaintDC and added wxAutoBufferedPaintDCFactory.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-13 19:19:36 +00:00
Robin Dunn
19c9f36f13 Reverted wxBuffered[Paint]DC to nearly the pre 2.7.1 state, kept
wxAutoBufferedPaintDC and added wxAutoBufferedPaintDCFactory.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-13 19:14:21 +00:00