honor wxMAXIMIZE frame style, fixes #11631
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
61503542be
commit
68893d5803
@ -539,6 +539,8 @@ bool wxTopLevelWindowGTK::Create( wxWindow *parent,
|
||||
{
|
||||
gtk_window_set_keep_above(GTK_WINDOW(m_widget), TRUE);
|
||||
}
|
||||
if (style & wxMAXIMIZE)
|
||||
gtk_window_maximize(GTK_WINDOW(m_widget));
|
||||
|
||||
#if 0
|
||||
if (!name.empty())
|
||||
@ -1406,7 +1408,7 @@ bool wxTopLevelWindowGTK::SetTransparent(wxByte alpha)
|
||||
bool wxTopLevelWindowGTK::CanSetTransparent()
|
||||
{
|
||||
// allow to override automatic detection as it's far from perfect
|
||||
static const wxChar *SYSOPT_TRANSPARENT = wxT("gtk.tlw.can-set-transparent");
|
||||
const wxString SYSOPT_TRANSPARENT = "gtk.tlw.can-set-transparent";
|
||||
if ( wxSystemOptions::HasOption(SYSOPT_TRANSPARENT) )
|
||||
{
|
||||
return wxSystemOptions::GetOptionInt(SYSOPT_TRANSPARENT) != 0;
|
||||
|
Loading…
Reference in New Issue
Block a user