use a default position for frames and in some cases a default size as well (otherwise the menubar is partially hidden (with MSW) due to too small frame height)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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?
|
||||
|
Reference in New Issue
Block a user