[wx-dev] wxFontNotebookPage
Vadim Zeitlin
vadim at wxwindows.org
Mon Mar 5 01:10:39 PST 2007
On Mon, 5 Mar 2007 02:41:33 -0500 (EST) Igor Korot <ikorot at earthlink.net> wrote:
IK> Since there is a wxFontDialogGeneric class, in order to
IK> avoid code duplication I was thinking about adding the
IK> boolean variable to the constructor of this dialog, indicating
IK> what we will create.
How exactly is this going to work? You can't create either a dialog or a
panel. To do what you want you need to extract all wxFontDialogGeneric code
into some wxFontPanel class and use it both from the dialog and your code.
This being said, I consider the idea of using a standard dialog inside a
notebook page quite strange to begin with.
Regards,
VZ
More information about the wx-dev
mailing list