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?
// 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?
#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?
{
// 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?
{
// 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?
// 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?