]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/button.cpp
wxPostScriptDC::DrawText now uses descent to determine baseline (instead of rough...
[wxWidgets.git] / src / gtk1 / button.cpp
index c12fd527781db2871df1252c35c63023205527b3..90f8aa05c926847a826a7d4310ff616eef63b8f1 100644 (file)
@@ -13,8 +13,8 @@
 
 #include "wx/button.h"
 
-#include "gdk/gdk.h"
-#include "gtk/gtk.h"
+#include <gdk/gdk.h>
+#include <gtk/gtk.h>
 
 //-----------------------------------------------------------------------------
 // classes
@@ -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 );