Robert Roebling
024e9a4cea
Better resizing code fro wxComboBox.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-15 23:19:32 +00:00
Robert Roebling
0ff2a74d0c
Implemented wxBitmap::HasAlpha() and ::UseAlpha().
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-15 20:27:46 +00:00
Vadim Zeitlin
e7846404f7
no changes, just mention gtk_paint_expander() in comment
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-14 10:18:31 +00:00
Vadim Zeitlin
e9923becbe
include wx/rawbmp.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-13 17:17:12 +00:00
Vadim Zeitlin
c6179a847d
1. added SetSelection() to wxItemContainer and removed its declarations
...
from derived classes
2. made wxItemContainer::Select() non virtual: it simply calls SetSelection()
3. renamed wxListBox::SetSelection(n, select) to DoSetSelection() for all
ports and defined non virtual SetSelection() overloads in the base class
to avoid virtual functions hiding
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-13 17:08:27 +00:00
Vadim Zeitlin
64fa6f167e
removed multiple duplicate copies (with subtly different behaviour) of SetStringSelection(); left only one of them in wxItemContainer (and another one in wxRadioBoxBase, to be removed)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-13 16:29:31 +00:00
Robert Roebling
284f2b59db
Added raw bitmap access support to GTK 2.0.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-13 15:35:43 +00:00
Robert Roebling
878ddad57a
Reapplied patch to change the two scrolled window implementations
...
to no longer clip the last bits as a rounding error. I had to
change GetVirtualSize() as per my mail to devs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-12 23:44:24 +00:00
Robert Roebling
bf67b13520
Revert patch again, as the scrollbars are now always shown.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-12 12:36:12 +00:00
Robert Roebling
e8cd0e5884
Correct rounding up vs. rounding down error in GTK+
...
wxScrolledWindow so that no contents is ever hidden,
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-11 23:01:58 +00:00
Robert Roebling
a2ac55f54d
Make wxTLW::Raise() actually bring the window to the top
...
and give it the WM's focus (if supported).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-11 23:00:31 +00:00
Robert Roebling
4843cdfe0f
Made gnome printing stuff return wxPRINT_CANCELLED if
...
it has been canceled.
Moved the FORCE_LINK code from app.cpp to the sample
as I cannot find the right place for it. We'd need
an empty extrya file for ADV lib only for that.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-11 22:16:41 +00:00
Robert Roebling
1b24b2b48c
Applied patch for more compliant wxScrolbar event
...
generation order.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-09 22:49:32 +00:00
Robin Dunn
50b58dec17
Check accelerators before sending EVT_CHAR
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-08 17:02:57 +00:00
Robin Dunn
4d3ab2a036
Allow EVT_CHAR events in a wxGTK2 build for F-keys, and other
...
non-alphanumeric keys.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-08 16:23:27 +00:00
Robert Roebling
709feaf70c
GTK 1.2 compilo/link error.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-06 21:39:11 +00:00
Robert Roebling
fbe99a7ea8
GTK 1.2 compilation.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-06 21:29:24 +00:00
Robert Roebling
f7204798e2
I think I found out how GTK+ want popup windows
...
to be handled...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-06 18:24:02 +00:00
Robert Roebling
f127216013
Reorganized char and keydown event code, hoping
...
that Input Method handling is still not broken.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-05 15:25:32 +00:00
Robert Roebling
4b61c88d55
Second try to add "support" for deriving from
...
wxBitmapHandlerBase.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-05 14:17:27 +00:00
Robert Roebling
4611dd06a1
Make wxBitmap inherit from wxBitmapBase
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-05 13:08:44 +00:00
Robert Roebling
58b907f6e1
_conncect_after() should be used for controls emitting
...
command events so as to not confuse GTK+ if the user
intercepts them too early.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-05 12:51:05 +00:00
Robert Roebling
f2e935373d
Fix for listbox problem, when created on invisible
...
window. Shown in wxWizard sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-03 15:28:14 +00:00
Robert Roebling
ad975781eb
Fixed missing key down events (probably introduced
...
by IM patch.)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-03 13:33:36 +00:00
Robert Roebling
fdfb84751f
Committed Raise()Lower() fix.
...
Committed second part for Input Methode character fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-03 12:52:38 +00:00
Robert Roebling
001a26f974
I changed something, but I forgot what.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-30 13:04:05 +00:00
Robert Roebling
f6fca1f80e
Applied IM patch.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-30 12:47:14 +00:00
Robert Roebling
4ecd9342fd
One more place where we need to use connect_after
...
in order not to confuse GTK+. This fixes the
wxTreeCtrl crash.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-29 12:02:35 +00:00
Robert Roebling
537a0880d2
Tried to restore wxPopupTransientWindow functionality
...
under GTK+.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-29 11:32:46 +00:00
Kevin Hock
065f010fe3
Added wxUSE_MENUS_NATIVE wrapper around DoPopupMenu to match header
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-26 21:14:19 +00:00
Kevin Hock
1147523508
For consistency between WMs and with MSW, TOOL_WINDOW explicitly includes NO_TASKBAR
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-24 05:07:50 +00:00
Robert Roebling
0bd3b8eca1
Enable UpdateUI events in wxTaskBarIcon.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-23 22:39:03 +00:00
Robert Roebling
03ed1dae4f
Fixed compilation for GTK 1.2
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-23 18:36:43 +00:00
Kevin Hock
3baba4c60d
gtk_range_set_inverted only available on GTK2
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-22 13:48:38 +00:00
Kevin Hock
1e219378a3
Add support for wxSL_INVERSE using gtk_range_set_inverted
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-21 05:14:49 +00:00
Włodzimierz Skiba
7d8268a1d6
wxTextPos for all GetLastPosition with constants for special cases. Make it virtual everywhere. Avoid doubling typedefs. Always include textctrl.h for combobox.h. Source cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-19 16:25:34 +00:00
Kevin Hock
72e430cd97
For efficiency reasons, text controls no longer set the string for each text updated event, but rather query for the string value only when GetString is called from an event handler
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-18 15:17:05 +00:00
Kevin Hock
687706f5e7
Use event modifiers and accessors rather than m_ variables directly, which are now protected rather than public with 2.4 compatibility disabled
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-18 15:08:15 +00:00
Robert Roebling
c4526184a7
Use connect_signal_after for list events. This should
...
probably be done for all native control command events.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-16 16:54:50 +00:00
Robert Roebling
c7d94ca4f9
Applied patch for correct feedback from DND
...
actions (not all actions are allowed).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-16 15:33:28 +00:00
Robert Roebling
ac103441d1
Applied patch which solved conflicts between wxWidgets
...
and GTK+'s context menu code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-16 15:27:15 +00:00
Robert Roebling
7c2f14eeb8
Commited scrollbar patch which sends lineup, linedown
...
events based on intercepting the mouse down events.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-16 15:23:16 +00:00
Robert Roebling
44c5573d2e
Compile fixes for GTK 1.2
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-08 15:41:04 +00:00
Robert Roebling
02a6e35839
Applied wxNO_BORDER patch for text control and combo box.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-08 10:35:15 +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
Włodzimierz Skiba
b4efc9b931
Old API clearly deprecated. Source cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-06 12:41:27 +00:00
Robin Dunn
cfa8c7d6cc
Set the window id for key events
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-05 21:33:11 +00:00
Václav Slavík
49a1436640
blind fix for GCC compilation when #pragmas are honored
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-27 08:52:17 +00:00
Jouk Jansen
914ca1d826
Committing in .
...
correcting an obvious typo in the GTK1.x part
Modified Files:
wxWidgets/src/gtk/choice.cpp
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-24 09:02:34 +00:00
Włodzimierz Skiba
e2bcbdfbc7
Metric conversion constants not doubled in each port code.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-21 16:25:59 +00:00