]> git.saurik.com Git - wxWidgets.git/commitdiff
use a default position for frames and in some cases a default size as well (otherwise...
authorDimitri Schoolwerth <dimitri.schoolwerth@gmail.com>
Mon, 5 Jul 2004 19:27:23 +0000 (19:27 +0000)
committerDimitri Schoolwerth <dimitri.schoolwerth@gmail.com>
Mon, 5 Jul 2004 19:27:23 +0000 (19:27 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/html/about/about.cpp
samples/html/help/help.cpp
samples/html/printing/printing.cpp
samples/html/virtual/virtual.cpp
samples/html/widget/widget.cpp
samples/html/zip/zip.cpp

index 6ace1ab1d68c7be7ac4d0e1105211ba9a966a454..91072913d25b3481dce4be1fdbd22e63ebaf93eb 100644 (file)
     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?
index 1c998979ceb3ce0d2cc2c54f2962fef5586e1c87..d54817fab5345e2f90f81f11b79a1dabc90787dc 100644 (file)
 
     // 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?
index 588e62ade4334d08a224517529066f65c19a7c76..90497c7de8c6d4890524d6e7a4f21ef1cf432492 100644 (file)
@@ -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?
index 7ac3a57d5f9b178e0398564d1251f01cd6e63bea..75d9193dfbb2dd438b52f91570051b919c2b32f5 100644 (file)
@@ -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?
index 697edfc3f3b3988c8723e35ff8174748ba63edc7..816c029b7bf6821803589e944c5a945c652cf75c 100644 (file)
@@ -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?
index 00e50693c6458e439cd327657e19e70c7d374bfc..f33295c215c6ec89e85da1c4fedeed5c82f3607c 100644 (file)
@@ -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?