--- modules/pmg_tk/skins/normal/__init__.py.orig	2012-02-18 12:31:32.000000000 -0500
+++ modules/pmg_tk/skins/normal/__init__.py	2012-02-18 12:32:53.000000000 -0500
@@ -250,7 +250,7 @@
         self.buttonArea.destroy()
 
     def my_show(self,win,center=1):
-        if sys.platform!='linux2':
+        if (sys.platform!='linux2') and (sys.platform!='darwin'):
             win.show()
         else: # autocenter, deiconify, and run mainloop
             # this is a workaround for a bug in the
@@ -269,13 +269,13 @@
 #         win.show()
             
     def my_withdraw(self,win):
-        if sys.platform!='linux2':
+        if (sys.platform!='linux2') or (sys.platform!='darwin'):
             win.withdraw()
         else: 
             win.destroy()
 
     def my_activate(self,win,center=1,focus=None):
-        if sys.platform!='linux2':
+        if (sys.platform!='linux2') and (sys.platform!='darwin'):
             win.activate()
         else: # autocenter, deiconify, and run mainloop
             # this is a workaround for a bug in the
@@ -296,7 +296,7 @@
             win.mainloop()
             
     def my_deactivate(self,win):
-        if sys.platform!='linux2':
+        if (sys.platform!='linux2') or (sys.platform!='darwin'):
             win.deactivate()
         else: # autocenter, deiconify, and run mainloop
             win.destroy()
--- modules/pmg_tk/PMGApp.py.orig	2012-02-18 12:35:29.000000000 -0500
+++ modules/pmg_tk/PMGApp.py	2012-02-18 12:36:46.000000000 -0500
@@ -219,7 +219,7 @@
 
 
     def my_show(self,win,center=1):
-        if sys.platform!='linux2':
+        if (sys.platform!='linux2') and (sys.platform!='darwin'):
             win.show()
         else: # autocenter, deiconify, and run mainloop
             # this is a workaround for a bug in the
@@ -237,7 +237,7 @@
             win.deiconify()
 
     def my_withdraw(self,win):
-        if sys.platform!='linux2':
+        if (sys.platform!='linux2') or (sys.platform!='darwin'):
             win.withdraw()
         else: 
             win.destroy()
