diff --git a/samples/html/about/about.cpp b/samples/html/about/about.cpp
index 6ace1ab1d6..91072913d2 100644
--- a/samples/html/about/about.cpp
+++ b/samples/html/about/about.cpp
@@ -109,7 +109,7 @@
wxImage::AddHandler(new wxPNGHandler);
// Create the main application window
MyFrame *frame = new MyFrame(_("wxHtmlWindow testing application"),
- wxPoint(50, 50), wxSize(150, 50));
+ wxDefaultPosition, wxDefaultSize);
// Show it and tell the application that it's our main window
// @@@ what does it do exactly, in fact? is it necessary here?
diff --git a/samples/html/help/help.cpp b/samples/html/help/help.cpp
index 1c998979ce..d54817fab5 100644
--- a/samples/html/help/help.cpp
+++ b/samples/html/help/help.cpp
@@ -116,7 +116,7 @@
// Create the main application window
MyFrame *frame = new MyFrame(_("HTML Help Sample"),
- wxPoint(50, 50), wxSize(150, 50));
+ wxDefaultPosition, wxDefaultSize);
// Show it and tell the application that it's our main window
// @@@ what does it do exactly, in fact? is it necessary here?
diff --git a/samples/html/printing/printing.cpp b/samples/html/printing/printing.cpp
index 588e62ade4..90497c7de8 100644
--- a/samples/html/printing/printing.cpp
+++ b/samples/html/printing/printing.cpp
@@ -140,7 +140,7 @@ bool MyApp::OnInit()
#endif
MyFrame *frame = new MyFrame(_("Printing test"),
- wxPoint(150, 50), wxSize(640, 480));
+ wxDefaultPosition, wxSize(640, 480));
// Show it and tell the application that it's our main window
// @@@ what does it do exactly, in fact? is it necessary here?
diff --git a/samples/html/virtual/virtual.cpp b/samples/html/virtual/virtual.cpp
index 7ac3a57d5f..75d9193dfb 100644
--- a/samples/html/virtual/virtual.cpp
+++ b/samples/html/virtual/virtual.cpp
@@ -162,7 +162,7 @@ wxFSFile* MyVFS::OpenFile(wxFileSystem& WXUNUSED(fs), const wxString& location)
{
// Create the main application window
MyFrame *frame = new MyFrame(_("wxHtmlWindow testing application"),
- wxPoint(50, 50), wxSize(640, 480));
+ wxDefaultPosition, wxSize(640, 480));
// Show it and tell the application that it's our main window
// @@@ what does it do exactly, in fact? is it necessary here?
diff --git a/samples/html/widget/widget.cpp b/samples/html/widget/widget.cpp
index 697edfc3f3..816c029b7b 100644
--- a/samples/html/widget/widget.cpp
+++ b/samples/html/widget/widget.cpp
@@ -154,7 +154,7 @@ bool MyApp::OnInit()
{
// Create the main application window
MyFrame *frame = new MyFrame( _("wxHtmlWindow testing application"),
- wxPoint(50, 50), wxSize(640, 480) );
+ wxDefaultPosition, wxSize(640, 480) );
// Show it and tell the application that it's our main window
// @@@ what does it do exactly, in fact? is it necessary here?
diff --git a/samples/html/zip/zip.cpp b/samples/html/zip/zip.cpp
index 00e50693c6..f33295c215 100644
--- a/samples/html/zip/zip.cpp
+++ b/samples/html/zip/zip.cpp
@@ -113,7 +113,7 @@ bool MyApp::OnInit()
// Create the main application window
MyFrame *frame = new MyFrame(_("wxHtmlWindow testing application"),
- wxPoint(50, 50), wxSize(640, 480) );
+ wxDefaultPosition, wxSize(640, 480) );
// Show it and tell the application that it's our main window
// @@@ what does it do exactly, in fact? is it necessary here?