Commit Graph

42 Commits

Author SHA1 Message Date
Robert Roebling
77df2fbce6 Send size events from top level windows in idle time,
this significantly improves the opaque resizing look
   and feel and seems to speed up dialog show up time.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-13 18:25:11 +00:00
Julian Smart
32f8e36335 Added GetWindow to make Blit compile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-12 21:54:27 +00:00
Julian Smart
c978d36124 Added reparenting helper classes to help apps to grab the windows
of other applications.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-09 21:51:10 +00:00
Julian Smart
086fd5603b ProcessXEvent now returns TRUE if processed, FALSE if not
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-08 12:06:12 +00:00
Julian Smart
c2ff68d3fd Got dialog sizing to work, downsized fonts a bit (though it always returns
the same standard font right now)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-26 21:58:07 +00:00
Julian Smart
0b5c0e1ac1 Nano-X changes: removed spurious -O for Nano-X configuration;
got colour working in Nano-X (uses 8 bit RGB values, not 16 bit);
now sets font background mode correctly; window management
call correction


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-26 10:06:07 +00:00
Václav Slavík
6b5d017e8f removed AdjustForParentClientOrigin from wxMotif and all its forks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-24 00:08:45 +00:00
Robert Roebling
9691c806e6 Implemented a simple modality under X11.
Filled wxDataFormat and wxDataObject etc.
  Added skeleton for X11 clipboard.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-23 21:26:16 +00:00
Julian Smart
461e93f921 wxUSE_CONSTRAINTS now refers to constraints only, since sizers
are now crucial to wxWindows. Further Nano-X fixes; now
compiles and links in Nano-X mode.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-23 17:36:48 +00:00
Julian Smart
788519c605 Some more NanoX compile fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-21 14:52:04 +00:00
Julian Smart
c79a329dcb NanoX modificati
NanoX modifications


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-20 23:19:40 +00:00
Robert Roebling
887dd52f06 Added more wxRegion tests to erase sample.
Implemented "clear now, paint later".
  Corrected colour-by-name lookup.
  Corrected DrawRectangle code which produced
    redraw garbage under wxX11.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-18 22:13:23 +00:00
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
Julian Smart
e941874b17 Added some Xlib replacement functions and structures for Nano-X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 20:49:14 +00:00
Václav Slavík
a0cb0ba509 move wxMGL's wxTimer to src/generic
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 14:55:41 +00:00
Václav Slavík
1aee06c5b7 cleaned a bit of mess in wxX11
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 14:53:58 +00:00
Julian Smart
256d631aaf Started some NanoX work (blind to begin with)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-15 11:14:42 +00:00
Robert Roebling
ba696cfadf Updated the erase/paint event logic.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 21:08:45 +00:00
Julian Smart
3a0b23eb74 Added some XSyncs to help size calculations, but positioning
dialog remains a mystery


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 18:06:50 +00:00
Julian Smart
45ff6421e6 Removed wxBuffer from several ports; added function to get XEvent name;
started on commandline parsing for wxX11


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 11:07:26 +00:00
Julian Smart
61aa560b2d Fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 17:23:13 +00:00
Robert Roebling
0d1dff0172 wxX11:
INtroduced OnInternalIdle as per wxGTK so that users
      cannot as easily lill the internals.
    Fixed pop-up transient window.
    Removed some #if 0 here and there.
    Made refresh code work in idle instead of directly.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 16:43:18 +00:00
Julian Smart
5e29f97a3c Added shared private declarations header privx.h, utils.cpp now shared
between wxMotif and wxX11; added some TODOs to toplevel.cpp, popupwin.cpp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 16:17:29 +00:00
Robert Roebling
a11672a469 wxX11:
Lots of wxBitmap et al work.
     Adapted wxIcon, wxCursor to this.
     Split wxApp init things up so that the
       X11 display is available sooner.
     Changed initial display code accordingly.
     Corrected wxDC::DrawBitmap.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 08:38:54 +00:00
Julian Smart
7edcafa467 Removed some debug code from window headers; added some debug
code to try to figure out capture problems


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-12 18:15:20 +00:00
Julian Smart
e5053ade6b Attempts to get client origin working. Work in progress.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-12 12:59:14 +00:00
Robert Roebling
3cd0b8c5b5 wxX11:
Updated wxColour for handling Colormaps and ref couting.
    Updated wxClientDC et al. for conforming to wxGTK. Many
      tricky parts, particularly the bitmap drawing and
      blitting is still missing.
    Any sample crashes now for some reason with an X error.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-11 20:41:24 +00:00
Julian Smart
6ec507fd25 Attempted to add configury for NanoX compatibility
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-11 18:03:47 +00:00
Robert Roebling
1b0b798d77 Various compile fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-11 12:04:35 +00:00
Julian Smart
b28d3abf7e Small changes to wxX11
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-11 11:06:50 +00:00
Robert Roebling
8354aa92a1 wxX11: link errors down to 1.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-10 23:31:24 +00:00
Julian Smart
1246e28fb0 Added wxPopupWindow skeleton (no implementation yet)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-10 23:21:44 +00:00
Robert Roebling
d02cb44ecf Killed various wxMotif things in wxX11.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-10 18:04:13 +00:00
Robert Roebling
74dc5eb60e wxX11:
Updated wxPen and wxBrush.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-10 17:24:14 +00:00
Robert Roebling
1934d291cd wxX11:
Rewrote wxRegion.
     Killed backing store Pixmap.
     Killed wxRectList.
     Adapted wxWindow to the above.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-10 16:42:42 +00:00
Julian Smart
b513212d2e More X11 code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-10 01:03:45 +00:00
Julian Smart
7266b67235 Now compiling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-08 17:44:23 +00:00
Julian Smart
1b0fb34be8 Added X11 wxEventLoop implementation; rearranged event processing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-08 12:00:11 +00:00
Julian Smart
f79bd02d8e Various fixes for X11 compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-07 15:40:02 +00:00
Julian Smart
bc797f4cc8 Stripped out miscellaneous Motif/Xt-specific code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-07 12:06:37 +00:00
Julian Smart
7eaac9f513 First stabs at stripping out Xt/Motif code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-05 18:13:03 +00:00
Julian Smart
83df96d63a Reformatted Motif headers; added __WXX11__ symbol support to common headers;
added place-holding src/x11 and include/wx/x11 files.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-05 16:34:33 +00:00