]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/radiobox.cpp
fixed inserting styled text into an empty control under GTK+ 2.0
[wxWidgets.git] / src / gtk1 / radiobox.cpp
index ea1eee523009f2267e4b1d760e14cecc3b71a6bd..a2f712302d7c6bd9b1b82a17423db52f151a94f8 100644 (file)
@@ -286,6 +286,7 @@ wxSize wxRadioBox::DoGetBestSize() const
     if (req.width > size.x)
         size.x = req.width;
 
+    CacheBestSize(size);
     return size;
 }