diff --git a/samples/controls/controls.cpp b/samples/controls/controls.cpp index 9bfc350010..6429aa80dd 100644 --- a/samples/controls/controls.cpp +++ b/samples/controls/controls.cpp @@ -219,7 +219,9 @@ bool MyApp::OnInit() // Create the main frame window MyFrame *frame = new MyFrame((wxFrame *) NULL, "Controls wxWindows App", - x, y, 530, 420); + x, y, 540, 430); + + frame->SetSizeHints( 500, 425 ); // Give it an icon // The wxICON() macros loads an icon from a resource under Windows diff --git a/src/gtk/fontdlg.cpp b/src/gtk/fontdlg.cpp index b507f3e193..021ad974ec 100644 --- a/src/gtk/fontdlg.cpp +++ b/src/gtk/fontdlg.cpp @@ -17,7 +17,7 @@ #include "wx/debug.h" #include "wx/msgdlg.h" -#include "gtk/gtk.h" +#include //----------------------------------------------------------------------------- // idle system diff --git a/src/gtk1/fontdlg.cpp b/src/gtk1/fontdlg.cpp index b507f3e193..021ad974ec 100644 --- a/src/gtk1/fontdlg.cpp +++ b/src/gtk1/fontdlg.cpp @@ -17,7 +17,7 @@ #include "wx/debug.h" #include "wx/msgdlg.h" -#include "gtk/gtk.h" +#include //----------------------------------------------------------------------------- // idle system