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
Julian Smart
fc71ef6e17
Added focus in/out handlers for wxTextCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-26 14:49:27 +00:00
Julian Smart
d52e91c980
More GTK+ 1.3.1 fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-13 17:40:08 +00:00
Julian Smart
44cd54c24e
Fix for unsafe use of a global pointer for focus window: now checks at destruct
...
time to see if we should NULL the pointer.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-12 13:45:18 +00:00
Robert Roebling
1a8caf94ab
Change required for new event types.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-23 18:38:42 +00:00
Robert Roebling
47c93b637e
Applied colour patch for better 8-bit support,
...
Improved handling of inserting controls into
a toolbar that don't have any def width. This
works for all controls but wxComboBox.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-16 12:27:26 +00:00
Robert Roebling
e22454beda
Ported stable-tree refresh code to devel tree.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-26 10:20:11 +00:00
Vadim Zeitlin
2d19ad2578
fix from Robert for extra refreshes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-30 16:30:30 +00:00
Robert Roebling
9cc7121f68
Minor corrections to new theme code.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-15 16:51:07 +00:00
Julian Smart
a2d93e735a
Added Set/GetThemeEnabled and used this for determining whether to paint a theme
...
background.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-15 13:15:37 +00:00
Robert Roebling
789dbcd4e3
Notebook theme attampt.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-15 11:13:06 +00:00
Robert Roebling
b13480f269
Another theme fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-14 09:23:12 +00:00
Robert Roebling
2bc6945a25
More theme goodies.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-14 09:08:18 +00:00
Julian Smart
57591e0edb
Fixed some broken things related to context help, fixed memory leak
...
in wxGenericTreeCtrl (Init should be called before Create, not _in_ Create)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-08 13:52:10 +00:00
Julian Smart
59a12e9034
Got wxHelpContext working, plus wxFindWindowAtPointer, wxGetMousePosition,
...
wxFindWindowAtPoint.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-07 13:22:42 +00:00
Julian Smart
3723b7b1d8
Made wxContextHelp implementation generic and added wxFindWindowAtPointer,
...
wxGetMousePosition functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-07 09:43:05 +00:00
Jouk Jansen
d02af7bbb9
Committing in .
...
Modified Files:
wxWindows/include/wx/gtk/app.h wxWindows/lib/vms_gtk.opt
wxWindows/samples/minimal/descrip.mms
wxWindows/src/common/descrip.mms
wxWindows/src/generic/colrdlgg.cpp
wxWindows/src/generic/descrip.mms
wxWindows/src/gtk/dcclient.cpp wxWindows/src/gtk/descrip.mms
wxWindows/src/gtk/filedlg.cpp wxWindows/src/gtk/fontdlg.cpp
wxWindows/src/gtk/frame.cpp wxWindows/src/gtk/listbox.cpp
wxWindows/src/gtk/tbargtk.cpp wxWindows/src/gtk/win_gtk.c
wxWindows/src/gtk/window.cpp wxWindows/src/unix/descrip.mms
Patches for wxGTK for VMS
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-10 13:24:55 +00:00
Ove Kaaven
dd00f3f6fa
Make this compile with gtk+ 1.3.1... not sure what the "casting"
...
(class assignment) of the widget styles are for, but I used
_G_TYPE_IGC anyway...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-19 10:31:58 +00:00
Bryan Petty
f6bcfd974e
merged 2.2 branch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-15 19:51:35 +00:00
Julian Smart
cca602accb
Fixed problem with CaptureMouse if cursor is null.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-20 10:53:04 +00:00
Václav Slavík
3d6f72618e
fixed KeySym handling ((keysym & 0xF000) != 0 instead of keysym < 0xFF to determine printable characters
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-19 15:28:45 +00:00
Jouk Jansen
27df579a6f
Committing in .
...
Patches for the wxGTK compilation on VMS
Modified Files:
wxWindows/descrip.mms wxWindows/setup.h_vms
wxWindows/include/wx/gtk/app.h
wxWindows/samples/minimal/descrip.mms
wxWindows/src/generic/descrip.mms
wxWindows/src/generic/filedlgg.cpp wxWindows/src/gtk/app.cpp
wxWindows/src/gtk/descrip.mms wxWindows/src/gtk/listbox.cpp
wxWindows/src/gtk/utilsgtk.cpp wxWindows/src/gtk/win_gtk.c
wxWindows/src/gtk/window.cpp
wxWindows/src/gtk/wx_gtk_vmsjackets.c
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 08:07:59 +00:00
Robert Roebling
8cb9f0d0f8
Fixed missing paint events when overriding DoMoveWindow()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 20:08:31 +00:00
Robert Roebling
b4bee866f3
Corrected status bar redraw problems.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 17:20:42 +00:00
Robert Roebling
d6d26e0414
Corrected scrollwin thumb release event,
...
Reenabled horizontal scrolling, cannot currently
reproduce misbehaviour.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-12 15:37:49 +00:00
Robert Roebling
b420fb6a37
Small oops in redrawing code.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-10 19:49:54 +00:00
Robert Roebling
304e5625e5
Disabled horizontal report mode scrolling in wxListCtrl
...
as it skrews up the display,
Corrected disabling the closing of top level window
when there are open (modal) dialogs,
Minor change to redrawing window-less widgets.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 20:04:36 +00:00
Robert Roebling
b6fa52db66
Some make corrections for HP and related,
...
Changed refresh order so that window-less widgets
don't get overdrawn anymore,
Prevent GTK from filtering our supposedly unneeded
expose events,
Block all expose calls if a resize is requested and
do a full redraw then, thus removing flicker and
behaving like wxMSW,
Moved some doubled expose and draw code from GtkPizza
to the respective callbacks in window.cpp,
Set idle priority to a higher value (which should
indicate a lower priority if I interpret glib.h
correctly) but the desired side-effect didn't
really show up.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 13:24:34 +00:00
Robert Roebling
a56fcaaf46
Some more drawing things,
...
Tried to make miniframe stay on top, doesn't work,
Make radio box big enough for its title,
Can't anylong close disabled toplevel windows,
Minor other changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-04 18:40:52 +00:00
Robert Roebling
809934d22a
#ifdeffed new paint clipping :-(
...
Moved replacement code to printing preview canvas where
its effect was particularly useful.
Completed GC pooling.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 17:47:43 +00:00
Robert Roebling
8e217128a0
Playing with scrolling, als fixed redraw
...
bug in wxGrid (outer regions). You must
not to maths with update regions within
an scroll related OnPaint(). Everything
else is allowed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 22:39:55 +00:00
Robert Roebling
40c7018756
Removed some debug code.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 00:01:03 +00:00