Status dialog shows empty frame when run in droplet mode
Bug #385058 reported by
Stani
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Phatch |
Fix Released
|
Medium
|
Stani |
Bug Description
It shouldn't
Changed in phatch: | |
assignee: | nobody → stani (stani) |
importance: | Undecided → Medium |
status: | New → Confirmed |
summary: |
- status dialog shows empty frame when run in droplet mode + Status dialog shows empty frame when run in droplet mode |
Changed in phatch: | |
milestone: | none → 0.2.1 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
$ bzr diff pyWx/gui. py'
result[ 'cancel' ] = dlg.ShowModal() == wx.ID_CANCEL
=== modified file 'phatch/
--- phatch/pyWx/gui.py 2009-06-09 04:36:42 +0000
+++ phatch/pyWx/gui.py 2009-06-09 15:44:50 +0000
@@ -124,7 +124,11 @@
def show_message( self,message, title=' ',style= wx.OK | wx.ICON_ EXCLAMATION) : g(self, g(parent,
message,
'%(name) s '%ct.INFO +title,
style,
- dlg = wx.MessageDialo
+ if self.IsShown():
+ parent = self
+ else:
+ parent = None
+ dlg = wx.MessageDialo
$ bzr commit -m "fix empty frame for droplet" sync/python/ phatch/ trunk/
Committing to: /home/stani/
modified phatch/pyWx/gui.py
Committed revision 712.