Paul Cornett
69562a1d4c
remove gtk_window_set_type_hint from GetTooltipColors, it's not necessary and GDK_WINDOW_TYPE_HINT_TOOLTIP is not available before GTK 2.10
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-26 16:17:37 +00:00
Robert Roebling
4f33a4dd4c
compile fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-26 09:32:00 +00:00
Paul Cornett
a5de860f0b
fix getting tooltip colors for GTK 2.11
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-26 05:45:21 +00:00
Julian Smart
6da8eee196
Don't access null tip_window pointer [ 1767485 ] wxGtk uses private API, breaks with gtk 2.11.6
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-10 11:05:20 +00:00
Paul Cornett
dd2422b320
gtk_widget_destroy does not unref the widget unless it's a TLW or in a
...
container, so use gtk_object_sink to delete temporary, parentless widgets.
Fixes memory leak bug #1741184 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 06:53:30 +00:00
Vadim Zeitlin
f4322df68b
no changes, just removed TABs/trailing spaces
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 22:56:34 +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
Robert Roebling
9fcdfe053a
Leave a comment about drag threshold setting.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-28 08:33:23 +00:00
Robert Roebling
1e7373d0d3
Change drag threshhold (why was it multiplied
...
by 2 before?).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-27 15:42:09 +00:00
Włodzimierz Skiba
1832043f93
Include wx/toplevel.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-13 20:44:51 +00:00
Włodzimierz Skiba
ce5d92e150
Include wx/cmndata.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-25 21:08:11 +00:00
Włodzimierz Skiba
e7c80f9e05
wx/debug.h is always unconditionally included by wx/defs.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-24 15:13:23 +00:00
Mart Raudsepp
afeb58f16b
wxGTK2: We don't need to check for __WXGTK20__ here
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-06 11:59:07 +00:00
Mart Raudsepp
1efb5db896
Make everything compile with GTK_DISABLE_DEPRECATED declared.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-20 21:28:53 +00:00
Mart Raudsepp
68567a967b
Nuke GTK1 from src/gtk
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-22 20:29:17 +00:00
Vadim Zeitlin
17a1ebd101
first round of Intel compiler warning fixes: down from a few thousands just to slightly more than 100
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 19:59:19 +00:00
Mart Raudsepp
8907154c1a
Nuke #pragma implementation/interface's
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-23 12:56:45 +00:00
Robert Roebling
c05cc2c727
Apply patch for querying tooltip colours.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-16 06:59:57 +00:00
Vadim Zeitlin
e24b680c59
fixed bug due to missing break in GetColourFromGTKWidget() (part of patch 1160117)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-17 23:23:57 +00:00
Robert Roebling
5ac8ce9e05
GTK+ 2.0 compilation.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-11 20:47:45 +00:00
Kevin Hock
8e27732a43
GTK1 compilation fix from Mart R., followup to patch 1157735
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-08 20:02:51 +00:00
Robert Roebling
9b0b5ba76e
Applied GetSystemMetric patch to suppurt GTK and multihead
...
display.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-07 17:38:31 +00:00
Robert Roebling
9d6a9fdd13
Applied patched for combo box SELECTED events (no
...
long get lots of surplus events)
Applied patch for menu hihglight colour detection.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-06 12:49:20 +00:00
Robin Dunn
1d451c5bd1
wxSystemSettings::GetMetric returns -1 if the metric is not supported
...
by the port.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-29 21:56:22 +00:00
Robin Dunn
c4dc4cdd5a
Just return zero without failing for unknown metrics, like the other
...
ports do.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-29 16:49:01 +00:00
Václav Slavík
fdf7514a00
fixed memory leak in wxNativeFontInfo when using Pango
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-02 20:54:12 +00:00
Václav Slavík
44fd6f721a
implemented wxSS::GetMetric on wxGTK2 (patch 950618)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-30 13:06:50 +00:00
Julian Smart
655719367a
Use old licence name
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 20:53:33 +00:00
Julian Smart
77ffb5937e
Name and version changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 14:56:36 +00:00
Robert Roebling
119cd34193
This should fix a link error in GTK 2.3.X and
...
it is the right thing to do anyway.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-16 21:30:06 +00:00
Vadim Zeitlin
94a09ea5d3
don't crash on startup (fix for last change)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-23 12:09:04 +00:00
Vadim Zeitlin
c1ef87c33d
don't allocate system fonts/colours dynamically
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-21 23:30:03 +00:00
Václav Slavík
14f355c2b5
added support for gcc precompiled headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-09 12:46:53 +00:00
Václav Slavík
2269ff5679
fix one of reasons for crash if there is no font
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-20 20:20:16 +00:00
Václav Slavík
e7370dac93
fixed wxSYS_DEFAULT_GUI_FONT lookup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-19 23:17:01 +00:00
Robert Roebling
288059b2b9
Corrected GTK2 creation of default font.
...
Removed ugly SET_STYLE_FONT code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-31 10:31:05 +00:00
Vadim Zeitlin
2b5f62a0b2
merged 2.4 branch into the trunk
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-04 14:11:26 +00:00
Mattia Barbon
f618020a15
wxIconBundle implementation.
...
wxTLW::SetIcons() properly implemented for wxMotif, wxGTK, wxMSW, wxX11, wxUniversal
Placeholders that just call SetIcon for wxOS2 and wxMac.
Regenerated makefiles.
Added hardwired wxSYS_ICON_X/Y = 32 for wxGTK.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-26 21:54:23 +00:00
Vadim Zeitlin
221ed5767f
warning fixes in GetColor() for the newly added values
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-28 16:09:49 +00:00
Vadim Zeitlin
17d61cbfb4
added (dummy) implementation of GetMetric(wxSYS_CURSOR_[XY])
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-22 15:39:13 +00:00
Vadim Zeitlin
409d5a5860
better native font support for wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-18 20:01:49 +00:00
Václav Slavík
984152a6be
compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-08 23:35:42 +00:00
Václav Slavík
0ab5e0e88f
wxSystemSettings mods in wxMGL and wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-31 11:53:21 +00:00
Václav Slavík
253293c103
changed wxSystemSettings::HasFrameDecorations to more general GetCapability(index)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-30 23:30:04 +00:00
Vadim Zeitlin
dbcbe22962
made GetColourFromGTKWidget() more general, it is now used for all colours
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-20 15:19:37 +00:00
Vadim Zeitlin
3523b9cf8d
fix for wxSYS_COLOUR_LISTBOX colour detection
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-20 14:46:09 +00:00
Vadim Zeitlin
643ccf6203
extracted 4 copies of identical code into a function
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-20 14:13:04 +00:00
Julian Smart
7a5e62674f
Fixed some warnings (don't know why dialoged Makefile is being committed)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-06 14:23:44 +00:00
Julian Smart
37d403aa1c
Added to wxSystemSettings for better GTK+ themes compatibility
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-01 08:35:30 +00:00
Julian Smart
5b211fbf54
Added wxSYS_COLOUR_3DLIGHT
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-30 09:38:14 +00:00