SashLayoutWindow

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

SashLayoutWindow

Pierre-Alain Moret
Hi everybody,

I was using wxPython ten years ago and I tried to run again my software no longer used.
I am using phoenix version on Mac with python 2.7

I could solve myself the first problems but I got the following error message:

  File "/Volumes/Public/medwx/foldedinstancespanel.py", line 9, in <module>

    class ReportPanel(wx.SashLayoutWindow):

AttributeError: 'module' object has no attribute 'SashLayoutWindow'



I found in documentation that we have to use now wx.adv.SashLayoutWindow


but I still get :


  File "/Volumes/Public/medwx/foldedinstancespanel.py", line 9, in <module>

    class ReportPanel(wx.adv.SashLayoutWindow):

AttributeError: 'module' object has no attribute 'adv'


I found this link https://stackoverflow.com/questions/41442259/wxpython-does-not-have-adv


What have I to do with wxPython Phoenix and python 2.7


Thank in advance for any help.


Pierre-Alain Moret



--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: SashLayoutWindow

Andrea Gavana

On Fri, 29 Dec 2017 at 20.42, Pierre-Alain Moret <[hidden email]> wrote:
Hi everybody,

I was using wxPython ten years ago and I tried to run again my software no longer used.
I am using phoenix version on Mac with python 2.7

I could solve myself the first problems but I got the following error message:

  File "/Volumes/Public/medwx/foldedinstancespanel.py", line 9, in <module>

    class ReportPanel(wx.SashLayoutWindow):

AttributeError: 'module' object has no attribute 'SashLayoutWindow'



I found in documentation that we have to use now wx.adv.SashLayoutWindow


but I still get :


  File "/Volumes/Public/medwx/foldedinstancespanel.py", line 9, in <module>

    class ReportPanel(wx.adv.SashLayoutWindow):

AttributeError: 'module' object has no attribute 'adv'


I found this link https://stackoverflow.com/questions/41442259/wxpython-does-not-have-adv


What have I to do with wxPython Phoenix and python 2.7



import wx
Import wx.adv

?



Thank in advance for any help.


Pierre-Alain Moret



--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: SashLayoutWindow

Pierre-Alain Moret

Yes, you are right, with 

import wx.adv

it works. Thanks very much for your answer

Le vendredi 29 décembre 2017 20:58:40 UTC+1, Infinity77 a écrit :

On Fri, 29 Dec 2017 at 20.42, Pierre-Alain Moret <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="kZF-PZPoCgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">moret.pie...@...> wrote:
Hi everybody,

I was using wxPython ten years ago and I tried to run again my software no longer used.
I am using phoenix version on Mac with python 2.7

I could solve myself the first problems but I got the following error message:

  File "/Volumes/Public/medwx/foldedinstancespanel.py", line 9, in <module>

    class ReportPanel(wx.SashLayoutWindow):

AttributeError: 'module' object has no attribute 'SashLayoutWindow'



I found in documentation that we have to use now wx.adv.SashLayoutWindow


but I still get :


  File "/Volumes/Public/medwx/foldedinstancespanel.py", line 9, in <module>

    class ReportPanel(wx.adv.SashLayoutWindow):

AttributeError: 'module' object has no attribute 'adv'


I found this link <a href="https://stackoverflow.com/questions/41442259/wxpython-does-not-have-adv" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fstackoverflow.com%2Fquestions%2F41442259%2Fwxpython-does-not-have-adv\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNE1bz3EgxuFJ_HO1A7LKGPNW9Nk6w&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fstackoverflow.com%2Fquestions%2F41442259%2Fwxpython-does-not-have-adv\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNE1bz3EgxuFJ_HO1A7LKGPNW9Nk6w&#39;;return true;">https://stackoverflow.com/questions/41442259/wxpython-does-not-have-adv


What have I to do with wxPython Phoenix and python 2.7



import wx
Import wx.adv

?



Thank in advance for any help.


Pierre-Alain Moret



--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="kZF-PZPoCgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">wxpython-user...@googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.