]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/graphics.cpp
Don't reset the best size to wxDefaultSize unless we have a bitmap, otherwise
[wxWidgets.git] / src / msw / graphics.cpp
index 59b44659a66f0f3a8420f9933c4f79049d17bfa1..e6ac1418919d459a861e56d327db57e141e826e1 100644 (file)
@@ -370,6 +370,11 @@ wxGDIPlusContext::wxGDIPlusContext( Graphics* gr  )
     SetDefaults();
 }
 
     SetDefaults();
 }
 
+wxGDIPlusContext::wxGDIPlusContext()
+{
+    Init();
+}
+
 void wxGDIPlusContext::Init()
 {
     gGDILoader.EnsureIsLoaded();
 void wxGDIPlusContext::Init()
 {
     gGDILoader.EnsureIsLoaded();