]> git.saurik.com Git - wxWidgets.git/commitdiff
Buttons need to be small on PDAs.
authorRobert Roebling <robert@roebling.de>
Mon, 8 Apr 2002 21:46:57 +0000 (21:46 +0000)
committerRobert Roebling <robert@roebling.de>
Mon, 8 Apr 2002 21:46:57 +0000 (21:46 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/univ/button.cpp

index f98b725e51af659400c0b44434856e99092e2364..23a4d96eea253a9f9c59a5f11ae7fb147c729f7e 100644 (file)
@@ -136,12 +136,14 @@ wxSize wxButton::DoGetBestClientSize() const
 
     // for compatibility with other ports, the buttons default size is never
     // less than the standard one
+#ifndef __WXX11__
     if ( !(GetWindowStyle() & wxBU_EXACTFIT) )
     {
         wxSize szDef = GetDefaultSize();
         if ( width < szDef.x )
             width = szDef.x;
     }
+#endif
 
     return wxSize(width, height);
 }