From: Stefan Neis Date: Sun, 17 Apr 2005 13:07:02 +0000 (+0000) Subject: Fixed problem with changing size of board (at least on GTK1). X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/d2fc28b197eb5268b3e017103df883551e13eaf8 Fixed problem with changing size of board (at least on GTK1). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/demos/bombs/bombs.cpp b/demos/bombs/bombs.cpp index 53de513670..471c848a7f 100644 --- a/demos/bombs/bombs.cpp +++ b/demos/bombs/bombs.cpp @@ -284,7 +284,7 @@ void BombsCanvas::UpdateGridSize() delete m_bmp; m_bmp = NULL; } - + SetSize(GetGridSizeInPixels()); Refresh(); }