/[papo]/gnue/forms/src/uidrivers/wx/UIdriver.py
ViewVC logotype

Diff of /gnue/forms/src/uidrivers/wx/UIdriver.py

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

revision 1.16 by apronotti, Tue Oct 1 18:32:41 2002 UTC revision 1.17 by styxman, Wed Oct 9 15:00:32 2002 UTC
# Line 75  def getWxApp(): Line 75  def getWxApp():
75    return __wxApp    return __wxApp
76    
77  class GFwxApp(wxApp):  class GFwxApp(wxApp):
78      _mainLoop= None
79      
80    def OnInit(self):    def OnInit(self):
81      GDebug.printMesg(7,"WxApp initializing")      GDebug.printMesg(7,"WxApp initializing")
82      wxInitAllImageHandlers()      wxInitAllImageHandlers()
83      return true      return true
84        
85      def MainLoop (self):
86        # just to launch one wx's mainloop
87        # otherwise, the app does not finishes cleanly when several windows are open
88        # 'cause the first mainloop gets all the events
89        # and the others just sit and wait for something to happen
90        if self._mainLoop==None:
91          self._mainLoop= 1
92          wxApp.MainLoop (self)
93    
94  #  #
95  # Little global helper routine to set font according to options  # Little global helper routine to set font according to options

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17

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