X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ab2b3dd4a28041694104aa782fb0b4f91d410136..96d5ab4d29e72d9d272dd6ada7d07318e9d2607e:/src/gtk/dialog.cpp diff --git a/src/gtk/dialog.cpp b/src/gtk/dialog.cpp index 5aa6f2fb4d..2bb5127425 100644 --- a/src/gtk/dialog.cpp +++ b/src/gtk/dialog.cpp @@ -145,16 +145,18 @@ bool wxDialog::Create( wxWindow *parent, gtk_widget_realize( m_widget ); - /* comments see wxFrame */ - + /* all this is for Motif Window Manager "hints" and is supposed to be + recognized by other WM as well. not tested. */ long decor = (long) GDK_DECOR_ALL; long func = (long) GDK_FUNC_ALL; if ((m_windowStyle & wxCAPTION) == 0) decor |= GDK_DECOR_TITLE; +/* if ((m_windowStyle & wxMINIMIZE) == 0) func |= GDK_FUNC_MINIMIZE; if ((m_windowStyle & wxMAXIMIZE) == 0) func |= GDK_FUNC_MAXIMIZE; +*/ if ((m_windowStyle & wxSYSTEM_MENU) == 0) decor |= GDK_DECOR_MENU; if ((m_windowStyle & wxMINIMIZE_BOX) == 0)