commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gnue/designer/src ToolFrame.py


From: Jason Cater
Subject: gnue/designer/src ToolFrame.py
Date: Sun, 09 Jun 2002 00:41:38 -0400

CVSROOT:        /home/cvs
Module name:    gnue
Changes by:     Jason Cater <address@hidden>    02/06/09 00:41:38

Modified files:
        designer/src   : ToolFrame.py 

Log message:
        [ticket #53] fixed issue with ToolBars not being closable with some 
window managers/themes [patch by ajmitch]

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/designer/src/ToolFrame.py.diff?cvsroot=OldCVS&tr1=1.9&tr2=1.10&r1=text&r2=text

Patches:
Index: gnue/designer/src/ToolFrame.py
diff -c gnue/designer/src/ToolFrame.py:1.9 gnue/designer/src/ToolFrame.py:1.10
*** gnue/designer/src/ToolFrame.py:1.9  Sat May  4 12:45:08 2002
--- gnue/designer/src/ToolFrame.py      Sun Jun  9 00:41:38 2002
***************
*** 45,53 ****
    def __init__(self, instance, title):
      if sys.platform[:3] == 'win':
        style = wxFRAME_TOOL_WINDOW|wxMINIMIZE_BOX|wxRESIZE_BORDER| \
!               wxCAPTION|wxFRAME_FLOAT_ON_PARENT
      else:
!       style = wxMINIMIZE_BOX|wxRESIZE_BORDER|wxCAPTION
  
      wxFrame.__init__(self, instance, -1, title, style=style)
  
--- 45,53 ----
    def __init__(self, instance, title):
      if sys.platform[:3] == 'win':
        style = wxFRAME_TOOL_WINDOW|wxMINIMIZE_BOX|wxRESIZE_BORDER| \
!               wxCAPTION|wxFRAME_FLOAT_ON_PARENT|wxSYSTEM_MENU
      else:
!       style = wxMINIMIZE_BOX|wxRESIZE_BORDER|wxCAPTION|wxSYSTEM_MENU
  
      wxFrame.__init__(self, instance, -1, title, style=style)
  



reply via email to

[Prev in Thread] Current Thread [Next in Thread]