]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/tglbtn.cpp
Hopefully fixed library names generated by wx-config for OS/2's PM port.
[wxWidgets.git] / src / msw / tglbtn.cpp
index 6b91280e856ac18738c99954fad26fba785306fe..c3f1af62bc7471b2f3bd0fd54cc0d0a9408d6035 100644 (file)
@@ -135,6 +135,7 @@ wxSize wxToggleButton::DoGetBestSize() const
    wxSize sz(wBtn, hBtn);
 #endif
 
+   CacheBestSize(sz);
    return sz;
 }