Commit Graph

2197 Commits

Author SHA1 Message Date
Vadim Zeitlin
a0af0d98b5 don't lose fonts underlined flag in ReInit() (bug fix for the change in rev. 1.76)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-05 14:09:36 +00:00
Václav Slavík
a5441ce3a5 return version of GTK+ library the app links against, not the one it was compiled with
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-02 23:36:07 +00:00
Robert Roebling
75a22e8106 Only when wxTE-PROCESS_ENTER has been set.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-01 23:31:16 +00:00
Robert Roebling
4a11cca24d Spin control now emits TEXT_ENTER commands.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-01 23:28:50 +00:00
Robert Roebling
055e633de6 Make multi-line text control focussable
by using tabs under GTK 2.0.
  Make hitting ENTER in a wxSpinCtrl to
    activate the default button work.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-01 22:42:07 +00:00
Robert Roebling
47e118ba9a GPE uses generic dialogs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-28 15:27:11 +00:00
Robert Roebling
62be94e1b1 make use of GPE feature
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-28 13:18:08 +00:00
Julian Smart
f9d5648a95 Fix for compilation under GTK+ 2.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-22 22:04:22 +00:00
Václav Slavík
2ded391d8f added reference to the bug in case somebody wanted to remove this
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-22 21:05:54 +00:00
Robert Roebling
71628a57aa Upported menu bitmaps from 2.4.2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-22 17:29:34 +00:00
Robert Roebling
ff1c71a24f Small correction to radio box look.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-22 17:28:25 +00:00
Robert Roebling
91fdca5b17 Draw bug.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-22 14:30:14 +00:00
Robert Roebling
d7f1759ac1 Commit mentioned fix/hack to enable controls
inside a notebook to calculate the right size.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-22 11:51:23 +00:00
Robert Roebling
b7b7dedc1f Fixed some probs in wxRadioBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-22 11:50:09 +00:00
Julian Smart
024e0f6981 Ok tests pixmap and bitmap now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-21 14:50:13 +00:00
Robert Roebling
b6b579bd14 Give font 12pt size if none is given in pango string.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-20 22:30:17 +00:00
Robert Roebling
47a3ff38a3 Scrolling pages works not under GTK2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-20 22:27:50 +00:00
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