]> git.saurik.com Git - wxWidgets.git/commitdiff
copyright update
authorVáclav Slavík <vslavik@fastmail.fm>
Fri, 15 Feb 2002 01:07:52 +0000 (01:07 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Fri, 15 Feb 2002 01:07:52 +0000 (01:07 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 files changed:
src/mgl/app.cpp
src/mgl/bitmap.cpp
src/mgl/brush.cpp
src/mgl/cursor.cpp
src/mgl/dc.cpp
src/mgl/dcclient.cpp
src/mgl/dcscreen.cpp
src/mgl/dirmgl.cpp
src/mgl/evtloop.cpp
src/mgl/font.cpp
src/mgl/fontenum.cpp
src/mgl/fontutil.cpp
src/mgl/icon.cpp
src/mgl/palette.cpp
src/mgl/pen.cpp
src/mgl/region.cpp
src/mgl/settings.cpp
src/mgl/timer.cpp
src/mgl/toplevel.cpp
src/mgl/utils.cpp

index f4790cbc7aa48eceda830e187fd5d213eb25f766..3eea2d98449b069b90dda001a4e5c0d84fcce61c 100644 (file)
@@ -3,7 +3,7 @@
 // Author:      Vaclav Slavik
 //              based on GTK and MSW implementations
 // Id:          $Id$
-// Copyright:   (c) 2001 SciTech Software, Inc. (www.scitechsoft.com)
+// Copyright:   (c) 2001-2002 SciTech Software, Inc. (www.scitechsoft.com)
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
index 039406b2f436dbfa57a0727e65d9df3ad9662335..8ab1f1f99eacfd339de457f9c599f1c4f151d48a 100644 (file)
@@ -2,7 +2,7 @@
 // Name:        bitmap.cpp
 // Author:      Vaclav Slavik
 // RCS-ID:      $Id$
-// Copyright:   (c) 2001 SciTech Software, Inc. (www.scitechsoft.com)
+// Copyright:   (c) 2001-2002 SciTech Software, Inc. (www.scitechsoft.com)
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
index 92ba1643072ab584a24220083df151f8fab30213..437a499948cde247d6c0d9c40ea4bea60454cd45 100644 (file)
@@ -3,7 +3,7 @@
 // Purpose:
 // Author:      Vaclav Slavik
 // Id:          $Id$
-// Copyright:   (c) 2001 SciTech Software, Inc. (www.scitechsoft.com)
+// Copyright:   (c) 2001-2002 SciTech Software, Inc. (www.scitechsoft.com)
 // Licence:    wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
index 94df70a5c2eb7a5a2b2374a8a8c3498f28011eea..0abbaccedbf317a997ba3db5faaa1a39e485d0ac 100644 (file)
@@ -69,6 +69,9 @@ wxCursor::wxCursor()
 
 wxCursor::wxCursor(int cursorId)
 {
+    if ( !gs_cursorsHash )
+        gs_cursorsHash = new wxCursorsHash;
+
     if ( gs_cursorsHash->find(cursorId) != gs_cursorsHash->end() )
     {
         wxLogTrace(_T("mglcursor"), _T("cursor id %i fetched from cache"), cursorId);
@@ -286,11 +289,7 @@ bool wxIsBusy()
 class wxCursorModule : public wxModule
 {
 public:
-    virtual bool OnInit()
-    {
-        gs_cursorsHash = new wxCursorsHash;
-        return TRUE;
-    }
+    virtual bool OnInit() { return TRUE; }
     
     virtual void OnExit()
     {
index 702f27e2d70818ba7a915d4f582f880b8ced075b..aab6d8f990d46b398fb30dc33ac3dfdacb37ceaa 100644 (file)
@@ -4,7 +4,7 @@
 // Author:      Vaclav Slavik
 // Created:     2001/03/09
 // RCS-ID:      $Id$
-// Copyright:   (c) 2001 SciTech Software, Inc. (www.scitechsoft.com)
+// Copyright:   (c) 2001-2002 SciTech Software, Inc. (www.scitechsoft.com)
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
index 1bf1ba57f3fa19d74b5b56110a7b2cd08602a1d3..2afdbad27956fb864bb76d6af7a1ac8d681acfda 100644 (file)
@@ -3,7 +3,7 @@
 // Purpose:
 // Author:      Vaclav Slavik
 // RCS-ID:      $Id$
-// Copyright:   (c) 2001 SciTech Software, Inc. (www.scitechsoft.com)
+// Copyright:   (c) 2001-2002 SciTech Software, Inc. (www.scitechsoft.com)
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
index 575d656dbad49980730c069978b11696e1c887e1..e3f77babb07acdfb8f1548f8f9abe02c34ba032d 100644 (file)
@@ -2,7 +2,7 @@
 // Name:        dcscreen.cpp
 // Author:      Vaclav Slavik
 // Id:          $Id$
-// Copyright:   (c) 2001 SciTech Software, Inc. (www.scitechsoft.com)
+// Copyright:   (c) 2001-2002 SciTech Software, Inc. (www.scitechsoft.com)
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
index 0482918fb99363aaa851aba1f225609c94df4319..f2df7e706e0538e58c27a47fa601d669c3a584aa 100644 (file)
@@ -6,7 +6,7 @@
 // Created:     2001/12/09
 // RCS-ID:      $Id$
 // Copyright:   (c) 1999 Vadim Zeitlin <zeitlin@dptmaths.ens-cachan.fr>
-//              (c) 2001 SciTech Software, Inc. (www.scitechsoft.com)
+//              (c) 2001-2002 SciTech Software, Inc. (www.scitechsoft.com)
 // Licence:     wxWindows license
 /////////////////////////////////////////////////////////////////////////////
 
index ddf15a25b3b6e38767c31807065d194fcff42cb0..22f4d61355f71cea9d9dce471799c4caac190cd7 100644 (file)
@@ -3,7 +3,7 @@
 // Purpose:     implements wxEventLoop for MGL
 // Author:      Vaclav Slavik
 // RCS-ID:      $Id$
-// Copyright:   (c) 2001 SciTech Software, Inc. (www.scitechsoft.com)
+// Copyright:   (c) 2001-2002 SciTech Software, Inc. (www.scitechsoft.com)
 // License:     wxWindows license
 ///////////////////////////////////////////////////////////////////////////////
 
@@ -178,6 +178,11 @@ void wxEventLoop::Exit(int rc)
 
 bool wxEventLoop::Pending() const
 {
+    // update the display here, so that wxYield refreshes display and 
+    // changes take effect immediately, not after emptying events queue:
+    MGL_wmUpdateDC(g_winMng);
+    
+    // is there an event in the queue?
     event_t evt;
     return EVT_peekNext(&evt, EVT_EVERYEVT);
 }
index b6d93684c166ffdd22bbf262e314f1cfe481306d..e3ac9a29d20addb52e0c0c2109f733622e3f0e6b 100644 (file)
@@ -2,7 +2,7 @@
 // Name:        font.cpp
 // Author:      Vaclav Slavik
 // Id:          $Id$
-// Copyright:   (c) 2001 SciTech Software, Inc. (www.scitechsoft.com)
+// Copyright:   (c) 2001-2002 SciTech Software, Inc. (www.scitechsoft.com)
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
index 316d2c5d543c28b014544917d500401066bd7a7b..46386dfd99240d15a23a5df2bc92797f2a095520 100644 (file)
@@ -3,7 +3,7 @@
 // Purpose:     wxFontEnumerator class for MGL
 // Author:      Vaclav Slavik
 // RCS-ID:      $Id$
-// Copyright:   (c) 2001 SciTech Software, Inc. (www.scitechsoft.com)
+// Copyright:   (c) 2001-2002 SciTech Software, Inc. (www.scitechsoft.com)
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
index 85b76d080aab42f506f6e702ac69d54a0726c346..f73a6fb862805d7bf55c94089680fef05d1d23a5 100644 (file)
@@ -4,7 +4,7 @@
 // Author:      Vaclav Slavik
 // Created:     2001/04/29
 // RCS-ID:      $Id$
-// Copyright:   (c) 2001 SciTech Software, Inc. (www.scitechsoft.com)
+// Copyright:   (c) 2001-2002 SciTech Software, Inc. (www.scitechsoft.com)
 // Licence:     wxWindows license
 /////////////////////////////////////////////////////////////////////////////
 
index becb75fd853bf006529c94dee9f0d61248dcda64..bd54a7001dff547533fc16424504066c21856bf1 100644 (file)
@@ -2,7 +2,7 @@
 // Name:        icon.cpp
 // Author:      Vaclav Slavik
 // Id:          $Id$
-// Copyright:   (c) 2001 SciTech Software, Inc. (www.scitechsoft.com)
+// Copyright:   (c) 2001-2002 SciTech Software, Inc. (www.scitechsoft.com)
 // Licence:    wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
index 0253f5a0ff9c9917782856a727d7a6e0b30b7416..b851f799a8a1f19c6570556e27bad3e6a45452ae 100644 (file)
@@ -3,7 +3,7 @@
 // Author:      Vaclav Slavik
 // Created:     2001/03/11
 // Id:          $Id$
-// Copyright:   (c) 2001 SciTech Software, Inc. (www.scitechsoft.com)
+// Copyright:   (c) 2001-2002 SciTech Software, Inc. (www.scitechsoft.com)
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
index d7a3cb142afb9d5e3dfee40af3c9018f8172ba99..dc2e476e82c5e3c08a3e52f5bf96c4e351206e80 100644 (file)
@@ -3,7 +3,7 @@
 // Purpose:
 // Author:      Vaclav Slavik
 // Id:          $Id$
-// Copyright:   (c) 2001 SciTech Software, Inc. (www.scitechsoft.com)
+// Copyright:   (c) 2001-2002 SciTech Software, Inc. (www.scitechsoft.com)
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
index a3f2b9b0c619669038c58a31faa7a6b7aaf63987..3ec5b7d7516e270754e6ba4a60abe1d5e78288b2 100644 (file)
@@ -3,7 +3,7 @@
 // Purpose:   Region handling for wxWindows/MGL
 // Author:    Vaclav Slavik
 // RCS-ID:    $Id$
-// Copyright: (c) 2001 SciTech Software, Inc. (www.scitechsoft.com)
+// Copyright: (c) 2001-2002 SciTech Software, Inc. (www.scitechsoft.com)
 // Licence:   wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
index d3b4828427a2d495e7ebad4e992d5b7df8119876..355db0d4f6ba1cabe7031da87be68fcabfccf349 100644 (file)
@@ -2,7 +2,7 @@
 // Name:        settings.h
 // Author:      Vaclav Slavik, Robert Roebling
 // Id:          $Id$
-// Copyright:   (c) 2001 SciTech Software, Inc. (www.scitechsoft.com)
+// Copyright:   (c) 2001-2002 SciTech Software, Inc. (www.scitechsoft.com)
 // Licence:    wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
index 5452e675d0e34b9c3b57aa8fad46baaed70104b9..1ab1a1908738472f1d564d475072d068d37e905c 100644 (file)
@@ -3,7 +3,7 @@
 // Purpose:     wxTimer implementation
 // Author:      Vaclav Slavik
 // Id:          $Id$
-// Copyright:   (c) 2001 SciTech Software, Inc. (www.scitechsoft.com)
+// Copyright:   (c) 2001-2002 SciTech Software, Inc. (www.scitechsoft.com)
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
index c70e6f3865e4942d613403029cb05c2e9d79c68c..2d23ae16d3bd1bff6747965ef0ab2c9088c0e50a 100644 (file)
@@ -3,7 +3,7 @@
 // Purpose:
 // Author:      Vaclav Slavik
 // Id:          $Id$
-// Copyright:   (c) 2001 SciTech Software, Inc. (www.scitechsoft.com)
+// Copyright:   (c) 2001-2002 SciTech Software, Inc. (www.scitechsoft.com)
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
index 78693a2a69518a6f1f83528eda66290a8a76e377..2408e47e2f378d4e64410b46f1f36a1b6503ef51 100644 (file)
@@ -3,7 +3,7 @@
 // Purpose:
 // Author:      Vaclav Slavik
 // Id:          $Id$
-// Copyright:   (c) 2001 SciTech Software, Inc. (www.scitechsoft.com)
+// Copyright:   (c) 2001-2002 SciTech Software, Inc. (www.scitechsoft.com)
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////