]> git.saurik.com Git - wxWidgets.git/blobdiff - demos/bombs/bombs.cpp
Fixed problem with changing size of board (at least on GTK1).
[wxWidgets.git] / demos / bombs / bombs.cpp
index 53de513670ace9215525212e48818f8886f7c1d8..471c848a7fd516f4d3df3a1d7438c2e5d63e5181 100644 (file)
@@ -284,7 +284,7 @@ void BombsCanvas::UpdateGridSize()
         delete m_bmp;
         m_bmp = NULL;
     }
         delete m_bmp;
         m_bmp = NULL;
     }
-
+    SetSize(GetGridSizeInPixels());
     Refresh();
 }
 
     Refresh();
 }