]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/graphics.cpp
revert r74683, wxTLW has its own {Width,Height}Default()
[wxWidgets.git] / src / msw / graphics.cpp
index f447d1566ea23f233cd52611a0bd6d8409329ab3..b8bc80a2e85ac8ab9124a6ce1a5f01d67cd97b1b 100644 (file)
@@ -4,7 +4,6 @@
 // Author:      Stefan Csomor
 // Modified by:
 // Created:     2006-09-30
-// RCS-ID:      $Id$
 // Copyright:   (c) 2006 Stefan Csomor
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
@@ -2283,6 +2282,12 @@ wxGraphicsBitmap wxGDIPlusRenderer::CreateSubBitmap( const wxGraphicsBitmap &bit
 class wxGDIPlusRendererModule : public wxModule
 {
 public:
+    wxGDIPlusRendererModule()
+    {
+        // We must be uninitialized before GDI+ DLL itself is unloaded.
+        AddDependency("wxGdiPlusModule");
+    }
+
     virtual bool OnInit() { return true; }
     virtual void OnExit()
     {