Robert Roebling
7e4501ee3c
wxX11:
...
Corrected TLW positiong.
Added experimental code for synthesizing focus events.
Minor clean-ups.
Added for-now unused code for default/focus widget.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 21:09:04 +00:00
Václav Slavík
e7dda1ffa3
respect minimal wxTLW size in wxUniv
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-10 19:08:54 +00:00
Robert Roebling
8f3e7ecc5d
More refreshes are deferred to idle time.
...
Corrected redraw areas of native widgets
if underlying wxWindows have been exposed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-08 23:43:35 +00:00
Robert Roebling
c89f5c02b1
Added missing test in wxObject::Ref() for already
...
equal objects (same m_refData).
Implemented new ref counting for wxBrush, wxPen
and wxColour (in addition to wxRegion). Also
inlined some more functions and implemented
real comparisons.
Corrected refresh code to update GTK's window-less
widgets if overdrawn after a wxWindow::Refresh().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-04 18:01:21 +00:00
Robert Roebling
3bcc8d1581
Now updating and clearing are done in a delayed fashion.
...
The m_updateRegion gets updated and the (often much
smaller) m_clearRegion gets cleared. This removes the
flicker introduced by having delayed updates and
immediate clearings.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-04 14:05:28 +00:00
Václav Slavík
ca50a0771a
compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-01 20:22:17 +00:00
Robert Roebling
35917d228a
Added wxRegion::Offset(x,y)
...
Go to plan B: wxWindow::Scroll() now moved the
m_updateRegion for later processing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-30 17:25:18 +00:00
Robert Roebling
f47ae6e7e9
Added various calls to wxWindow::Update() to
...
wxScrolledWindow. This is ONE solution to
the redraw problem of the new delayed refresh
code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-30 16:01:34 +00:00
Robert Roebling
23716407e1
New Refresh()/Update() behaviour. As expected, scrolling
...
messes up the display.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-30 15:26:49 +00:00
Robert Roebling
beab25bde3
Some changes for new Update/Refresh behaviour. This
...
commit actually doesn't change anything. I just cleared
some code and added the new interface. I want this to
be seperate from the commit (if any) that introduces the
new behaviour.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-30 13:23:10 +00:00
Václav Slavík
c43430bbac
make sure gs_captureWindow is always set to NULL in DoReleaseMouse
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 11:28:07 +00:00
Vadim Zeitlin
94633ad9f1
maintaint the mouse capture stack in all ports, not just wxUniv
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-19 19:31:19 +00:00
Vadim Zeitlin
295272bdcd
more Sun C++ compiler warning fixes: in particular, added an ugly but
...
necessary workaround for avoiding warning in the .xpm files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-11 19:33:37 +00:00
Vadim Zeitlin
903506828b
fixes for the compilation warnings with Sun CC:
...
1. some fixes for "String literal to char * conversion" warnings (many
more left in the *.xpm files)
2. fixes for "assignment of function to extern "C" function"
3. a few other miscellaneous ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-09 12:49:12 +00:00
Václav Slavík
a756f21001
use the new wxSystemSettings API everywhere
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-08 23:53:01 +00:00
Robert Roebling
780bb8744b
Tries to fix wxListBox focus problems.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-22 11:38:56 +00:00
Václav Slavík
c5f9d1567c
wxMouseEvent's coordinates are now relative to client area origin in wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-21 00:03:30 +00:00
Vadim Zeitlin
8001ecce19
compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-17 01:23:13 +00:00
Vadim Zeitlin
e347320363
wxGTK popup menu positioning fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-16 15:20:21 +00:00
Vadim Zeitlin
c0ad3d42d5
removed focus assert
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-09 17:58:50 +00:00
Robert Roebling
e2762ff06a
wxListBox mouse events now report coords relative
...
to the whole list box.
wxRadioButton doesn't emit any event when unpressed.
Similar correction to wxRadioBox and wxToggleButton.
Upported change to wxMenuEvent so that the id is
set in the constructor. Otherwise the EVT_MENU
macro is pretty useless. Already in 2.2.8.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-08 23:24:16 +00:00
Vadim Zeitlin
654d905270
attempts to process non ASCII key strokes properly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-10 11:57:03 +00:00
Vadim Zeitlin
29d18d6945
fixed results of strange cvs code merge
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-09 15:11:22 +00:00
Gilles Depeyrot
4040fe6eaf
added missing close brace
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-09 11:49:28 +00:00
Václav Slavík
45eb524957
hopefully fixes focus assertion
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-08 22:17:15 +00:00
Vadim Zeitlin
f17393f199
normalized handling of Ctrl-x key presses and documented it clearly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-08 17:44:29 +00:00
Václav Slavík
e07f9efa03
an (blind) attempt to fix wxGTK frame activation bug
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-05 22:08:35 +00:00
Václav Slavík
e8c12a53e8
implemented wxActivateEvent properly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-28 23:37:52 +00:00
Václav Slavík
496beb3fc0
fixed client area origin handling in wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-28 19:20:21 +00:00
Vadim Zeitlin
55fb2c6cc2
compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-25 14:34:29 +00:00
Vadim Zeitlin
b231914f6a
added workaround for GTK+ focus_out bug (and removed Vaclav's mouse capture stack - sorry!)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-24 18:46:13 +00:00
Václav Slavík
cc1e14d625
implemented captured windows stack
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-24 18:02:11 +00:00
Václav Slavík
b9f2926155
fixes to client area origin handling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-19 22:45:14 +00:00
Václav Slavík
a200c35efa
moved AdjustToClientAreaOrigin to wxWindowBase, needed worldwide for wxUniv
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-18 22:36:18 +00:00
Vadim Zeitlin
66dfed9b9d
generate wxEVT_ACTIVATE_APP events for wxMSW too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-24 16:12:40 +00:00
Robert Roebling
76fcf0f239
Various changes for simplification of focus event
...
code in wxGTK. It will also work for wxComboBox
now, but not for GTK's other composite controls
such as wxListBox and wxChoice.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-19 21:36:25 +00:00
Vadim Zeitlin
5314ac16c5
compilation fix (sorry)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-06 11:48:00 +00:00
Vadim Zeitlin
456bc6d9b8
moved knd handling logic from wxPanel to wxControlContainer (sorry for
...
the dull name Julian ;-)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-06 00:49:59 +00:00
Robin Dunn
ab93a576f4
Don't send a focus event if the window is a wxTextCtrl, since it sends
...
it's own focus event later on.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-02 03:01:14 +00:00
Vadim Zeitlin
e4606ed9d0
wxComboBox appearance fixes, looks fine now but doesn't really work under GTK
...
yet
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-10 15:07:52 +00:00
Vadim Zeitlin
6522713c75
wxUniv compilation fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-10 12:25:46 +00:00
Vadim Zeitlin
3379ed3789
tons of fixes for wxGTK/Univ - seems to work, more or less, now
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-03 19:38:19 +00:00
Vadim Zeitlin
1e6feb95a7
first pass of wxUniv merge - nothing works, most parts don't even compile
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-26 20:59:19 +00:00
Robert Roebling
f94fca1b74
I don't understand the SetIconState code in /src/frome.cpp, but
...
I know it is wrong. This also caused the splitter window bug.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-14 16:15:29 +00:00
Robert Roebling
33611ebbd9
Applied wxImage::Scale() patch,
...
Added testing code for wxSplitterWindow bug.
Added testing code for OnEraseBackground things.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-11 20:03:00 +00:00
Robert Roebling
2d4511658d
Applied patch for non-Latin keyboards.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-18 18:39:13 +00:00
Julian Smart
fdca68a670
Implemented OnParentEnable to allow widgets to reset their colours
...
after a wxWindow::Enable call
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-17 10:58:05 +00:00
Julian Smart
513903c4f9
Made wxWindow::Enable recursive in order to solve colouring problems; forced the colour
...
of a wxTextCtrl back to the custom colour in wxTextCtrl::Enable. This appears
to fix inconsistent colour problems.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-16 15:53:11 +00:00
Robert Roebling
5cd09f0b8d
Toplevel windows now send both activate and focus
...
events under wxGTK - and probably under wxMSW
as well?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-22 14:46:18 +00:00
Robert Roebling
942bef71b0
Applied BMP patch.
...
Applied deferred wxBitmapButton patch.
Added error checking to wxFileStream and wxFFileStream.
Corrected activate event things.
All these patches work in the stable branch, the
dev-branch does not currently compile.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-22 10:20:56 +00:00