Robert Roebling
143318ddbb
Applied patch to avoid g_lib wanrings.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-03 12:43:28 +00:00
Robin Dunn
b04683b19e
If wxGetStockGtkID returns NULL (such as with wx.ID_INDENT on GTK 2.2)
...
then fall back to normal label setting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-01 23:22:47 +00:00
Chris Elliott
1d60802908
fix menu switching between children
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-01 13:39:17 +00:00
Václav Slavík
b5ab476a0f
load icons from current icon theme under GTK >= 2.4, too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-30 22:31:41 +00:00
Václav Slavík
0100b858d6
(partially) fixed splitter sash rendering under GTK2
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-30 16:42:36 +00:00
Václav Slavík
5f7bcb48fd
new stock buttons API
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-30 14:42:51 +00:00
Julian Smart
de434621d8
Don't draw flat box unless background style is system
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-29 13:55:13 +00:00
Julian Smart
c7382f913c
SetBackgroundStyle(wxBG_STYLE_CUSTOM) can now be used to optimize
...
background erase on wxGTK (no-op on other platforms)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-29 13:32:45 +00:00
Václav Slavík
ab86c659ac
added alpha channel support
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-22 19:36:37 +00:00
Václav Slavík
7bebedd826
added GTK2 implementation of wxArtProvider
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-22 19:23:53 +00:00
Václav Slavík
70dcce7906
set mask when converting pixbuf to pixmap
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-22 18:32:55 +00:00
Václav Slavík
87e53e2a94
use GTK+ API for setting icons instead of direct X11 calls
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-22 18:23:14 +00:00
Václav Slavík
6db34764d7
added pixmap->pixbuf conversion as well
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-22 18:21:11 +00:00
Václav Slavík
7452aff578
added alpha channel support to wxGTK2's wxBitmap
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-21 22:48:45 +00:00
Václav Slavík
feac79373c
added alpha channel support to wxGTK2's wxBitmap
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-21 22:42:06 +00:00
Václav Slavík
4fab71288e
1. added support for bitmaps with alpha channel
...
2. use GtkImage instead of deprecated GtkPixmap with GTK2
3. create bogus pixmap instead of GtkLabel in wxStaticBitmap with invalid bitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-21 22:41:04 +00:00
Václav Slavík
04cc1e93ed
fix for hot keys in menu items (patch 1013082)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-20 20:31:37 +00:00
Robert Roebling
81e88f5bc8
Applied Andreas patch for applying the widget style
...
to a wxRadioBox's GtkFrame.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-17 20:53:29 +00:00
Václav Slavík
098937b044
fixed handlers registration in DoPopupMenu (patch 1009949)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-16 13:13:30 +00:00
Václav Slavík
a29b55cdf6
fixed wxImage->wxBitmap conversion for images with alpha channel
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-16 12:31:42 +00:00
Václav Slavík
bc0eb46c01
more GetDefaultAttributesFromGTKWidget fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-15 20:36:04 +00:00
Václav Slavík
c20889abf8
fixes for stock items not known to some GTK+ versions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-15 19:08:22 +00:00
Václav Slavík
a650b927da
compilation fix for GTK2 < 2.4
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-15 18:39:25 +00:00
Václav Slavík
66d8fe7712
style obtained from a widget not associated with screen may be wrong; we must create toplevel window and insert the widget into it to get correct style
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-15 16:03:06 +00:00
Václav Slavík
4fa87bd948
1. added stock buttons support
...
2. fixed wxButton::GetDefaultSize to return realistic values
3. fixed DoGetBestSize to don't create buttons smaller than standard GTK+2 buttons w/o wxBU_EXACTFIT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-15 15:44:43 +00:00
Václav Slavík
6dd18972d5
invalidate best size cache when GTK style changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-15 11:49:42 +00:00
Václav Slavík
61721d057e
reverted accidentally committed changes in previous revision
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-14 22:54:11 +00:00
Václav Slavík
40bab631d2
attributes inheritance fix; apply style to both m_wxwindow and m_widget (patch 984858)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-14 22:42:23 +00:00
Václav Slavík
97357eecf1
gtk notebook page style fixes (patch 984864)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-14 22:08:04 +00:00
Jouk Jansen
ac87906548
Committing in .
...
OpenVMS updates
Modified Files:
wxWidgets/src/gtk/descrip.mms wxWidgets/src/motif/descrip.mms
wxWidgets/src/unix/descrip.mms
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-12 08:11:12 +00:00
Václav Slavík
defc0789c1
really fixed wxMenuBar::Remove (bug 610850): reverted incorrect patch 649599 and fixed data corruption and leaks in GTK+ structures
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-09 16:08:20 +00:00
Robin Dunn
fff8475e0c
A better workaround for Bug# 901694 that works with GTK+ 1.2, 2.2
...
*and* 2.4.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-06 23:09:17 +00:00
David Elliott
e219748f2c
Removed unneeded GSocket files
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-05 20:05:17 +00:00
David Elliott
0a64769125
C->C++ conversion
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-04 03:04:53 +00:00
Vadim Zeitlin
acb69c1342
invalidate m_selection in DoRemovePage(), not in DeletePage() (replaces patch 998984)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-30 23:38:36 +00:00
Vadim Zeitlin
3754265e32
switched to wxEventLoopBase/wxEventLoop implementation (instead of m_impl based one) for wxMSW; minimal changes for the other ports
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-30 22:54:31 +00:00
Julian Smart
22800f325f
Can't use directives within a macro
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-29 20:21:02 +00:00
Vadim Zeitlin
7fc4caa60a
compilation warning fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 17:25:04 +00:00
Vadim Zeitlin
f2f38edc2c
invalidate selection when deleting the page changes its index (replaces patch 865500)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 17:12:28 +00:00
Vadim Zeitlin
189f58faea
don't assign the same normal value for all the other bitmaps, leave them empty (patch 990370)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 16:33:38 +00:00
Vadim Zeitlin
fe51e08c27
generate EVT_CONTEXT_MENU when right mouse button is pressed, not released
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 22:13:04 +00:00
Vadim Zeitlin
74c5a810e5
show the cursor on screen after moving it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 21:56:25 +00:00
Vadim Zeitlin
8e033d81f2
don't crash if WriteText() argument can't be converted to UTF-8
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 21:34:19 +00:00
Vadim Zeitlin
1ce52aa64b
implemented ScrollLines/Pages() for GTK+ 2
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 21:32:44 +00:00
Vadim Zeitlin
c04ec49657
fixed inserting styled text into an empty control under GTK+ 2.0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 19:59:00 +00:00
Vadim Zeitlin
692c9b8696
implemented HitTest() for GTK2; test it in the sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 18:07:40 +00:00
Robin Dunn
6077391138
Set m_wheelDelta for wheel events
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-21 19:06:56 +00:00
Vadim Zeitlin
5de9f492ec
added DoPrepareDC()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 16:30:22 +00:00
Václav Slavík
7706daf38b
more GTK2+ANSI fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-17 20:50:46 +00:00
Václav Slavík
d8e1fe80ad
wxTLW::IsMaximized for wxGTK2 (patch 992743)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-17 16:53:28 +00:00