]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/graphics.cpp
Added ability to switch off more components of the size page UI
[wxWidgets.git] / src / msw / graphics.cpp
index f447d1566ea23f233cd52611a0bd6d8409329ab3..8f1844b0937264fcc9c61a8e947b78fae14b6931 100644 (file)
@@ -2283,6 +2283,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()
     {