Robert Roebling
f8b043e78f
Added better visual feedback for tree control
...
triangles. They now have a sort of prelight
status like they have under GTK2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-16 23:12:33 +00:00
Robert Roebling
ca06ee0df7
wxGPE updates to HEAD.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-15 15:31:39 +00:00
Vadim Zeitlin
15475ced88
suppress triple clicks generation completely for GTK2 as it makes long click series generate exactly the same events as under other ports (patch 895564)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-12 16:41:59 +00:00
Vadim Zeitlin
b1f50e652c
restored defaults in switchs removed in the last commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-10 19:30:20 +00:00
Vadim Zeitlin
f3f0d961af
don't just drop click events resulting from triple clicks
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-09 23:28:13 +00:00
Robert Roebling
35468934e0
Improvements for splitter sash hack. GTK2 look
...
good now, GTK1.2 jumps two pixels for some
reason.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 23:00:53 +00:00
Robert Roebling
9b3119232c
Draw listctrls's headers right for themes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 20:37:28 +00:00
Mattia Barbon
584ad2a32f
Added some missing STL-like wxArray/wxArrayString constructors.
...
Added helper class wxCArrayString, better replacement for
wxArrayString::GetStringArray.
Added overloaded constructors and Create() methods taking
a wxArrayString for wxCheckListBox, wxChoice, wxComboBox,
wxListBox, wxRadioBox, wxSingleChoiceDialog, wxMultipleChoiceDialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-31 18:21:45 +00:00
Robin Dunn
9add93670b
wxMenu::Append (and similar) now return a pointer to the wxMenuItem
...
that was added. Checked on MSW, GTK, and Mac, other port authors
please double check changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-23 18:46:05 +00:00
Vadim Zeitlin
f8f9ec5563
implemented SetSelection
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-22 15:20:34 +00:00
Vadim Zeitlin
279b5e2ece
implemented HitTest() (modified patch 875957)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-22 14:47:19 +00:00
Vadim Zeitlin
b870b105ae
fix what seems to be a big memory leaks in SetPageImage()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-22 14:39:29 +00:00
Julian Smart
2cfddfe7ca
Sometimes the clipping region can become bigger than the
...
actual window, and this can cause X11 to fail inside gdk_gc_set_clip_region
intermittently. The clipping region is now limited to the actual
window size so only valid regions can be passed to this function.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-19 21:35:17 +00:00
David Elliott
180f971462
Copied gsockgtk.c revision 1.16
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-18 21:45:53 +00:00
Mattia Barbon
e94e2e952b
Handle client data correctly.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-17 22:14:38 +00:00
Julian Smart
6463b9f539
Reverted patch [ 832096 ] Final separation for GUI and console for Open Watcom
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-15 13:49:22 +00:00
Julian Smart
73e68c1d43
Applied patch [ 838940 ] notebook labels are not shown when built with GTK2
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-11 20:58:10 +00:00
Julian Smart
1169a91932
Applied patch [ 832096 ] Final separation for GUI and console for Open Watcom
...
(Watcom compiler doesn't like ctor implementation in headers)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-11 15:33:01 +00:00
Julian Smart
823faac334
Removed code duplication introduced during wxUniv merge in 1.132
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-03 17:58:51 +00:00
Julian Smart
dac3065d25
WXK_PRIOR/WXK_NEXT are aliases for WXK_PAGEUP/WXK_PAGEDOWN
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-26 11:33:15 +00:00
Václav Slavík
5819297093
compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-12 23:53:05 +00:00
Julian Smart
557c9f5b0a
Applied patch [ 829367 ] Correctly handle mouse wheel for X Windows GTK 2
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-11 10:35:17 +00:00
Julian Smart
bb56b0a828
Applied [ 828322 ] Use gdk_draw_polygon for the outline in DoDrawPolygon
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-11 10:14:38 +00:00
Julian Smart
aad6765cbd
Applied patch [ 828303 ] Slight wxColour cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-11 10:10:40 +00:00
Julian Smart
95c430aa2e
Aplied patch [ 816113 ] Inconsistent GetCharWidth over platforms
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-11 09:05:48 +00:00
Julian Smart
133fb2a3a0
Applied patch [ 816021 ] SetFont without m_widget
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-11 08:06:08 +00:00
Julian Smart
3fc93ebd18
Applied patch [ 818941 ] Initialize vars and clear wxImageList
...
Also small speedup in wxFileIconsTable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-11 08:01:04 +00:00
Julian Smart
905f21104d
Applied patch [ 810585 ] wxTextCtrl::GetTextLine returns empty String
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-11 07:12:27 +00:00
Robin Dunn
e8e24dfa93
Use InheritAttributes for wxGTK widgets so they will check
...
ShouldInheritColours. Set wxButton to not inherit colours.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-03 03:24:47 +00:00
Mattia Barbon
671d21303f
Compilation fix for !WXWN_COMPATIBILITY_2_4.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-08 18:45:01 +00:00
Vadim Zeitlin
727953356d
removed calls to wxWindowBase::InitBase(), it is called from the ctor anyhow (and so was called twice)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-30 23:08:39 +00:00
Vadim Zeitlin
45df080916
really applied Robert's patch (and not the converse of it)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-27 21:41:53 +00:00
Vadim Zeitlin
07e9d4f0ed
don't refresh the font unnecessarily (patch from Robert Vazan)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-23 16:48:45 +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
Vadim Zeitlin
564a150b1f
replaced all occurences of wxColourDatabase::FindColour() with Find(); minor code cleanup here and there
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-18 23:51:01 +00:00
Robert Roebling
f9ebac93e7
Further corrections to bitmap and blit code.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-18 19:23:19 +00:00
Vadim Zeitlin
4e6b83091a
added CreateByName(), use it in wxColourDatabase
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-17 17:39:28 +00:00
Robert Roebling
551b5391ae
\
...
Updated bitmap blitting code as per 2_4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-17 14:28:52 +00:00
Vadim Zeitlin
5cb4253ec2
update the selection properly after deleting the page
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-15 22:59:36 +00:00
Robert Roebling
d90c9596c1
Applied new DoDrawBitmap() and DoBlit() from 2_4
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-09 20:03:17 +00:00
Robert Roebling
783da8450c
Added wxBitmap::Rescale() from 2_4
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-09 20:01:49 +00:00
Robert Roebling
a912c1849d
Compilo.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-06 18:43:45 +00:00
Robert Roebling
34b5e560a9
Implemented wxChoice::SetString()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-06 18:09:20 +00:00
Robert Roebling
0d2bf8bf45
Fixed bitmap problem reported last week.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-06 15:59:54 +00:00
Robin Dunn
bfe3577625
Added a const to be consistent with the generic class
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-02 16:51:36 +00:00
Vadim Zeitlin
f6bc4102d7
and now it even compiles
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-30 22:26:47 +00:00
Vadim Zeitlin
e2380ce157
make Delete() work in presence of client data
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-30 22:24:06 +00:00
Vadim Zeitlin
dd435a79ed
removed wxApp::Initialized() (replaced with a dummy version in wxApp itself); wxApp in wxGTK now uses wxEvtLoop too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-27 13:47:46 +00:00
Vadim Zeitlin
6bb7cee4e9
fixes to radio button handling (patch 803360)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-26 19:43:47 +00:00