]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/button.cpp
Took out somebody's hard coded path (j:\dev\something...) and put back
[wxWidgets.git] / src / gtk1 / button.cpp
index eeb2e134d03b5d19726b0221e8ac7916e716b6ef..90f8aa05c926847a826a7d4310ff616eef63b8f1 100644 (file)
@@ -124,7 +124,7 @@ bool wxButton::Create(  wxWindow *parent, wxWindowID id, const wxString &label,
     if (newSize.y == -1)
     {
         newSize.y = 11+y;
-       if (newSize.x < 26) newSize.x = 26;
+       if (newSize.y < 26) newSize.y = 26;
     }
        
     SetSize( newSize.x, newSize.y );