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
This commit is contained in:
parent
0c4234663d
commit
faecf4cb9a
3 changed files with 3 additions and 7 deletions
|
|
@ -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),
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue