From: Robert Roebling Date: Fri, 5 Nov 1999 18:25:40 +0000 (+0000) Subject: This window positioning setting works on AfterStep X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/faecf4cb9ace28f95ba30459263e5672dda0fb1d This window positioning setting works on AfterStep and almost on KDE 1.0, so lets leave it here. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/docs/gtk/changes.txt b/docs/gtk/changes.txt index b16b05a11c..1271169a23 100644 --- a/docs/gtk/changes.txt +++ b/docs/gtk/changes.txt @@ -1,5 +1,5 @@ -1st November '99: wxWindows 2.1.11 released +7st November '99: wxWindows 2.1.11 released There is still an unresolved problem with bitmap to image conversion on big-endian architectures (such as Solaris), diff --git a/src/gtk/frame.cpp b/src/gtk/frame.cpp index f4cdea22db..1cc37b1a92 100644 --- a/src/gtk/frame.cpp +++ b/src/gtk/frame.cpp @@ -404,7 +404,7 @@ bool wxFrame::Create( wxWindow *parent, wxWindowID id, const wxString &title, m_insertCallback = (wxInsertChildFunction) wxInsertChildInFrame; - GtkWindowType win_type = GTK_WINDOW_DIALOG; // this makes window placement work + GtkWindowType win_type = GTK_WINDOW_TOPLEVEL; if (style & wxSIMPLE_BORDER) win_type = GTK_WINDOW_POPUP; m_widget = gtk_window_new( win_type ); @@ -646,8 +646,6 @@ void wxFrame::DoSetClientSize( int width, int height ) { wxASSERT_MSG( (m_widget != NULL), wxT("invalid frame") ); - printf( "set size %d %d\n", width, height ); - /* menu bar */ if (m_frameMenuBar) { diff --git a/src/gtk1/frame.cpp b/src/gtk1/frame.cpp index f4cdea22db..1cc37b1a92 100644 --- a/src/gtk1/frame.cpp +++ b/src/gtk1/frame.cpp @@ -404,7 +404,7 @@ bool wxFrame::Create( wxWindow *parent, wxWindowID id, const wxString &title, m_insertCallback = (wxInsertChildFunction) wxInsertChildInFrame; - GtkWindowType win_type = GTK_WINDOW_DIALOG; // this makes window placement work + GtkWindowType win_type = GTK_WINDOW_TOPLEVEL; if (style & wxSIMPLE_BORDER) win_type = GTK_WINDOW_POPUP; m_widget = gtk_window_new( win_type ); @@ -646,8 +646,6 @@ void wxFrame::DoSetClientSize( int width, int height ) { wxASSERT_MSG( (m_widget != NULL), wxT("invalid frame") ); - printf( "set size %d %d\n", width, height ); - /* menu bar */ if (m_frameMenuBar) {