Commit Graph

141 Commits

Author SHA1 Message Date
Václav Slavík
a7c8e710e9 added wxCURSOR_RIGHT_ARROW to wxMGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 00:51:44 +00:00
Václav Slavík
8014db4142 1. handle Alt-F4 in wxUniv, not wxMGL
2. safeguards to never warp pointer to out-of-screen location (MGL would crash)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-12 23:16:26 +00:00
Václav Slavík
39578f9cfc query MGL for resolution
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-09 21:30:49 +00:00
Robert Roebling
c08a4f0068 Added simplistic wxToolBar to wxUniversal. It
still corrupts the non-client area.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-24 19:49:36 +00:00
Václav Slavík
ea98f686a6 1. changed doubleclick events sequence to 'down,up,double,up' (turned out to be MGL's native one)
2. wxWindow::GetPosition() returns value relative to parent's client area origin now


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-24 00:06:33 +00:00
Václav Slavík
a014c34488 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-24 00:06:12 +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
60df0f9685 synthetize 'button up' event before doubleclick, too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 14:53:31 +00:00
Václav Slavík
06534aa178 oops, commiting too fast, forgot to fix a small typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-16 01:44:38 +00:00
Václav Slavík
2d1efe3fec added Alt-PrintScreen handling (SciTech won't be happy till we do everything Windows do...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-15 19:41:16 +00:00
Václav Slavík
c41c20a566 copyright update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-15 01:07:52 +00:00
Václav Slavík
8f5e92dbe5 corrected double click events: wxMGL will now synthetize
second single click, so that events sequence is single-single-double as wxWindows
expects rather than single-double as MGL generates


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-15 00:55:27 +00:00
Václav Slavík
eea932674b fill wxFocusEvent::m_win properly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 20:30:49 +00:00
Václav Slavík
99ee04b97b implemented cursors cache, so that cursors are not loaded from file again and again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 17:11:53 +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
Václav Slavík
d53fc7c96d 1. added wxUpdateUIEvent handling to wxMGL
2. added Alt-F4 and PrintScreen handling
3. removed accelerators handling (done by wxUniv)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 00:37:12 +00:00
Václav Slavík
e41dcea547 safeguards against crashes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-12 10:37:55 +00:00
Václav Slavík
6feddea302 honour min/max size in wxMGL's wxWindow::DoSetSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-10 19:08:07 +00:00
Václav Slavík
5465a788c8 fixes to wxTLW::Maximize in wxMGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-09 23:29:30 +00:00
Václav Slavík
6d7ee9e860 use AllocExclusive for reference counting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-09 23:29:05 +00:00
Václav Slavík
821860051a 1. make paint events debugging runtime switch instead of compile time
2. fixed incorrect rendering of wxListCtrl (newly created controls didn't account
   for parent's client origin)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-09 23:28:05 +00:00
Václav Slavík
186954b0af wxDC::DoDrawRectangle hack is no longer needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-09 23:27:10 +00:00
Robert Roebling
47dddc2f4b Commiting remaining files of configure change for X11.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-09 23:17:41 +00:00
Václav Slavík
b7d5acd0fa wxRootWindow::AcceptsFocus must be const; added wxRTTI for wxRootWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-01 20:22:38 +00:00
Mattia Barbon
d74b838cf3 Updated projects/makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-29 21:37:43 +00:00
Vadim Zeitlin
a664d17e06 removed non existing unzip.h from the filelist.txt and regenerated everything
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-28 16:45:49 +00:00
Václav Slavík
a679e1298b A couple of fixes to wxMGL's wxWindow:
1. fixed caret interference when painting the window
2. now calls SetFocus when you click on a window that doesn't have focus
3. hopefully correct translations of event for OnKeyDown vs. OnKey


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-27 23:40:12 +00:00
Václav Slavík
ecde6016ef calling wxWindow::Update from wxWindowDC ctor wasn't good idea, interacts with carets...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-27 23:37:47 +00:00
Václav Slavík
9006f25eba prevent crash when trying to set global cursor too early
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-27 00:48:16 +00:00
Václav Slavík
350d006427 update the screen before gaining access to wxWindowDC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-27 00:47:13 +00:00
Václav Slavík
869dabf8c3 move caret notification after sending the focus event
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-27 00:46:32 +00:00
Václav Slavík
497b78dfac workaround for MGL's weirdness: won't render rectangles of w=1 or h=1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-26 00:24:16 +00:00
Václav Slavík
69830d1f58 hide mouse when using wxScreenDC in wxMGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-26 00:24:06 +00:00
Václav Slavík
c44fdc9401 added dummy <style> handler in order to hide CSS code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-24 21:13:38 +00:00
Václav Slavík
84c88a17c0 added TAB handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-21 19:03:23 +00:00
Václav Slavík
343e418c21 change WXDEBUG to WXSTDERR
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-21 19:03:07 +00:00
Vadim Zeitlin
4116c22156 Capture/ReleaseMouse() prefixed with Do for the other ports (OS/2, MGL, Motif, Mac)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-19 19:38:46 +00:00
Václav Slavík
7b9f73d205 end with fatal error if cannot start MGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-17 23:42:37 +00:00
Václav Slavík
d2de0757b5 Watcom build system for wxMGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-17 23:42:12 +00:00
Václav Slavík
63f8abca79 fixed to the IFF handler, moved into one file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-17 19:40:18 +00:00
Václav Slavík
f3437beb5d wxFont::IsFixedWidth for wxMGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-17 19:38:39 +00:00
Václav Slavík
84664b4684 wxMGL Watcom makefiles fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-17 19:38:20 +00:00
Robin Dunn
6556acfa56 Added wx/dirctrl.h to filelist.txt so it will get installed.
Regenerated makefiles and such.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-16 01:01:00 +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
Václav Slavík
6ed897586a disable long filenames under DJGPP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-08 23:37:32 +00:00
Václav Slavík
7a5df8619c MS-DOS fix to wxDir
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-08 23:36:51 +00:00
Václav Slavík
34885a147b use UNIX wxDir if available
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-08 18:03:14 +00:00
Václav Slavík
0cd5da34b2 hasSubDirs already defined in dircmn
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-06 23:11:52 +00:00
Václav Slavík
2e8b69c748 regenerated makefiles (forgot to do it after changing filelist.txt... so much for advantages of having everything in the CVS...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-01 23:14:52 +00:00
Václav Slavík
f16fa52657 removed previously unused and now uncompilable code from wxMGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-31 23:30:29 +00:00