// Name: frame.cpp
// Purpose:
// Author: Robert Roebling
-// Created: 01/02/97
-// Id:
-// Copyright: (c) 1998 Robert Roebling, Julian Smart and Markus Holzem
+// Id: $Id$
+// Copyright: (c) 1998 Robert Roebling
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// constants
//-----------------------------------------------------------------------------
-const int wxMENU_HEIGHT = 28;
+const int wxMENU_HEIGHT = 30;
const int wxSTATUS_HEIGHT = 25;
//-----------------------------------------------------------------------------
m_title = title;
- m_widget = gtk_window_new( GTK_WINDOW_TOPLEVEL );
+ GtkWindowType win_type = GTK_WINDOW_TOPLEVEL;
+ if (style & wxSIMPLE_BORDER) win_type = GTK_WINDOW_POPUP;
+
+ m_widget = gtk_window_new( win_type );
if ((size.x != -1) && (size.y != -1))
gtk_widget_set_usize( m_widget, m_width, m_height );
if ((pos.x != -1) && (pos.y != -1))
gdk_window_set_icon( m_widget->window, (GdkWindow *) NULL, icon.GetPixmap(), bm );
}
-