]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed problem with changing size of board (at least on GTK1).
authorStefan Neis <Stefan.Neis@t-online.de>
Sun, 17 Apr 2005 13:07:02 +0000 (13:07 +0000)
committerStefan Neis <Stefan.Neis@t-online.de>
Sun, 17 Apr 2005 13:07:02 +0000 (13:07 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

demos/bombs/bombs.cpp

index 53de513670ace9215525212e48818f8886f7c1d8..471c848a7fd516f4d3df3a1d7438c2e5d63e5181 100644 (file)
@@ -284,7 +284,7 @@ void BombsCanvas::UpdateGridSize()
         delete m_bmp;
         m_bmp = NULL;
     }
-
+    SetSize(GetGridSizeInPixels());
     Refresh();
 }