Vadim Zeitlin
e8759560f8
add wxRenderer::GetCheckBoxSize(); refactor wxGTK code to avoid duplication ( #9642 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 21:51:22 +00:00
Václav Slavík
87ec008f42
Fixed detection of Meta key state so that NumLock isn't misdetected as Meta.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-21 22:10:13 +00:00
Paul Cornett
b22bb1a015
gtk-universal build fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-07 16:00:41 +00:00
Vadim Zeitlin
c1bc8d9f92
don't use deprecate SetClippingRegion(wxRegion)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-09 15:52:04 +00:00
Vadim Zeitlin
5af86f4df5
don't take the min size into account when setting the window size explicitly in wxGTK, just as wxMSW doesn't do it; mention this in the docs and added a unit test to enforce this
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-25 03:08:31 +00:00
Paul Cornett
2a23042680
fix some warnings from GCC -Wextra
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-15 17:24:48 +00:00
Paul Cornett
8d49fda64d
don't send paint events for exposures of the border-only GdkWindow, fix for bug 1894655
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-10 17:30:56 +00:00
Václav Slavík
29901843fd
set initial GTK_CAN_FOCUS value to match AcceptsFocus (fixes wxTreeCtrl text control dismissing after r52476)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-29 18:14:57 +00:00
Václav Slavík
89267fe552
fixes to Freeze/Thawn when the window is shown or hidden in between Freeze and Thaw
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-22 11:55:11 +00:00
Václav Slavík
22f43cb5a7
fixed spurious debug message about unexpected focus change when wx focus changed more than once before event loop iteration
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-22 11:47:57 +00:00
Václav Slavík
b1bb04c5a6
made wxAcceleratorTable work with buttons in wxGTK too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-18 16:21:15 +00:00
Paul Cornett
edd6813c82
remove duplicate wxTaskBarIconAreaBase::DoPopupMenu, extracting the one-line difference into a new virtual
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-18 04:06:50 +00:00
Paul Cornett
bcf7614cf3
move wxWindowGTK::DoPopupMenu back to window.cpp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-18 03:32:27 +00:00
Václav Slavík
bd2e08d065
simplified and cleaned up wxGTK's focus handling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-14 01:10:43 +00:00
Václav Slavík
c1f615bf14
made wxFindFocusedChild static, the comment wasn't telling truth anymore
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-05 15:31:09 +00:00
Václav Slavík
5f346ddc0a
implemented Freeze/Thaw in wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-04 10:03:01 +00:00
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