Hi Rich,

I've extensive experience with wxWidgets, but only in C++, which may not be
of help with wxPython.

>From the C++ perspective, the creation arguments to wxPanel include the
parent wxFrame, the window ID, the position as a wxPoint, and the size as a
wxSize. It may be as simple as passing frame, size, and position when you
create your wxPanel -- I know the defaults have varied over the years.

Have you tried:

panel = wxPanel(your_wx_frame, id, wxPoint(0,0), wxSize(640, 480)) or
something similar?

Happy to take this to an offline email thread if you like.

Cheers,
Jason



On Fri, Apr 18, 2014 at 3:33 PM, Rich Shepard <[email protected]>wrote:

>   It's been about 8 years since I wrote a wxPython app and much has changed
> since then. I need to develop a different application now and am looking
> for
> someone local to help me get back up to speed with all the differences.
>
>   One new thing I see is a super() function applied to a
> wx.Frame.__init__(), but I cannot find documentation on what it does and
> where/how it should be used.
>
>   An immediate problem is positioning a wx.Panel within a wx.Frame; it's
> scrunched up in the upper left corner and I haven't found how to get the
> panel centered in the frame.
>
>   Coffee, microbrew, lunch, or dinner is offered to someone who'll sit down
> with me and help me learn the differences from 2.5.x to the current
> 3.0.0.0.
>
> Thanks,
>
> Rich
> _______________________________________________
> Portland mailing list
> [email protected]
> https://mail.python.org/mailman/listinfo/portland
>



-- 
Jason Champion
Software Architect
Zeta Centauri
http://zetacentauri.com
[email protected]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://mail.python.org/pipermail/portland/attachments/20140418/2e2f32b8/attachment.html>
_______________________________________________
Portland mailing list
[email protected]
https://mail.python.org/mailman/listinfo/portland

Reply via email to