]> git.saurik.com Git - wxWidgets.git/commitdiff
disclosure triangles on all implementations are able to give their true best size
authorStefan Csomor <csomor@advancedconcepts.ch>
Wed, 10 Jun 2009 04:53:58 +0000 (04:53 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Wed, 10 Jun 2009 04:53:58 +0000 (04:53 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/button_osx.cpp

index 70be0e99ce46021a1bf7b8c1016976265424f1a4..3dc35b697580d36e534b348379bd80412ab21f59 100644 (file)
@@ -123,6 +123,6 @@ bool wxDisclosureTriangle::OSXHandleClicked( double WXUNUSED(timestampsec) )
 
 wxSize wxDisclosureTriangle::DoGetBestSize() const
 {
-    return wxSize(16,16);
+    return wxWindow::DoGetBestSize();
 }