Václav Slavík
bbd92d1dbe
moved win_gtk.h header to wx/gtk/private, it's for internal use only
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-22 13:24:05 +00:00
Julian Smart
df707c27b3
Cut down on unnecessary update events
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-14 11:08:49 +00:00
Václav Slavík
0618e761cb
removed unused g_focusWindowLast
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-13 14:47:21 +00:00
Paul Cornett
8466fc74fa
compute scrollbar widths in a more standard way, get rid of redundant m_hasScrolling member
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-10 17:48:33 +00:00
Paul Cornett
24377c4681
remove old thread debugging code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-20 06:25:12 +00:00
Robin Dunn
c53c7fad2e
Add a FIXME for a reminder...
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-13 20:58:06 +00:00
Julian Smart
ac9d38d811
Reverted mouse position change - wxMSW does send (-1, -1) for keyboard context menu access
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-04 21:52:06 +00:00
Julian Smart
dc0c395d83
Context menu event from keyboard records the mouse position, not -1, -1,
...
in line with wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-04 13:38:45 +00:00
Paul Cornett
faeaa9db1c
don't set resize mode to QUEUE, it seems to be wrong for a wxWindow in a native container
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-02 18:13:07 +00:00
Václav Slavík
937013e0fd
1. added wxEvtHandler::SafelyProcessEvent() and wxWindow::HandleWindowEvent() to correctly handle exceptions in even handlers in wxGTK
...
2. use HandleWindowEvent() everywhere as more obvious and convenient shortcut for GetEventHandler()->ProcessEvent(); also for consistency with wxGTK where it's required
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-29 17:00:58 +00:00
Paul Cornett
19abd352e8
remove unused/unneeded stuff from gtk/private.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-25 03:33:26 +00:00
Paul Cornett
915bd4e484
build fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-20 16:55:36 +00:00
Paul Cornett
d7645b3edb
put the useable border styles in one place
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-14 02:37:52 +00:00
Julian Smart
e50488546a
Getting borders working
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-13 14:27:26 +00:00
Paul Cornett
a8eb15f3ff
block signal handler rather than disconnecting
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-13 05:25:54 +00:00
Paul Cornett
03eaa52a6e
cleanup copy-and-paste
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-12 01:04:02 +00:00
Robert Roebling
6de67633bd
More attempts to better support theme borders
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-09 20:57:39 +00:00
Robert Roebling
2109c0243d
little fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-09 15:26:53 +00:00
Robert Roebling
99529b9c4b
Trying to get these drawing right (little success)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-09 15:07:14 +00:00
Robert Roebling
a8bfbebf9c
We don't use the old GtkCombo widget any more
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-09 09:04:17 +00:00
Robert Roebling
d91eb06e9c
We don't use the old GtkCombo widget any more
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-09 09:00:57 +00:00
Paul Cornett
08f53168ac
New "pizza" widget implementation. Window border widths now match the GtkStyle they are drawn with.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-06 18:14:15 +00:00
Vadim Zeitlin
ff654490b7
removed all compile- and run-time checks for GTK+ < 2.4; don't include the generic files which are now never used in wxGTK in the build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-05 22:31:24 +00:00
Paul Cornett
08809d1886
build fixes for universal
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-04 19:39:12 +00:00
Julian Smart
013151c744
Implementation of wxSysColourChangedEvent on wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-27 17:38:39 +00:00
Julian Smart
8ab7b4c5d5
Workaround for gtk-qt display bug
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-26 10:25:04 +00:00
Paul Cornett
cca410b336
Use a GtkVBox to do TLW layout. Rework some of the remaining sizing code.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-24 18:07:24 +00:00
Vadim Zeitlin
e4161a2a08
use -Wunused-parameter with gcc for consistency with MSVC and other compilers which warn about this; fix the uncovered warnings in wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-23 22:19:34 +00:00
Robert Roebling
fd8a7b0b37
[ 1803350 ] Wrong top-level window positioning on scrolled window
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-27 20:21:52 +00:00
Vadim Zeitlin
74ab5f5b9d
various warning fixes for icc 9.1 compilation
...
- variable shadowing
- unused code and variables
- extra semicolons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 12:00:25 +00:00
Julian Smart
24bd6cb9df
Optimized update events by only sending them to visible windows
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 10:51:31 +00:00
Paul Cornett
db885f2a99
return type for "grab-broken-event" is not void; remove some redundant conditionals
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-18 15:51:07 +00:00
Julian Smart
78cd9c69eb
wxBORDER_THEME now means 'use an appropriate themed border' on all plaforms
...
as opposed to wxBORDER_NONE which may or may not show a border, depending on control.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-18 10:48:05 +00:00
Robert Roebling
00ff24c81c
Always make wxWindow::SetFocus() focus the window, overriding SetCanFocus, some more focus related docs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-17 10:17:12 +00:00
Robert Roebling
7cec1c9e15
Implement wxWindow::SetFocusIgnoringChildren for GTK+
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-15 22:06:22 +00:00
Robert Roebling
9e86e5ca64
Remove redundant test later in keypress handling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-15 10:31:38 +00:00
Robert Roebling
03a126c68c
Only send keypress events to focus widget, not its parents
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-15 10:29:26 +00:00
Paul Cornett
63c95f2734
let GtkRange clamp scroll position
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-15 02:58:14 +00:00
Paul Cornett
1d59165194
remove m_blockScrollEvent from wxWindowGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 04:26:33 +00:00
Julian Smart
c7bfb76a2c
A number of focus handling improvements:
...
Left clicking on a window only focuses the window if not processed.
wxControlContainer::SetFocus moved to wxControlContainerBase so that a container now focuses the first child even on wxGTK.
wxAuiBook is now a container, need for correct navigation on wxGTK.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-18 10:54:31 +00:00
Robert Roebling
4b859ff461
compile with GTK < 2.8
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-16 18:31:11 +00:00
Vadim Zeitlin
7738af5957
relinquish the mouse capture when a dialog is about to be made modal to ensure that the mouse can be used in it (patch 1754648)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 21:01:30 +00:00
Vadim Zeitlin
b4e4313265
add support for 4th and 5th mouse buttons; reduce code duplication
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-29 01:11:20 +00:00
Vadim Zeitlin
7a3ba5af83
wxGTK/Univ compilation fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-18 22:01:06 +00:00
Robert Roebling
60869e7219
Compilo.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 08:03:52 +00:00
Vadim Zeitlin
00ce89e74a
compilation fixes for wxUSE_COMBOBOX/RADIOBTN==0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 00:03:09 +00:00
Vadim Zeitlin
edc0987174
CanAcceptFocus() now returns true if either the window itself or one of its children accepts focus; added new IsFocusable() to test whether the window itself accepts focus
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-28 12:04:06 +00:00
Paul Cornett
9826452012
block signal handlers, instead of disconnecting, to temporarily disable them
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-27 17:38:13 +00:00
Robert Roebling
40e5ebbf98
Upport scrolling changes and mouse wheel changes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-23 16:55:26 +00:00
Vadim Zeitlin
788f963310
don't crash in SetBackgroundStyle() if the window is not realized
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 19:36:02 +00:00