/[gnue]/gnue-designer/src/base/docks/FloatingPane.py
ViewVC logotype

Diff of /gnue-designer/src/base/docks/FloatingPane.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by jcater, Tue Jun 17 04:55:08 2003 UTC revision 1.6 by btami, Tue Jul 29 09:39:08 2003 UTC
# Line 46  class FloatingPane (wxFrame, BasePane): Line 46  class FloatingPane (wxFrame, BasePane):
46    default_height = 200    default_height = 200
47    
48    def __init__(self, parent, instance, tool):    def __init__(self, parent, instance, tool):
49      if sys.platform[:3] == 'win':      style = wxMINIMIZE_BOX|wxRESIZE_BORDER|wxCAPTION|wxFRAME_NO_TASKBAR|wxFRAME_FLOAT_ON_PARENT
       style = wxFRAME_TOOL_WINDOW|wxMINIMIZE_BOX|wxRESIZE_BORDER| \  
               wxFRAME_FLOAT_ON_PARENT  
     else:  
       style = wxMINIMIZE_BOX|wxRESIZE_BORDER|wxCAPTION|wxFRAME_NO_TASKBAR|wxFRAME_FLOAT_ON_PARENT  
   
50    
51      wxFrame.__init__(self, instance, -1, tool.title, style=style)      wxFrame.__init__(self, instance, -1, tool.title, style=style)
52      BasePane.__init__(self, parent, instance, tool)      BasePane.__init__(self, parent, instance, tool)

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26