Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
wxAuiNotebook and GetPage returning the Base Class
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Daniel Laird  
View profile  
 More options Oct 3 2012, 7:45 am
From: Daniel Laird <daniel.j.la...@googlemail.com>
Date: Wed, 3 Oct 2012 04:45:18 -0700 (PDT)
Local: Wed, Oct 3 2012 7:45 am
Subject: wxAuiNotebook and GetPage returning the Base Class

All,

I am new to wxWidgets and have used wxAuiNotebook.
I have written my own panel class that extends wx.Panel

I can add this to the widget using AddPage.
However, when I call GetPage it returns something of type wx.Panel which
means I cant call any functions in my class.

Has anyone got any ideas on how to get around this?
I am using 2.8.11 of wxWidgets on Ubuntu 10.04

Cheers
Dan Laird


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Gadget/Steve  
View profile  
 More options Oct 3 2012, 11:15 am
From: Gadget/Steve <GadgetSt...@live.co.uk>
Date: Wed, 3 Oct 2012 16:15:15 +0100
Local: Wed, Oct 3 2012 11:15 am
Subject: Re: [wxPython-users] wxAuiNotebook and GetPage returning the Base Class
On 03/10/2012 12:45 PM, Daniel Laird wrote:

I think that the problem might be that if you have not implemented a
YourPane.GetPage you will inherit wx.Panel.GetPage which returns the
wx.Panel.  Try adding a GetPage to your class.

Gadget/Steve


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »